]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.fixes/ath5k-aspire-one-led.patch
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / ath5k-aspire-one-led.patch
diff --git a/src/patches/suse-2.6.27.31/patches.fixes/ath5k-aspire-one-led.patch b/src/patches/suse-2.6.27.31/patches.fixes/ath5k-aspire-one-led.patch
deleted file mode 100644 (file)
index 13fe163..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From: Bob Copeland <me@bobcopeland.com>
-Subject: ath5k: support LEDs on Acer Aspire One netbook
-Patch-mainline: 2.6.30
-References: bnc#486728
-
-Add vendor ID for Foxconn and use it to set the ath5k LED gpio and
-polarity for Acer branded laptops.
-
-base.c:
-Changes-licensed-under: 3-Clause-BSD
-
-Reported-by: Maxim Levitsky <maximlevitsky@gmail.com>
-Tested-by: Maxim Levitsky <maximlevitsky@gmail.com>
-Tested-by: Andreas Mohr <andi@lisas.de>
-Signed-off-by: Bob Copeland <me@bobcopeland.com>
-Signed-off-by: John W. Linville <linville@tuxdriver.com>
-Acked-by: Helmut Schaa <hschaa@suse.de>
-Acked-by: Jiri Benc <jbenc@suse.cz>
-
----
-
-diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c
-index e4fe13e..9a7072e 100644
---- a/drivers/net/wireless/ath5k/base.c
-+++ b/drivers/net/wireless/ath5k/base.c
-@@ -2593,6 +2593,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;
-diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
-index aca8c45..b574815 100644
---- a/include/linux/pci_ids.h
-+++ b/include/linux/pci_ids.h
-@@ -823,6 +823,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