Pccard problem with NE2000 clone
"Daniel O'Connor" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
Hi, I recently obtained a Toshiba Satellite 2540CDS and I planned to use an NE2000 clone PCMCIA card for network access. This machine has a ToPIC95B 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=0x00000000, state=30000511 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 0xf6000000-0xfbffffff: good Mar 18 12:32:28 inchoate kernel: cis mem map 0xdfd9c000 (resource: 0xf6010000) Mar 18 12:32:28 inchoate kernel: pccard0: CIS tuple chain: Mar 18 12:32:28 inchoate kernel: CISTPL_DEVICE type=null speed=null 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 observed 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, product 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 0xf6000000-0xfbffffff: good Mar 18 12:32:28 inchoate kernel: pccard0: ccr_res == f6001000-f60013ff, base=3f8 Mar 18 12:32:28 inchoate kernel: pccard0: function 0 CCR at 0 offset 3f8: 20 0 0 0, 3 0 0 ff, 15 Mar 18 12:32:28 inchoate kernel: pccard0: <unknown card> (manufacturer=0xffffffff, product=0xffffffff) at function 0 Mar 18 12:32:28 inchoate kernel: pccard0: CIS info: Ethernet Adapter, E2000 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 :) -- 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
pccard.diff
(text/x-diff, 1.7 KB)
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
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD4DBQBCOnHM5ZPcIHs/zowRAswdAJ9Lj4cMBbVsGBtcdR7utHAScZIXogCWMq0q 7YvBS2x+8laB8HGYlVWWTw== =3EVg -----END PGP SIGNATURE-----