diff options
Diffstat (limited to 'drivers/net/aironet4500_card.c')
-rw-r--r-- | drivers/net/aironet4500_card.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/aironet4500_card.c b/drivers/net/aironet4500_card.c index 04108ad73..5bbef8a55 100644 --- a/drivers/net/aironet4500_card.c +++ b/drivers/net/aironet4500_card.c @@ -121,7 +121,8 @@ int awc4500_pci_probe(struct net_device *dev) // printk(KERN_ERR "aironet4X00 mem addrs not available for maping \n"); // continue; // } - request_region(pci_ioaddr, AIRONET4X00_IO_SIZE, "aironet4x00 ioaddr"); + if (!request_region(pci_ioaddr, AIRONET4X00_IO_SIZE, "aironet4x00 ioaddr")) + continue; // request_region(pci_cisaddr, AIRONET4X00_CIS_SIZE, "aironet4x00 cis"); // request_region(pci_memaddr, AIRONET4X00_MEM_SIZE, "aironet4x00 mem"); @@ -998,4 +999,4 @@ void cleanup_module(void) #endif } -#endif
\ No newline at end of file +#endif |