From owner-freebsd-hackers Tue May 1 2:18:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from primo.verat.net (primo.verat.net [217.26.64.130]) by hub.freebsd.org (Postfix) with ESMTP id 7E27E37B424 for ; Tue, 1 May 2001 02:18:11 -0700 (PDT) (envelope-from milunovic@sendmail.ru) Received: from scorpion.cosmos.all.net (ppp65-114.verat.net [217.26.65.114]) by primo.verat.net (x.y.z/1.1.1) with ESMTP id LAA08785 for ; Tue, 1 May 2001 11:18:07 +0200 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by scorpion.cosmos.all.net (8.11.3/8.11.3) with ESMTP id f419OdH00645 for ; Tue, 1 May 2001 11:24:40 +0200 (CEST) Date: Tue, 1 May 2001 11:24:34 +0200 (CEST) From: milunovic X-Sender: milunovic@scorpion.cosmos.all.net Cc: hackers@FreeBSD.ORG Subject: Re: Problem with device rl In-Reply-To: <00bc01c0d1dd$2241a940$1200a8c0@gsicomp.on.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- On Mon, 30 Apr 2001, Matthew Emmerton wrote: Thank you,this patch is working > *** if_rl.c.orig Sun Mar 25 19:08:34 2001 > --- if_rl.c Sun Mar 25 23:14:00 2001 > *************** > *** 149,154 **** > --- 149,156 ---- > "Delta Electronics 8139 10/100BaseTX" }, > { ADDTRON_VENDORID, ADDTRON_DEVICEID_8139, > "Addtron Technolgy 8139 10/100BaseTX" }, > + { DLINK_VENDORID, DLINK_DEVICEID_530TXPLUS, > + "D-Link DFE-530TX+ 10/100BaseTX" }, > { 0, 0, NULL } > }; > *************** > *** 898,904 **** > rl_read_eeprom(sc, (caddr_t)&rl_did, RL_EE_PCI_DID, 1, 0); > > if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 || > ! rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139) > sc->rl_type = RL_8139; > else if (rl_did == RT_DEVICEID_8129) > sc->rl_type = RL_8129; > --- 903,910 ---- > rl_read_eeprom(sc, (caddr_t)&rl_did, RL_EE_PCI_DID, 1, 0); > > if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 || > ! rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139 || > ! rl_did == DLINK_DEVICEID_530TXPLUS) > sc->rl_type = RL_8139; > else if (rl_did == RT_DEVICEID_8129) > sc->rl_type = RL_8129; > > *** if_rlreg.h.orig Sun Mar 25 19:08:34 2001 > --- if_rlreg.h Sun Mar 25 19:10:12 2001 > *************** > *** 433,438 **** > --- 433,448 ---- > #define ADDTRON_DEVICEID_8139 0x1360 > > /* > + * D-Link vendor ID. > + */ > + #define DLINK_VENDORID 0x1186 > + > + /* > + * D-Link DFE-530TX+ device ID > + */ > + #define DLINK_DEVICEID_530TXPLUS 0x1300 > + > + /* > * PCI low memory base and low I/O base register, and > * other PCI registers. > */ > > > > Vojislav Milunovic milunovic@sendmail.ru -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOu6A1i3gPLld8IkLAQH6Vgf9GKRPN5J2Wt6ty/I/dLyTmYkrUDU+TlLK eS+o+dpvaDGKAGRDx+5yuxYfoxb40ZFar/mu29JSfCZ4SzLm8NJGWMi6Fshkt7Hn ECdtZfZHOxVey51jobD1h+ipr33taj+8Wz8RMLMigE8wID3eQ/bY4TveXxYkal/B aMOhHXy0SWIGLHp0AzyWomxByW0m8ye8BwiEktOx2Z7pAlBAl9FVd8TfgHzs+hJd LVc2Goi4VCZ7vhhCpB097ier46tgcAH9eGavR4BPfT/RYOrmgOwsROW4B8bn7NI/ 2CpHNGn7tY7gt1/kUSk+SYFr5Ot49Z1Ua7TrLV4o3hVXGNuPE+bcsQ== =TdYO -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message