Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 1999 12:58:50 +0100
From:      paul@originative.co.uk
To:        bright@rush.net, mobile@freebsd.org
Subject:   RE: any sucesses with D-Link DFE-650CT?
Message-ID:  <A6D02246E1ABD2119F5200C0F0303D10FF64@octopus>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BEA513.9F2C796A
Content-Type: text/plain;
	charset="iso-8859-1"

> -----Original Message-----
> From: Alfred Perlstein [mailto:bright@rush.net]
> Sent: 23 May 1999 11:29
> To: mobile@freebsd.org
> Subject: any sucesses with D-Link DFE-650CT?
> 
> 
> 
> I was in search of a pcmcia ethernet card today and someone suggested 
> a D-Link 650-CT card.  It's a 10/100 pcmcia card.
> 
> The manual states:
> 
> Lan chipset:
>   Interface controller: DL10019C
>   Transiver interface: LXT970QC
> 
> has anyone had any luck getting this to run under -stable? -current?
> 
> can anyone recomment a pccard.conf entry for it?

I just spent this morning trying to get my D-Link DFE-650 working. I suspect
the 650-CT has the same problem given the similarities of the hardware.

The PAO kit has the missing bits of info which I've now lifted into my dev
box, basically, the MAC address has to be obtained differently.

Try applying the attached diff. As I said, this gets my DFE-650 working it
might work for 650-CT. The config for the DE-660 is more or less right for
the others, copy it and put in the right values for the card name. The only
other change I made was that I hardcoded an irq of 11.

Paul Richards
Originative Solutions Ltd



------_=_NextPart_000_01BEA513.9F2C796A
Content-Type: application/octet-stream;
	name="if_ed.c.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="if_ed.c.diff"
Content-Location: ATT-0-05F0D0D2A110D3119FA600C0F0303D10-I
	F_ED%7EFP.DIF

Index: if_ed.c=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /home/ncvs/src/sys/i386/isa/if_ed.c,v=0A=
retrieving revision 1.152=0A=
diff -r1.152 if_ed.c=0A=
213a214,216=0A=
> /* PCMCIA Linksys EtherFast 10/100 and compatible cards */=0A=
> static int ed_get_Linksys __P((struct ed_softc *)); =0A=
> =0A=
233a237=0A=
> #ifdef 0=0A=
239a244=0A=
> #endif=0A=
1060a1066,1094=0A=
> #if NCARD > 0=0A=
> /*=0A=
>  * Probe the Ethernet MAC addrees for PCMCIA Linksys EtherFast =
10/100=0A=
>  * and compatible cards (DL10019C Ethernet controller)=0A=
>  */=0A=
> static int=0A=
> ed_get_Linksys(sc)=0A=
> 	struct ed_softc *sc;=0A=
> {=0A=
> 	u_char sum;=0A=
> 	int i;=0A=
> =0A=
> 	/*=0A=
> 	 * 0x14-0x19 : Physical Address Register 0-5 (PAR0-PAR5)=0A=
> 	 * 0x1A      : Card ID Register (CIR)=0A=
> 	 * 0x1B      : Check Sum Register (SR)=0A=
> 	 */=0A=
> 	for (sum =3D 0, i =3D 0x14; i < 0x1c; i++)=0A=
> 		sum +=3D inb(sc->nic_addr + i);=0A=
> 	if (sum !=3D 0xff)=0A=
> 		return 0;       /* invalid DL10019C */=0A=
> 	for (i =3D 0; i < ETHER_ADDR_LEN; i++) {=0A=
> 		sc->arpcom.ac_enaddr[i] =3D inb(sc->nic_addr + 0x14 + i);=0A=
> 		printf("%02x.", sc->arpcom.ac_enaddr[i]);=0A=
> 	}=0A=
> 	return 2;=0A=
> }=0A=
> #endif /* NCARD > 0 */=0A=
>  =0A=
1074a1109=0A=
> 	int linksys =3D 0;=0A=
1165c1200,1210=0A=
< 	} else {=0A=
---=0A=
> 	}=0A=
> #if NCARD > 0=0A=
> 	else if (linksys =3D ed_get_Linksys(sc)) {=0A=
> 		outb(sc->nic_addr + ED_P0_DCR, ED_DCR_WTS | ED_DCR_FT1 |=0A=
> 									   ED_DCR_LS);=0A=
> 		sc->isa16bit =3D 1;=0A=
> 		sc->type =3D ED_TYPE_NE2000;=0A=
> 		sc->type_str =3D "Linksys";=0A=
> 	}=0A=
> #endif /* NCARD > 0 */=0A=
> 	else {=0A=
1264,1266c1309,1313=0A=
< 	ed_pio_readmem(sc, 0, romdata, 16);=0A=
< 	for (n =3D 0; n < ETHER_ADDR_LEN; n++)=0A=
< 		sc->arpcom.ac_enaddr[n] =3D romdata[n * (sc->isa16bit + 1)];=0A=
---=0A=
> 	if (!linksys) {=0A=
> 		ed_pio_readmem(sc, 0, romdata, 16);=0A=
> 		for (n =3D 0; n < ETHER_ADDR_LEN; n++)=0A=
> 			sc->arpcom.ac_enaddr[n] =3D romdata[n * (sc->isa16bit + 1)];=0A=
> 	}=0A=

------_=_NextPart_000_01BEA513.9F2C796A--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A6D02246E1ABD2119F5200C0F0303D10FF64>