backport a missing eeprom 93cx6 define for building rt2x00
authorFlorian Fainelli <florian@openwrt.org>
Mon, 16 Apr 2012 12:09:13 +0000 (12:09 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 16 Apr 2012 12:09:13 +0000 (12:09 +0000)
SVN-Revision: 31305

target/linux/generic/patches-2.6.32/034-eeprom_93cx6_backport.patch [new file with mode: 0644]

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 (file)
index 0000000..17ada9e
--- /dev/null
@@ -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