DragonFly kernel List (threaded) for 2009-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: human-readable dmesg
: I wonder why pcidevs database is not used to make a nice dmesg? It
: doesn't need many changes to kernel. A diff and a loadable module
: attached.
: Result is like this:
: -pci0: <unknown card> (vendor=0x1002, dev=0x4372) at 20.0
: +pci0: <ATI Technologies SB400 SMBus Controller> at 20.0
: -isab0: <PCI to ISA bridge (vendor=1002 device=4377)> at device 20.3 on pci0
: +isab0: <ATI Technologies SB400 PCI-ISA Bridge> at device 20.3 on pci0
That looks pretty good but I wonder if the module could simply be
modified to use the pcidevs_data.h that already exists in
/usr/src/sys/bus/pci, instead of duplicating that whole thing in
the module sub-dir. I don't want us to have to update the device
list in two places.
-Matt
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]