All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] [PATCH RFC 0/2] ath9k: AR9220 mini PCI card with inverted LED polarity
@ 2016-02-09 14:42 Vittorio Gambaletta
  2016-02-09 14:44 ` [ath9k-devel] [PATCH RFC 1/2] ath9k: Add a module parameter to invert " Vittorio Gambaletta
  2016-02-09 14:44 ` [ath9k-devel] [PATCH RFC 2/2] ath9k: Fix LED polarity for some Mini PCI AR9220 MB92 cards Vittorio Gambaletta
  0 siblings, 2 replies; 3+ messages in thread
From: Vittorio Gambaletta @ 2016-02-09 14:42 UTC (permalink / raw)
  To: ath9k-devel

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

[0] https://wikidevi.com/wiki/Compex_WLM200NX

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-09 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09 14:42 [ath9k-devel] [PATCH RFC 0/2] ath9k: AR9220 mini PCI card with inverted LED polarity Vittorio Gambaletta
2016-02-09 14:44 ` [ath9k-devel] [PATCH RFC 1/2] ath9k: Add a module parameter to invert " Vittorio Gambaletta
2016-02-09 14:44 ` [ath9k-devel] [PATCH RFC 2/2] ath9k: Fix LED polarity for some Mini PCI AR9220 MB92 cards Vittorio Gambaletta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.