RFC ath9k: AR9220 mini PCI card with inverted LED polarity
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ath9k: Add a module parameter to invert LED polarity.drivers/ | +7 | 0 replies | |
| 2/2 | ath9k: Fix LED polarity for some Mini PCI AR9220 MB92 cards.drivers/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [ath9k-devel] [PATCH RFC 0/2] ath9k: AR9220 mini PCI card with inverted LED polarity
Hello,
I've got a Wistron DNMA-92 (AR9220) card that has inverted LED polarity (active high instead of active low).
It has PCI ID 168c:0029, Subsystem ID 168c:2096.
The problem is that it has the same Subsystem ID of the Compex WLM200NX [0]. The two cards share the same Atheros MB92 design, but I don't know if that other card has an inverted LED too. Its datasheet unfortunately doesn't say anything about the LED.
So, what should I do now?
1) Add a new PCOEM PCI_DEVICE_SUB entry to pci.c with .driver_data set to ATH9K_PCI_LED_ACT_HI, with the risk of reversing the polarity for the other card (in case it is actually active low);
2) Add a new module parameter, ath9k_led_active_high, so that I can
handle my card in my /etc/modprobe.d/*.conf file;
3) Both, since the module parameter could be useful anyway ;)
(By the way, after the mail server problem I've actually created the patches, so this is an RFC now!)
Cheers,
Vittorio G