summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-16 12:09:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-16 12:09:13 +0000
commite4f38676507adcba20971408d17177a40e9bf4b4 (patch)
tree9719819fb46ecbeff8cd80b5aeab4cf8c62e619e
parent5683c53c0cf14db1d150e1bd1a99ed60366c0c16 (diff)
downloadmtk-20170518-e4f38676507adcba20971408d17177a40e9bf4b4.zip
mtk-20170518-e4f38676507adcba20971408d17177a40e9bf4b4.tar.gz
mtk-20170518-e4f38676507adcba20971408d17177a40e9bf4b4.tar.bz2
backport a missing eeprom 93cx6 define for building rt2x00
SVN-Revision: 31305
-rw-r--r--target/linux/generic/patches-2.6.32/034-eeprom_93cx6_backport.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.32/034-eeprom_93cx6_backport.patch b/target/linux/generic/patches-2.6.32/034-eeprom_93cx6_backport.patch
new file mode 100644
index 0000000..17ada9e
--- /dev/null
+++ b/target/linux/generic/patches-2.6.32/034-eeprom_93cx6_backport.patch
@@ -0,0 +1,10 @@
+--- a/include/linux/eeprom_93cx6.h
++++ b/include/linux/eeprom_93cx6.h
+@@ -30,6 +30,7 @@
+ #define PCI_EEPROM_WIDTH_93C46 6
+ #define PCI_EEPROM_WIDTH_93C56 8
+ #define PCI_EEPROM_WIDTH_93C66 8
++#define PCI_EEPROM_WIDTH_93C86 8
+ #define PCI_EEPROM_WIDTH_OPCODE 3
+ #define PCI_EEPROM_WRITE_OPCODE 0x05
+ #define PCI_EEPROM_READ_OPCODE 0x06