diff options
Diffstat (limited to 'drivers/parisc/eisa_enumerator.c')
-rw-r--r-- | drivers/parisc/eisa_enumerator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/eisa_enumerator.c b/drivers/parisc/eisa_enumerator.c index 6d8aae003f6c..c709ecc2b7f7 100644 --- a/drivers/parisc/eisa_enumerator.c +++ b/drivers/parisc/eisa_enumerator.c | |||
@@ -98,7 +98,7 @@ static int configure_memory(const unsigned char *buf, | |||
98 | res->start = mem_parent->start + get_24(buf+len+2); | 98 | res->start = mem_parent->start + get_24(buf+len+2); |
99 | res->end = res->start + get_16(buf+len+5)*1024; | 99 | res->end = res->start + get_16(buf+len+5)*1024; |
100 | res->flags = IORESOURCE_MEM; | 100 | res->flags = IORESOURCE_MEM; |
101 | printk("memory %lx-%lx ", res->start, res->end); | 101 | printk("memory %lx-%lx ", (unsigned long)res->start, (unsigned long)res->end); |
102 | result = request_resource(mem_parent, res); | 102 | result = request_resource(mem_parent, res); |
103 | if (result < 0) { | 103 | if (result < 0) { |
104 | printk("\n" KERN_ERR "EISA Enumerator: failed to claim EISA Bus address space!\n"); | 104 | printk("\n" KERN_ERR "EISA Enumerator: failed to claim EISA Bus address space!\n"); |
@@ -188,7 +188,7 @@ static int configure_port(const unsigned char *buf, struct resource *io_parent, | |||
188 | res->start = get_16(buf+len+1); | 188 | res->start = get_16(buf+len+1); |
189 | res->end = get_16(buf+len+1)+(c&HPEE_PORT_SIZE_MASK)+1; | 189 | res->end = get_16(buf+len+1)+(c&HPEE_PORT_SIZE_MASK)+1; |
190 | res->flags = IORESOURCE_IO; | 190 | res->flags = IORESOURCE_IO; |
191 | printk("ioports %lx-%lx ", res->start, res->end); | 191 | printk("ioports %lx-%lx ", (unsigned long)res->start, (unsigned long)res->end); |
192 | result = request_resource(io_parent, res); | 192 | result = request_resource(io_parent, res); |
193 | if (result < 0) { | 193 | if (result < 0) { |
194 | printk("\n" KERN_ERR "EISA Enumerator: failed to claim EISA Bus address space!\n"); | 194 | printk("\n" KERN_ERR "EISA Enumerator: failed to claim EISA Bus address space!\n"); |