> #define IORESOURCE_TYPE_BITS 0x00001f00 /* Resource type */> #define IORESOURCE_IO 0x00000100> #define IORESOURCE_MEM 0x00000200> +#define IORESOURCE_FOO 0x00000300These are bit masks and checked as such in many places. This makes nosense at all.Moving to IO_RESOURCE_TYPE() being 0-31 values might be smart but its amassive all kernel change.Alan