aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2009-09-17 12:41:27 +0000
committerAndriy Gapon <avg@FreeBSD.org>2009-09-17 12:41:27 +0000
commit04793894d4f0f2e657f7b0c61b850220c5c06281 (patch)
tree38561f5ab443cc583b38b1fbe74de03f47b3f227 /sys/dev/pci
parent1fe6ff92670db106ea5ead32ca781df8168d73e1 (diff)
Notes
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcireg.h10
-rw-r--r--sys/dev/pci/pcivar.h7
2 files changed, 5 insertions, 12 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index c35214770856..c7a7245bf1d3 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -39,11 +39,11 @@
*/
/* some PCI bus constants */
-
-#define PCI_BUSMAX 255
-#define PCI_SLOTMAX 31
-#define PCI_FUNCMAX 7
-#define PCI_REGMAX 255
+#define PCI_DOMAINMAX 65535 /* highest supported domain number */
+#define PCI_BUSMAX 255 /* highest supported bus number */
+#define PCI_SLOTMAX 31 /* highest supported slot number */
+#define PCI_FUNCMAX 7 /* highest supported function number */
+#define PCI_REGMAX 255 /* highest supported config register addr. */
#define PCI_MAXHDRTYPE 2
/* PCI config header registers for all devices */
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 36ae2134d3b3..d7de96e65625 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -33,13 +33,6 @@
#include <sys/queue.h>
/* some PCI bus constants */
-
-#define PCI_DOMAINMAX 65535 /* highest supported domain number */
-#define PCI_BUSMAX 255 /* highest supported bus number */
-#define PCI_SLOTMAX 31 /* highest supported slot number */
-#define PCI_FUNCMAX 7 /* highest supported function number */
-#define PCI_REGMAX 255 /* highest supported config register addr. */
-
#define PCI_MAXMAPS_0 6 /* max. no. of memory/port maps */
#define PCI_MAXMAPS_1 2 /* max. no. of maps for PCI to PCI bridge */
#define PCI_MAXMAPS_2 1 /* max. no. of maps for CardBus bridge */