summaryrefslogtreecommitdiffstats
path: root/include/linux/ioport.h
diff options
context:
space:
mode:
authorBjorn Helgaas2010-03-05 18:47:42 +0100
committerLen Brown2010-03-15 01:08:35 +0100
commit0f4050c7d3ba0275e5f39513c0670a717d43048c (patch)
treea3e01440a7b5e62d8ca1e6cd8ee80e2eb0b0cfbf /include/linux/ioport.h
parentresource: expand IORESOURCE_TYPE_BITS to make room for bus resource type (diff)
downloadkernel-qcow2-linux-0f4050c7d3ba0275e5f39513c0670a717d43048c.tar.gz
kernel-qcow2-linux-0f4050c7d3ba0275e5f39513c0670a717d43048c.tar.xz
kernel-qcow2-linux-0f4050c7d3ba0275e5f39513c0670a717d43048c.zip
resource: add bus number support
Add support for bus number resources. This is for bridges with a range of bus numbers behind them. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/ioport.h')
-rw-r--r--include/linux/ioport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h
index b126209a40e2..510e4ac918dd 100644
--- a/include/linux/ioport.h
+++ b/include/linux/ioport.h
@@ -39,6 +39,7 @@ struct resource_list {
#define IORESOURCE_MEM 0x00000200
#define IORESOURCE_IRQ 0x00000400
#define IORESOURCE_DMA 0x00000800
+#define IORESOURCE_BUS 0x00001000
#define IORESOURCE_PREFETCH 0x00002000 /* No side effects */
#define IORESOURCE_READONLY 0x00004000