This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
RLTK8139 PCI Subsystem ID patch
- From: Hajime Ishitani <pigmon at snd dot co dot jp>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 18 Dec 2006 09:20:04 +0900
- Subject: RLTK8139 PCI Subsystem ID patch
Hello all,
Added 0x8129h for RTL8139C(L).
If there is no EEPROM, this "PCI Subsystem ID" will
default to a value of 8129h.
Thanks
Hajime Ishitani
Index: ecos/packages/devs/eth/rltk/8139/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/rltk/8139/current/ChangeLog,v
retrieving revision 1.7
diff -u -r1.7 ChangeLog
--- ecos/packages/devs/eth/rltk/8139/current/ChangeLog 13 Nov 2006 15:05:00 -0000 1.7
+++ ecos/packages/devs/eth/rltk/8139/current/ChangeLog 17 Dec 2006 02:47:51 -0000
@@ -1,3 +1,8 @@
+2006-12-17 Hajime Ishitani <pigmon@mail.snd.co.jp>
+
+ * src/if_8139.c:
+ added 0x10ec/0x8129 for RTL8139C(L) of a known device.
+
2006-11-13 Hajime Ishitani <pigmon@mail.snd.co.jp>
* src/if_8139.c: Enabled "PUN/LinkChg" interrupt.
Index: ecos/packages/devs/eth/rltk/8139/current/src/if_8139.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/rltk/8139/current/src/if_8139.c,v
retrieving revision 1.7
diff -u -r1.7 if_8139.c
--- ecos/packages/devs/eth/rltk/8139/current/src/if_8139.c 13 Nov 2006 15:05:00 -0000 1.7
+++ ecos/packages/devs/eth/rltk/8139/current/src/if_8139.c 17 Dec 2006 03:22:05 -0000
@@ -274,11 +274,12 @@
* Table of all known PCI device/vendor ID combinations for the RealTek 8139.
* Add them as you get to know them.
*/
-#define CYGNUM_DEVS_ETH_RLTK_8139_KNOWN_ALIASES 2
+#define CYGNUM_DEVS_ETH_RLTK_8139_KNOWN_ALIASES 3
static pci_identifier_t
known_8139_aliases[CYGNUM_DEVS_ETH_RLTK_8139_KNOWN_ALIASES] = {
- { 0x10ec, 0x8139, NULL }, /* This is the offical RealTek vendor/device code */
- { 0x11db, 0x1234, NULL} /* SEGA DreamCast BroadBandAdapter */
+ { 0x10ec, 0x8139, NULL }, /* This is the official RealTek vendor/device code of 8139D(L) */
+ { 0x11db, 0x1234, NULL}, /* SEGA DreamCast BroadBandAdapter */
+ { 0x10ec, 0x8129, NULL } /* This is the official RealTek vendor/device code of 8139C(L) */
};