"Vittorio Gambaletta \(VittGam\)" <linux-wireless@xxxxxxxxxxx> wrote: > If generic entries are positioned above specific ones, then the > former will be matched first and used instead of the latter. > > Cc: <linux-wireless@xxxxxxxxxxxxxxx> > Cc: <ath9k-devel@xxxxxxxxxxxxxxxx> > Cc: <ath9k-devel@xxxxxxxxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> > Signed-off-by: Vittorio Gambaletta <linuxbugs@xxxxxxxxxxx> > Signed-off-by: Vittorio Gambaletta <linuxbugs@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> > Signed-off-by: Vittorio Gambaletta <linuxbugs@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> > > --- a/drivers/net/wireless/ath/ath9k/pci.c > +++ b/drivers/net/wireless/ath/ath9k/pci.c > @@ -26,7 +26,6 @@ > { PCI_VDEVICE(ATHEROS, 0x0023) }, /* PCI */ > { PCI_VDEVICE(ATHEROS, 0x0024) }, /* PCI-E */ > { PCI_VDEVICE(ATHEROS, 0x0027) }, /* PCI */ > - { PCI_VDEVICE(ATHEROS, 0x0029) }, /* PCI */ > > #ifdef CONFIG_ATH9K_PCOEM > /* Mini PCI AR9220 MB92 cards: Compex WLM200NX, Wistron DNMA-92 */ > @@ -37,7 +36,7 @@ > .driver_data = ATH9K_PCI_LED_ACT_HI }, > #endif > > - { PCI_VDEVICE(ATHEROS, 0x002A) }, /* PCI-E */ > + { PCI_VDEVICE(ATHEROS, 0x0029) }, /* PCI */ > > #ifdef CONFIG_ATH9K_PCOEM > { PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS, > @@ -85,7 +84,11 @@ > 0x10CF, /* Fujitsu */ > 0x1536), > .driver_data = ATH9K_PCI_D3_L1_WAR }, > +#endif > > + { PCI_VDEVICE(ATHEROS, 0x002A) }, /* PCI-E */ > + > +#ifdef CONFIG_ATH9K_PCOEM > /* AR9285 card for Asus */ > { PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS, > 0x002B, Patch applied to ath-next branch of ath.git, thanks. 79e57dd113d3 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards. -- https://patchwork.kernel.org/patch/9360361/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches