Date: Tue, 31 Mar 1998 23:29:31 +0200 (MDT) From: Matthias.Apitz@SOFTCON.de To: jmb@FreeBSD.ORG (Jonathan M. Bresler) Cc: nate@mt.sri.com, Matthias.Apitz@SOFTCON.de, freebsd-mobile@FreeBSD.ORG Subject: Re: 3c589D and pccard support in FreeBSD 2.2.5 Message-ID: <9803312329.AA15101@kant.SOFTCON.de> In-Reply-To: <199803311735.JAA00497@hub.freebsd.org> from "Jonathan M. Bresler" at Mar 31, 98 09:35:23 am
next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan M. Bresler wrote:
Nate Williams wrote:
>
> Linux doesn't use the EEPROM values, but uses Card Services (like our
> pccard stuff). However, the FreeBSD boot floppy doesn't support Card
> Services.
huh! we use the CIS tuples. i thought that Card Services
is a set of functions in the vendor's device drivers.
now i know we dont use the vendors device drivers ;)
perhaps i am being too picky with language....nah.
this 3c598d that is not working with FreeBSD...can you
send in a copy of the output from "pccardc dumpcis"?
It was a little bit tricky to get the output of "pccardc dumpcis"
from the FreeBSD box to my working LAN to mail it -- anyway here it goes:
thias:/home/guru $ telnet 222.222.222.227
Trying 222.222.222.227 ...
Connected to 222.222.222.227.
FreeBSD (almare.muc.de) (ttyp0)
login: guru
Password:
...
FreeBSD 2.2.5-RELEASE (PAO) #0: Sun Mar 29 13:16:07 CEST 1998
Welcome to FreeBSD!
...
$ cat /tmp/dumpcis
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
000: 00 ff
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
000: 43 02 ff
Attribute memory device information:
Device number 1, type EEPROM, WPS = OFF
Speed = 150nS, Memory block size = 8Kb, 1 units
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
000: 01 01 89 05
PCMCIA ID = 0x101, OEM ID = 0x589
Tuple #4, code = 0x21 (Functional ID), length = 2
000: 06 00
Network/LAN adapter
Tuple #5, code = 0x15 (Version 1 info), length = 58
000: 04 01 33 43 6f 6d 20 43 6f 72 70 6f 72 61 74 69
010: 6f 6e 00 33 43 35 38 39 44 00 54 50 2f 42 4e 43
020: 20 4c 41 4e 20 43 61 72 64 20 56 65 72 2e 20 32
030: 61 00 30 30 30 30 30 32 00 ff
Version = 4.1, Manuf = [3Com Corporation],card vers = [3C589D]
Addit. info = [TP/BNC LAN Card Ver. 2a],[000002]
Tuple #6, code = 0x1a (Configuration map), length = 6
000: 02 03 00 00 01 03
Reg len = 3, config register addr = 0x10000, last config = 0x3
Registers: XX------
Tuple #7, code = 0x1b (Configuration entry), length = 15
000: c1 01 1d 71 55 35 55 54 e0 72 5d 64 30 ff ff
Config index = 0x1(default)
Interface byte = 0x1 (I/O)
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Max current average over 1 second: 3 x 10mA
Max current average over 10 ms: 5 x 10mA
Power down supply current: 5 x 1mA
Wait scale Speed = 7.0 x 100 ns
RDY/BSY scale Speed = 7.0 x 100 ns
Card decodes 18 address lines, full 8/16 Bit I/O
IRQ modes: Level, Pulse
IRQs: IOCK 1 4 5 6 8 10 11 12 14
Tuple #8, code = 0x1b (Configuration entry), length = 7
000: 03 01 71 55 26 26 54
Config index = 0x3
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Max current average over 1 second: 2 x 100mA
Max current average over 10 ms: 2 x 100mA
Power down supply current: 5 x 1mA
Tuple #9, code = 0x19 (JEDEC descr for attribute memory), length = 3
000: 00 00 ff
Tuple #10, code = 0x14 (No link), length = 0
Tuple #11, code = 0x10 (Checksum), length = 5
000: 88 ff 81 00 00
Checksum from offset -120, length 129, value is 0x0
Tuple #12, code = 0xff (Terminator), length = 149
000: 00 03 83 00 fd ff ff ff ff ff ff ff ff ff ff ff
010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
090: ff ff ff ff ff
2 slots found
$ Connection closed by foreign host.
thias:/home/guru $
--
firm: matthias.apitz@sisis.de [voc:+49-89-61308-351, fax: +49-89-61308-188]
priv: guru@thias.muc.de
PGP: Key fingerprint = 0C 01 F2 23 EC 17 A2 D5 46 2D 29 4C 0E 8B 7E 8F
URL: http://www.sisis.de/~guru/ http://www.muc.de/~thias/
from USENET:
People who run servers understand that flashy interactive interfaces have
nothing to do with the underlying functionality and often get in the way.
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?9803312329.AA15101>
