From: Moiz Sonasath <m-sonasath@xxxxxx> There seems to be a bug in the ioctl implementation in /kernel/net/core/dev.c dev_ifsioc_locked() case SIOCGIFMAP: ifr->ifr_map.irq = dev->irq; // ?? type mismatch Here ifr->ifr_map.irq) is of type unsigned char dev-irq is of type unsigned int So ifconfig reports a wrong irq number when the dev->irq number is > 255. I am confused to see the same typedefs in file: net/if.h Not sure how to make changes for the user side net/if.h file? Signed-off-by: Moiz Sonasath <m-sonasath@xxxxxx> Signed-off-by: Vikram Pandita <vikram.pandita@xxxxxx> --- include/linux/if.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/if.h b/include/linux/if.h index 2d89c96..1ac6559 100644 --- a/include/linux/if.h +++ b/include/linux/if.h @@ -126,7 +126,7 @@ struct ifmap unsigned long mem_start; unsigned long mem_end; unsigned short base_addr; - unsigned char irq; + unsigned int irq; unsigned char dma; unsigned char port; /* 3 bytes spare */ -- 1.5.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html