]> Joshua Wise's Git repositories - netwatch.git/blobdiff - pci/pci.c
Fix smm_type detection to actually detect, and add a state_num_regs routine.
[netwatch.git] / pci / pci.c
index fbea894365e2de1a30f3a5bf1b0164a0c2240b0e..997ebdad7472123cf7944c324a9f4abd3209b49f 100644 (file)
--- a/pci/pci.c
+++ b/pci/pci.c
@@ -1,3 +1,13 @@
+/* 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>
 
@@ -115,7 +125,7 @@ static int _probefn(pci_dev_t *dev, void *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.025834 seconds and 4 git commands to generate.