aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/8139too.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c
index f172b5d822d7..f62ac64e98fe 100644
--- a/drivers/net/8139too.c
+++ b/drivers/net/8139too.c
@@ -949,6 +949,14 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
949 "Use the \"8139cp\" driver for improved performance and stability.\n"); 949 "Use the \"8139cp\" driver for improved performance and stability.\n");
950 } 950 }
951 951
952 if (pdev->vendor == PCI_VENDOR_ID_REALTEK &&
953 pdev->device == PCI_DEVICE_ID_REALTEK_8139 &&
954 pdev->subsystem_vendor == PCI_VENDOR_ID_ATHEROS &&
955 pdev->subsystem_device == PCI_DEVICE_ID_REALTEK_8139) {
956 printk(KERN_INFO "8139too: OQO Model 2 detected. Forcing PIO\n");
957 use_io = 1;
958 }
959
952 i = rtl8139_init_board (pdev, &dev); 960 i = rtl8139_init_board (pdev, &dev);
953 if (i < 0) 961 if (i < 0)
954 return i; 962 return i;