patch-2.4.21 linux-2.4.21/drivers/net/wireless/airo.c
Next file: linux-2.4.21/drivers/net/wireless/airport.c
Previous file: linux-2.4.21/drivers/net/wavelan.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-06-13 07:51:35.000000000 -0700
- Orig file:
linux-2.4.20/drivers/net/wireless/airo.c
- Orig date:
2002-11-28 15:53:14.000000000 -0800
diff -urN linux-2.4.20/drivers/net/wireless/airo.c linux-2.4.21/drivers/net/wireless/airo.c
@@ -4008,6 +4008,10 @@
{
struct net_device *dev;
+ if (pci_enable_device(pdev))
+ return -ENODEV;
+ pci_set_master(pdev);
+
dev = init_airo_card(pdev->irq, pdev->resource[2].start, 0);
if (!dev)
return -ENODEV;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)