diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-07 14:42:46 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-11 04:15:02 -0400 |
commit | c04a9cb813f124abcfad50f93b101ceaee8f3b9f (patch) | |
tree | f9f4ee6514166bc8b36da7605a02bb7da3906f23 /include/linux/ioport.h | |
parent | 72dcb1197228b50bfb709ba97c2d53013c605868 (diff) |
resources: Document IORESOURCE_IO
Help clarify that this is specifically for PCI/ISA I/O ports and not for
any other similar thing.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Tested-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/ioport.h')
-rw-r--r-- | include/linux/ioport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index bfee885791c2..85ac9b9b72a2 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h | |||
@@ -29,7 +29,7 @@ struct resource { | |||
29 | #define IORESOURCE_BITS 0x000000ff /* Bus-specific bits */ | 29 | #define IORESOURCE_BITS 0x000000ff /* Bus-specific bits */ |
30 | 30 | ||
31 | #define IORESOURCE_TYPE_BITS 0x00001f00 /* Resource type */ | 31 | #define IORESOURCE_TYPE_BITS 0x00001f00 /* Resource type */ |
32 | #define IORESOURCE_IO 0x00000100 | 32 | #define IORESOURCE_IO 0x00000100 /* PCI/ISA I/O ports */ |
33 | #define IORESOURCE_MEM 0x00000200 | 33 | #define IORESOURCE_MEM 0x00000200 |
34 | #define IORESOURCE_REG 0x00000300 /* Register offsets */ | 34 | #define IORESOURCE_REG 0x00000300 /* Register offsets */ |
35 | #define IORESOURCE_IRQ 0x00000400 | 35 | #define IORESOURCE_IRQ 0x00000400 |