+/* pci.c
+ * General-purpose PCI probe routines
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree.
+ *
+ */
+
#include <pci.h>
#include <output.h>
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);
}