resources: Document IORESOURCE_IO
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Aug 2012 18:42:46 +0000 (19:42 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 11 Sep 2012 08:15:02 +0000 (10:15 +0200)
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>
include/linux/ioport.h

index bfee885..85ac9b9 100644 (file)
@@ -29,7 +29,7 @@ struct resource {
 #define IORESOURCE_BITS                0x000000ff      /* Bus-specific bits */
 
 #define IORESOURCE_TYPE_BITS   0x00001f00      /* Resource type */
-#define IORESOURCE_IO          0x00000100
+#define IORESOURCE_IO          0x00000100      /* PCI/ISA I/O ports */
 #define IORESOURCE_MEM         0x00000200
 #define IORESOURCE_REG         0x00000300      /* Register offsets */
 #define IORESOURCE_IRQ         0x00000400