diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /include/linux/proc_fs.h | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r-- | include/linux/proc_fs.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 2d2a7453e..5fd4821e2 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -36,9 +36,6 @@ enum root_directory_inos { PROC_KSYMS, PROC_DMA, PROC_IOPORTS, -#ifdef __SMP_PROF__ - PROC_SMP_PROF, -#endif PROC_PROFILE, /* whether enabled or not */ PROC_CMDLINE, PROC_SYS, @@ -51,8 +48,8 @@ enum root_directory_inos { PROC_HARDWARE, PROC_SLABINFO, PROC_PARPORT, - PROC_OMIRR, /* whether enabled or not */ - PROC_PPC_HTAB + PROC_PPC_HTAB, + PROC_SOUND }; enum pid_directory_inos { @@ -71,6 +68,7 @@ enum pid_directory_inos { #if CONFIG_AP1000 PROC_PID_RINGBUF, #endif + PROC_PID_CPU, }; enum pid_subdirectory_inos { @@ -199,6 +197,12 @@ enum mca_directory_inos { PROC_MCA_LAST = (PROC_MCA_SLOT + 8) }; +enum bus_directory_inos { + PROC_BUS_PCI = PROC_MCA_LAST, + PROC_BUS_PCI_DEVICES, + PROC_BUS_LAST +}; + /* Finally, the dynamically allocatable proc entries are reserved: */ #define PROC_DYNAMIC_FIRST 4096 @@ -244,6 +248,7 @@ struct proc_dir_entry { int count, int *eof, void *data); int (*write_proc)(struct file *file, const char *buffer, unsigned long count, void *data); + int (*readlink_proc)(struct proc_dir_entry *de, char *page); unsigned int count; /* use count */ int deleted; /* delete flag */ }; @@ -264,12 +269,13 @@ extern struct proc_dir_entry proc_openprom; extern struct proc_dir_entry proc_pid; extern struct proc_dir_entry proc_pid_fd; extern struct proc_dir_entry proc_mca; +extern struct proc_dir_entry *proc_bus; extern struct inode_operations proc_scsi_inode_operations; extern void proc_root_init(void); extern void proc_base_init(void); -extern void proc_net_init(void); +extern void proc_bus_pci_init(void); extern int proc_register(struct proc_dir_entry *, struct proc_dir_entry *); extern int proc_unregister(struct proc_dir_entry *, int); |