Since I don't have a -stable test box, I'd appreciate it if someone could
try this patch. (I've been running it on a number of older stable systems
for a few months.)
This should prevent the "garbage" output from 'pciconf -l' that some folks
may see if you've got PCI cards with no driver assigned. (Peter Wemm
brought this fix into -current with the new-bus import in rev 1.95 of
pci.c.)
To try the patch, just apply it to pci.c, recompile, reinstall, reboot, and
then run 'pciconf -l' and make sure it looks okay.
Thanks,
Ken
--
Kenneth Merry
[EMAIL PROTECTED]
==== //depot/FreeBSD-ken-stable/src/sys/pci/pci.c#1 -
/a/ken/perforce/FreeBSD-ken-stable/src/sys/pci/pci.c ====
*** /tmp/tmp.1405.0 Mon Dec 6 00:03:50 1999
--- /a/ken/perforce/FreeBSD-ken-stable/src/sys/pci/pci.c Mon Dec 6 00:03:06
1999
***************
*** 339,347 ****
if (devlist_entry == NULL)
return (NULL);
! cfg = &devlist_entry->cfg;
! bzero(cfg, sizeof *cfg);
cfg->bus = probe->bus;
cfg->slot = probe->slot;
--- 339,347 ----
if (devlist_entry == NULL)
return (NULL);
! bzero(devlist_entry, sizeof(*devlist_entry));
! cfg = &devlist_entry->cfg;
cfg->bus = probe->bus;
cfg->slot = probe->slot;
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message