From: Vittorio Gambaletta (VittGam) Date: Tue, 09 Feb 2016 15:42:53 +0100 Subject: [ath9k-devel] [PATCH RFC 0/2] ath9k: AR9220 mini PCI card with inverted LED polarity Message-ID: <1a755105206de97e2cddea669b43de51@vittgam.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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