diff options
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r-- | drivers/net/qla3xxx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 9589ca75a139..acf8dc55e2a0 100644 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -3977,9 +3977,7 @@ static int __devinit ql3xxx_probe(struct pci_dev *pdev, | |||
3977 | if (qdev->device_id == QL3032_DEVICE_ID) | 3977 | if (qdev->device_id == QL3032_DEVICE_ID) |
3978 | ndev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; | 3978 | ndev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; |
3979 | 3979 | ||
3980 | qdev->mem_map_registers = | 3980 | qdev->mem_map_registers = pci_ioremap_bar(pdev, 1); |
3981 | ioremap_nocache(pci_resource_start(pdev, 1), | ||
3982 | pci_resource_len(qdev->pdev, 1)); | ||
3983 | if (!qdev->mem_map_registers) { | 3981 | if (!qdev->mem_map_registers) { |
3984 | printk(KERN_ERR PFX "%s: cannot map device registers\n", | 3982 | printk(KERN_ERR PFX "%s: cannot map device registers\n", |
3985 | pci_name(pdev)); | 3983 | pci_name(pdev)); |