aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2007-05-16 23:42:04 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2007-05-16 23:42:04 +0000
commit81c8102c4c3d8f402182f023b65d1d075679a325 (patch)
treede26813348576afe9e4c207e0d9ca8de27131efd /sys/dev
parentd193b870a510346c6f4d4dc6bb899b6e88742ee3 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 6f40d4a2db36..245886351b1a 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -2945,9 +2945,7 @@ pci_probe_nomatch(device_t dev, device_t child)
}
printf(" at device %d.%d (no driver attached)\n",
pci_get_slot(child), pci_get_function(child));
- if (pci_do_power_nodriver)
- pci_cfg_save(child,
- (struct pci_devinfo *) device_get_ivars(child), 1);
+ pci_cfg_save(child, (struct pci_devinfo *)device_get_ivars(child), 1);
return;
}