ENE (TI clone) support
Pavel Roskin
proski at gnu.org
Wed Sep 17 21:09:50 BST 2003
Hello!
The attached path adds support for ENE controllers. I was told that they
are exact clones of corresponding TI chips. The patch has been tested by
somebody with ENE CB-1410. ENE support already exists in pcmcia-cs.
The part of the patch for include/linux/pci_ids.h can be applied
regardless of the part for drivers/pcmcia/yenta_socket.c.
The entires for the cards are already in the PCI database:
http://pciids.sourceforge.net/iii/?i=1524
I included CB710 to pci_ids.h but not yenta_socket.c because it may be an
incompatible device. Still, it's better to get it into the PCI table now.
The online database is a bit unclear about CB710, but there have been
reports confirming that it's 0x1524:0x0510:
http://www.spinics.net/lists/kernel/msg208554.html
--
Regards,
Pavel Roskin-------------- next part --------------
--- linux.orig/drivers/pcmcia/yenta_socket.c
+++ linux/drivers/pcmcia/yenta_socket.c
@@ -1009,6 +1009,11 @@ static struct pci_device_id yenta_table
CB_ID(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1250, TI1250),
CB_ID(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1410, TI1250),
+ CB_ID(PCI_VENDOR_ID_ENE, PCI_DEVICE_ID_ENE_CB1211, TI12XX),
+ CB_ID(PCI_VENDOR_ID_ENE, PCI_DEVICE_ID_ENE_CB1225, TI12XX),
+ CB_ID(PCI_VENDOR_ID_ENE, PCI_DEVICE_ID_ENE_CB1410, TI1250),
+ CB_ID(PCI_VENDOR_ID_ENE, PCI_DEVICE_ID_ENE_CB1420, TI1250),
+
CB_ID(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_RL5C465, RICOH),
CB_ID(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_RL5C466, RICOH),
CB_ID(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_RL5C475, RICOH),
--- linux.orig/include/linux/pci_ids.h
+++ linux/include/linux/pci_ids.h
@@ -1790,6 +1790,13 @@
#define PCI_DEVICE_ID_TIGON3_5901_2 0x170e
#define PCI_DEVICE_ID_BCM4401 0x4401
+#define PCI_VENDOR_ID_ENE 0x1524
+#define PCI_DEVICE_ID_ENE_CB710 0x0510
+#define PCI_DEVICE_ID_ENE_CB1211 0x1211
+#define PCI_DEVICE_ID_ENE_CB1225 0x1225
+#define PCI_DEVICE_ID_ENE_CB1410 0x1410
+#define PCI_DEVICE_ID_ENE_CB1420 0x1420
+
#define PCI_VENDOR_ID_SYBA 0x1592
#define PCI_DEVICE_ID_SYBA_2P_EPP 0x0782
#define PCI_DEVICE_ID_SYBA_1P_ECP 0x0783
More information about the linux-pcmcia
mailing list