Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134071
b: refs/heads/master
c: 63649b6
h: refs/heads/master
i:
  134069: b6ea9b7
  134067: 3d600b4
  134063: ed4b463
v: v3
  • Loading branch information
Bob Copeland authored and John W. Linville committed Jan 29, 2009
1 parent b3d3b00 commit 06e5b0b
Show file tree
Hide file tree
Showing 3 changed files with 10 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: 2b8d4e2eea711b6dfe1878ff3c94ebe757656f6d
refs/heads/master: 63649b6cf0a964582af2b4d4734e28ca90ec8f5c
7 changes: 7 additions & 0 deletions trunk/drivers/net/wireless/ath5k/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2596,6 +2596,13 @@ ath5k_init_leds(struct ath5k_softc *sc)
sc->led_pin = 1;
sc->led_on = 1; /* active high */
}
/* Pin 3 on Foxconn chips used in Acer Aspire One (0x105b:e008) */
if (pdev->subsystem_vendor == PCI_VENDOR_ID_FOXCONN) {
__set_bit(ATH_STAT_LEDSOFT, sc->status);
sc->led_pin = 3;
sc->led_on = 0; /* active low */
}

if (!test_bit(ATH_STAT_LEDSOFT, sc->status))
goto out;

Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/pci_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,8 @@
#define PCI_DEVICE_ID_PROMISE_20276 0x5275
#define PCI_DEVICE_ID_PROMISE_20277 0x7275

#define PCI_VENDOR_ID_FOXCONN 0x105b

#define PCI_VENDOR_ID_UMC 0x1060
#define PCI_DEVICE_ID_UMC_UM8673F 0x0101
#define PCI_DEVICE_ID_UMC_UM8886BF 0x673a
Expand Down

0 comments on commit 06e5b0b

Please sign in to comment.