]> mj.ucw.cz Git - pciutils.git/commitdiff
Corrected order of access methods (thanks to Andreas Schockenhoff).
authorMartin Mares <mj@ucw.cz>
Thu, 13 Jan 2000 22:44:24 +0000 (22:44 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:10:35 +0000 (14:10 +0200)
lib/access.c

index 4c47a0e10d6ece4dee9c15c2453236a38352bdac..697f938046914024281f27525a3463859cc827ec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     $Id: access.c,v 1.5 1999/07/20 14:01:28 mj Exp $
+ *     $Id: access.c,v 1.6 2000/01/13 22:44:24 mj Exp $
  *
  *     The PCI Library -- User Access
  *
@@ -27,11 +27,6 @@ static struct pci_methods *pci_methods[PCI_ACCESS_MAX] = {
 #else
   NULL,
 #endif
-#ifdef HAVE_PM_FBSD_DEVICE
-  &pm_fbsd_device,
-#else
-  NULL,
-#endif
 #ifdef HAVE_PM_INTEL_CONF
   &pm_intel_conf1,
   &pm_intel_conf2,
@@ -39,6 +34,11 @@ static struct pci_methods *pci_methods[PCI_ACCESS_MAX] = {
   NULL,
   NULL,
 #endif
+#ifdef HAVE_PM_FBSD_DEVICE
+  &pm_fbsd_device,
+#else
+  NULL,
+#endif
 #ifdef HAVE_PM_DUMP
   &pm_dump,
 #else