Re: new /proc/pci stuff

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Wed, 28 Jan 1998 10:57:55 +0100


Hi,

> IMHO /proc/pci should have been removed if CONFIG_PCI_OLD_PROC is
> disabled. I don't know if it is a bug or feature ?!

Bug... Use this patch.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"IBM = International Band of Magicians"

--- root.c.mj Wed Jan 28 10:51:13 1998 +++ root.c Wed Jan 28 10:51:55 1998 @@ -503,7 +503,7 @@ S_IFREG | S_IRUGO, 1, 0, 0, 0, &proc_array_inode_operations }; -#ifdef CONFIG_PCI +#ifdef CONFIG_PCI_OLD_PROC static struct proc_dir_entry proc_root_pci = { PROC_PCI, 3, "pci", S_IFREG | S_IRUGO, 1, 0, 0, @@ -658,7 +658,7 @@ proc_register(&proc_root, &proc_root_meminfo); proc_register(&proc_root, &proc_root_kmsg); proc_register(&proc_root, &proc_root_version); -#ifdef CONFIG_PCI +#ifdef CONFIG_PCI_OLD_PROC proc_register(&proc_root, &proc_root_pci); #endif #ifdef CONFIG_ZORRO