lkml.org 
[lkml]   [2000]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectPATCH 2.2.18.9: Backport /proc/pci from 2.4.x to 2.2.x
The 2.4.x kernel series obtains its /proc/pci device name data from a
data file pci.ids. The file makes PCI device name generic enough that
it may be used by multiple utilities -- the kernel, Martin Mares'
pciutils, distro installers, etc. The attached patch, against kernel
2.2.18-pre9, backports the 2.4.x /proc/pci facilities and device name
database.

http://gtf.org/garzik/kernel/files/patches/2.2/2.2.18-pre9/pci-proc-backport-2.2.18.9.patch.gz

Note1: This makes your kernel image larger. Yep. The -on disk- image.
The PCI device name data is dropped from the kernel image at runtime, so
there is no penalty.

Note2: This changes the /proc/pci output slightly (to match 2.4.x
output) -- and I think it's worth it. The new output includes a PCI
region length.

Note3: /proc/bus/pci code is completely untouched. I think it needs to
be updated to report region length, too.

Enjoy!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.022 / U:12.468 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site