Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2005 16:44:30 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-mobile@freebsd.org
Subject:   Pccard problem with NE2000 clone
Message-ID:  <200503181644.36236.doconnor@gsoft.com.au>

next in thread | raw e-mail | index | archive | help
--nextPart1140639.yONxrdUsqF
Content-Type: multipart/mixed;
  boundary="Boundary-01=_GHnOCOVu4OEuGPS"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_GHnOCOVu4OEuGPS
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
I recently obtained a Toshiba Satellite 2540CDS and I planned to use an=20
NE2000 clone PCMCIA card for network access. This machine has a ToPIC95B=20
bridge in it. Since that machine has no network access I thought I'd try
it in my main work laptop (Inspiron 8600 with a TI4510 bridge) and it
has very similar symptoms.

I get the following dmesg output (with debugging sysctls cranked up) when
I insert it.

Mar 18 12:32:26 inchoate kernel: Status is 0x30000511
Mar 18 12:32:26 inchoate kernel: cbb0: card inserted: event=3D0x00000000, s=
tate=3D30000511
Mar 18 12:32:26 inchoate kernel: pccard0: chip_socket_enable
Mar 18 12:32:26 inchoate kernel: cbb_pcic_socket_enable:
Mar 18 12:32:26 inchoate kernel: cbb0: cbb_power: 5V
Mar 18 12:32:26 inchoate kernel: pccard0: read_cis
Mar 18 12:32:28 inchoate kernel: pcib2: pccard0 requested memory range 0xf6=
000000-0xfbffffff: good
Mar 18 12:32:28 inchoate kernel: cis mem map 0xdfd9c000 (resource: 0xf60100=
00)
Mar 18 12:32:28 inchoate kernel: pccard0: CIS tuple chain:
Mar 18 12:32:28 inchoate kernel: CISTPL_DEVICE type=3Dnull speed=3Dnull
Mar 18 12:32:28 inchoate kernel: 01 03 00 00 ff
Mar 18 12:32:28 inchoate kernel: CISTPL_VERS_1
Mar 18 12:32:28 inchoate kernel: 15 33 04 01 45 74 68 65 72 6e 65 74 20 41 =
64 61
Mar 18 12:32:28 inchoate kernel: 70 74 65 72 00 45 32 30 30 30 20 50 43 4d =
43 49
Mar 18 12:32:28 inchoate kernel: 41 20 45 74 68 65 72 6e 65 74 00 44 00 4e =
45 32
Mar 18 12:32:28 inchoate kernel: 30 30 30 00 ff
Mar 18 12:32:28 inchoate kernel: CISTPL_CONFIG
Mar 18 12:32:28 inchoate kernel: 1a 05 01 20 f8 03 03
Mar 18 12:32:28 inchoate kernel: CISTPL_CFTABLE_ENTRY
Mar 18 12:32:28 inchoate kernel: 1b 11 e0 81 1d 3f 55 4d 5d 06 86 46 26 fc =
24 65
Mar 18 12:32:28 inchoate kernel: 30 ff ff
Mar 18 12:32:28 inchoate kernel: CISTPL_FUNCID
Mar 18 12:32:28 inchoate kernel: 21 02 06 00
Mar 18 12:32:28 inchoate kernel: CISTPL_END
Mar 18 12:32:28 inchoate kernel: ff
Mar 18 12:32:28 inchoate kernel: cis mem map dfd9c000
Mar 18 12:32:28 inchoate kernel: CISTPL_LINKTARGET expected, code 01 observ=
ed
Mar 18 12:32:28 inchoate kernel: pccard0: check_cis_quirks
Mar 18 12:32:28 inchoate kernel: pccard0: CIS version PCCARD 2.0 or 2.1
Mar 18 12:32:28 inchoate kernel: pccard0: CIS info: Ethernet Adapter, E2000=
 PCMCIA Ethernet, D, NE2000
Mar 18 12:32:28 inchoate kernel: pccard0: Manufacturer code 0xffffffff, pro=
duct 0xffffffff
Mar 18 12:32:28 inchoate kernel: pccard0: function 0: network adapter, ccr =
addr 3f8 mask 3
Mar 18 12:32:28 inchoate kernel: pccard0: function 0, config table entry 32=
: I/O card; irq mask ffff; iomask 5, iospace 0-1f; mwait_required io8 io16 =
irqlevel
Mar 18 12:32:28 inchoate kernel: pccard0: functions scanning
Mar 18 12:32:28 inchoate kernel: pccard0: Card has 1 functions. pccard_mfc =
is 0
Mar 18 12:32:28 inchoate kernel: pccard0: I/O rid 0 start 0 end ffffffff
Mar 18 12:32:28 inchoate kernel: pcib2: pccard0 requested I/O range 0xd000-=
0xefff: in range
Mar 18 12:32:28 inchoate kernel: cbb_pcic_socket_enable:
Mar 18 12:32:28 inchoate kernel: cbb0: cbb_power: 0V
Mar 18 12:32:28 inchoate kernel: cbb0: cbb_power: 5V
Mar 18 12:32:28 inchoate kernel: pcib2: pccard0 requested memory range 0xf6=
000000-0xfbffffff: good
Mar 18 12:32:28 inchoate kernel: pccard0: ccr_res =3D=3D f6001000-f60013ff,=
 base=3D3f8
Mar 18 12:32:28 inchoate kernel: pccard0: function 0 CCR at 0 offset 3f8: 2=
0 0 0 0, 3 0 0 ff, 15
Mar 18 12:32:28 inchoate kernel: pccard0: <unknown card> (manufacturer=3D0x=
ffffffff, product=3D0xffffffff) at function 0
Mar 18 12:32:28 inchoate kernel: pccard0:    CIS info: Ethernet Adapter, E2=
000 PCMCIA Ethernet, D

I have if_ed loaded, note that the i8600 is running -current and the Toshiba
is running 5.3-REL.

I made up the attached diff, but no joy.. Any help appreciated :)

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--Boundary-01=_GHnOCOVu4OEuGPS
Content-Type: text/x-diff;
  charset="us-ascii";
  name="pccard.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="pccard.diff"

Index: sys/dev/ed/if_ed_pccard.c
===================================================================
RCS file: /usr/CVS-Repository/src/sys/dev/ed/if_ed_pccard.c,v
retrieving revision 1.81
diff -u -p -r1.81 if_ed_pccard.c
--- sys/dev/ed/if_ed_pccard.c	22 Feb 2005 22:07:18 -0000	1.81
+++ sys/dev/ed/if_ed_pccard.c	18 Mar 2005 02:33:57 -0000
@@ -156,6 +156,7 @@ static const struct ed_product {
 	{ PCMCIA_CARD(NETGEAR, FA411, 0), NE2000DVF_AX88X90},
 	{ PCMCIA_CARD(NEXTCOM, NEXTHAWK, 0), 0},
 	{ PCMCIA_CARD(OEM2, ETHERNET, 0), 0},
+	{ PCMCIA_CARD(OEM2, NE2000, 0), 0},
 	{ PCMCIA_CARD(PLANET, SMARTCOM2000, 0), 0 },
 	{ PCMCIA_CARD(PREMAX, PE200, 0), 0},
 	{ PCMCIA_CARD(RACORE, ETHERNET, 0), 0},
Index: sys/dev/pccard/pccarddevs
===================================================================
RCS file: /usr/CVS-Repository/src/sys/dev/pccard/pccarddevs,v
retrieving revision 1.105
diff -u -p -r1.105 pccarddevs
--- sys/dev/pccard/pccarddevs	22 Feb 2005 22:07:18 -0000	1.105
+++ sys/dev/pccard/pccarddevs	18 Mar 2005 02:34:31 -0000
@@ -640,6 +640,7 @@ product NTT_ME WLAN		{ "NTT-ME", "11Mbps
 product OEM2 CDROM1	{ "PCMCIA", "CD-ROM", NULL, NULL } Generic PCMCIA CD-ROM
 product OEM2 IDE	{ "PCMCIA", "IDE&spCARD", NULL, NULL } Generic PCMCIA IDE CARD
 product OEM2 ETHERNET		{ "PCMCIA", "Ethernet", NULL, NULL } NE2000 PC Card
+product OEM2 NE2000		{ "E2000&spPCMCIA&spEthernet", "Ethernet&spAdapter", NULL, NULL } NE2000 PC Card
 product PLANET SMARTCOM2000	{ "PCMCIA", "UE2212", NULL, NULL } Planet SmartCOM 2000
 product RPTI EP400		{ "RPTI&spLTD.", "EP400", "CISV100", NULL } RPTI EP400
 product RPTI EP401		{ "RPTI", "EP401&spEthernet&spNE2000&spCompatible", NULL, NULL } RPTI EP401

--Boundary-01=_GHnOCOVu4OEuGPS--

--nextPart1140639.yONxrdUsqF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD4DBQBCOnHM5ZPcIHs/zowRAswdAJ9Lj4cMBbVsGBtcdR7utHAScZIXogCWMq0q
7YvBS2x+8laB8HGYlVWWTw==
=3EVg
-----END PGP SIGNATURE-----

--nextPart1140639.yONxrdUsqF--



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