cvs commit: src/sys/dev/pci pci_user.c
John Baldwin
jhb at FreeBSD.org
Tue Jan 15 13:40:49 PST 2008
jhb 2008-01-15 21:40:47 UTC
FreeBSD src repository
Modified files:
sys/dev/pci pci_user.c
Log:
Don't cache the new-bus name of a PCI device in the PCI conf structure,
but reread it from the device_t every time the device list is fetched.
Previously the device name in pciconf -l would not be updated when a driver
was unloaded or if a device was detached and attached to a different
driver.
MFC after: 1 week
PR: kern/104777
Submitted by: "Iasen Kostoff" tbyte | otel net
Revision Changes Path
1.26 +4 -1 src/sys/dev/pci/pci_user.c
More information about the cvs-src
mailing list