Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 12:37:55 +0900 (JST)
From:      Valentin Davydov <val@sqdp.trc-net.co.jp>
To:        freebsd-questions@freebsd.org
Subject:   PC-card
Message-ID:  <Pine.BSF.3.95q.1000502120342.28148A-100000@sqdp-davy.trc-net.co.jp>

next in thread | raw e-mail | index | archive | help
Hi, All!

I got the FreeBSD 3.3-RELEASE installed on the old IBM-5538 (from
the software point of view it is just the ThinkPad). Then I got the
Ethernet PC-card which is detected by pccardc as follows:

Configuration data for card in slot 1
  Tuple #1, code = 0x0 (Null tuple), length = 3
      000:  00 00 ff
  Tuple #2, code = 0x17 (Attribute memory descriptor), length = 4
      000:  4f 3a 08 ff
  Attribute memory device information:
    Device number 1, type EEPROM, WPS = ON
    Speed = 3.0 x 100 ns, Memory block size = 512b, 2 units
  Tuple #3, code = 0x20 (Manufacturer ID), length = 4
      000:  0b c0 00 33
  PCMCIA ID = 0xc00b, OEM ID = 0x3300
  Tuple #4, code = 0x21 (Functional ID), length = 2
      000:  06 00
  Network/LAN adapter
  Tuple #5, code = 0x15 (Version 1 info), length = 31
      000:  05 00 4d 41 43 4e 49 43 41 00 4d 45 31 2d 4a 45
      010:  49 44 41 00 33 2e 30 30 00 33 2e 30 30 00 ff
  Version = 5.0, Manuf = [MACNICA],card vers = [ME1-JEIDA]
  Addit. info = [3.00],[3.00]
  Tuple #6, code = 0x1a (Configuration map), length = 5
      000:  01 08 00 02 0b
  Reg len = 2, config register addr = 0x200, last config = 0x8
  Registers: XX-X---- 
  Tuple #7, code = 0x1b (Configuration entry), length = 10
      000:  c8 81 99 01 55 45 f0 ff ff 01
  Config index = 0x8(default)
  Interface byte = 0x81 (I/O)  wait signal supported
  Vcc pwr:
    Nominal operating supply voltage: 5 x 1V
  Card decodes 5 address lines, limited 8/16 Bit I/O
    IRQ modes:  Pulse
    IRQ level = 5
  Max twin cards = 0
  Misc attr: (Read-only) (Power down supported) (Ext byte = 0xff) 
  Tuple #8, code = 0x22 (Functional EXT), length = 2
      000:  01 02
  Modem interface capabilities:
  Tuple #9, code = 0x22 (Functional EXT), length = 5
      000:  02 80 96 98 00
  Data modem services available:
  Tuple #10, code = 0x22 (Functional EXT), length = 2
      000:  03 01
  Tuple #11, code = 0x22 (Functional EXT), length = 8
      000:  04 06 08 00 42 11 85 86
  Voice services available:
  Tuple #12, code = 0x22 (Functional EXT), length = 2
      000:  05 00
  Modem interface capabilities:
  Tuple #13, code = 0x14 (No link), length = 0
  Tuple #14, code = 0xff (Terminator), length = 130
      000:  e8 82 dc 82 b7 0d 0a 16 54 6f 74 61 6c 20 66 69
      010:  6c 65 73 20 6c 69 73 74 65 64 3a 0d 0a 0c 20 83
      020:  8a 83 58 83 67 82 b3 82 ea 82 bd 83 74 83 40 83
      030:  43 83 8b 82 cc 91 8d 8c 76 20 20 3a 20 0d 0a 2b
      040:  28 45 72 72 6f 72 20 6f 63 63 75 72 72 65 64 20
      050:  69 6e 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76
      060:  61 72 69 61 62 6c 65 29 0d 0a 0c 17 28 8a c2 8b
      070:  ab 95 cf 90 94 82 16 00 3e 02 d0 08 41 02 3d 25
      080:  da 10
   
Then I put in the /etc/pccard.conf fllowing:


  io 0x240-0x2f0 0x300-0x360
  irq 10 11 13 15
  memory 0xd4000  96k
-------------------------[skip]-----------------------
  card "MACNICA" "ME1-JEIDA"
  config 0x8 "ed0" 10
  ether  0xb8
  insert echo MACNICA ME1 Ethernet card inserted
  insert /etc/pccard_ether ed0
  remove echo MACNICA ME1 Ethernet card removed
  remove /sbin/ifconfig ed0 delete
   
and made a kernel with the "device ed0". The pccard support is also 
turned on, so that 

  /kernel: Initializing PC-card drivers: ed sio

is there.


However after reboot (or card insertion) I always see a messages like
this:

  /kernel: Card inserted, slot 1
---------some message from named skipped-------  
  pccardd[60]: Ether=08:00:42:11:85:86 
---------some other message from named skipped-------
  /kernel: ed0: unload
  /kernel: Return IRQ=10
  pccardd[60]: driver allocation failed for MACNICA
  pccardd[60]: pccardd started

and ifconfig shows that there is no ed0 in the system. Note that the
reported ethernet address is identical to that printed on the card itself.

Question: what to do to get this card working?

Val. Dav.



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.1000502120342.28148A-100000>