]> Joshua Wise's Git repositories - netwatch.git/blobdiff - pci/pci.c
Don't necessarily wait for data.
[netwatch.git] / pci / pci.c
index c7385decee845afaa671464b0b4489a8b3e4af07..5fd03b414dbf4ea2e69fc560718c6df597552a4a 100644 (file)
--- a/pci/pci.c
+++ b/pci/pci.c
@@ -109,13 +109,13 @@ static int _probefn(pci_dev_t *dev, void *d)
        for (i = 0; i < driver->id_count; i++)
                if ((dev->vid == driver->ids[i].vid) && (dev->did == driver->ids[i].did))
                {
        for (i = 0; i < driver->id_count; i++)
                if ((dev->vid == driver->ids[i].vid) && (dev->did == driver->ids[i].did))
                {
-                       outputf("Probing PCI device: %s (%s)", driver->ids[i].name ? driver->ids[i].name : driver->name, driver->ids[i].friendlyname ? driver->ids[i].friendlyname : "no friendly name");
+                       outputf("Probing PCI device: %s", driver->ids[i].name ? driver->ids[i].name : driver->name);
                        return driver->probe(dev, d);
                }
        return 0;
 }
 
                        return driver->probe(dev, d);
                }
        return 0;
 }
 
-int pci_probe_driver(pci_driver_t driver)
+int pci_probe_driver(pci_driver_t *driver)
 {
 {
-       return pci_probe(_probefn, &driver);
+       return pci_probe(_probefn, driver);
 }
 }
This page took 0.026651 seconds and 4 git commands to generate.