Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104921
b: refs/heads/master
c: 152151d
h: refs/heads/master
i:
  104919: 2fd412c
v: v3
  • Loading branch information
Dave Jones authored and Jeff Garzik committed Jul 22, 2008
1 parent 1db2810 commit ce141d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb5813481a97582c80c8d402ecb371149c77b4e0
refs/heads/master: 152151daece9d5dfd86e652b95846072c0d2b566
8 changes: 8 additions & 0 deletions trunk/drivers/net/8139too.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,14 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
"Use the \"8139cp\" driver for improved performance and stability.\n");
}

if (pdev->vendor == PCI_VENDOR_ID_REALTEK &&
pdev->device == PCI_DEVICE_ID_REALTEK_8139 &&
pdev->subsystem_vendor == PCI_VENDOR_ID_ATHEROS &&
pdev->subsystem_device == PCI_DEVICE_ID_REALTEK_8139) {
printk(KERN_INFO "8139too: OQO Model 2 detected. Forcing PIO\n");
use_io = 1;
}

i = rtl8139_init_board (pdev, &dev);
if (i < 0)
return i;
Expand Down

0 comments on commit ce141d8

Please sign in to comment.