DEVFS - change /dev/pci0 to just /dev/pci (fixes X)
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Aug 2009 17:08:10 +0000 (10:08 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Aug 2009 17:08:10 +0000 (10:08 -0700)
sys/bus/pci/pci.c

index c462a35..e8e8fab 100644 (file)
@@ -4027,7 +4027,7 @@ pci_modevent(module_t mod, int what, void *arg)
                STAILQ_INIT(&pci_devq);
                pci_generation = 0;
                pci_cdev = make_dev(&pcic_ops, 0, UID_ROOT, GID_WHEEL, 0644,
-                                   "pci%d", 0);
+                                   "pci");
                pci_load_vendor_data();
                break;