summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorsgalabov <sgalabov@FreeBSD.org>2016-04-12 07:18:48 +0000
committersgalabov <sgalabov@FreeBSD.org>2016-04-12 07:18:48 +0000
commit698f42016c248724a152a7b7c134a2b18b140d49 (patch)
treeabc1f490f7d81a802b19c61ab2545f7e1c6939df /sys/mips
parent43050e97c28ae0431ded06bb13f0b210583dccbd (diff)
downloadFreeBSD-src-698f42016c248724a152a7b7c134a2b18b140d49.zip
FreeBSD-src-698f42016c248724a152a7b7c134a2b18b140d49.tar.gz
Define PCI_RES_BUS for MIPS.
This is done as part of the work on D5908, but as a separate commit. Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/include/resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/include/resource.h b/sys/mips/include/resource.h
index c5b4283..ec279cd 100644
--- a/sys/mips/include/resource.h
+++ b/sys/mips/include/resource.h
@@ -42,5 +42,8 @@
#define SYS_RES_DRQ 2 /* isa dma lines */
#define SYS_RES_MEMORY 3 /* i/o memory */
#define SYS_RES_IOPORT 4 /* i/o ports */
+#ifdef NEW_PCIB
+#define PCI_RES_BUS 5
+#endif
#endif /* !_MACHINE_RESOURCE_H_ */
OpenPOWER on IntegriCloud