[kernel/2.6.32] backport a missing eeprom 93cx6 define for building rt2x00
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Apr 2012 12:09:13 +0000 (12:09 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Apr 2012 12:09:13 +0000 (12:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31305 3c298f89-4303-0410-b956-a3cf2f4a3e73

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