Subject: Re: installation on a 7249-860
To: Tim Rightnour <root@garbled.net>
From: None <t.sefzick@fz-juelich.de>
List: port-prep
Date: 06/06/2006 17:24:54
Content-Length: 8768
Lines: 312

On Fri, Jun 02, 2006 at 11:27:25PM -0700, Tim Rightnour wrote:
> ...
> Right now I'm in the middle of roto-tilling a large chunk of the prep code, so
> I'm not in a position to build any test kernels for anyone.. Once I get this
> stuff straightened out and committed, I'll build you guys a few test kernels
> with PCMCIA devices.  If you could both send a list of what PCMCIA cards you
> own to the list.. I'll make a kernel with support for as many as I can, and I'd
> like to see some testing results from booting with those cards, taking them
> in/out, using them, etc.

I inserted both cards into a notebook running Linux (sorry, there is no NetBSD
installed on this notebook) to get some information:

--------------------------------------------------------------------------------

IBM Ethernet II:

> dmesg
...
eth1: NE2000 Compatible: io 0x300, irq 11, mem 0xd0a0b000, auto xcvr, hw_addr 00:06:29:14:70:D0

> dump_cis

Socket 0:
  dev_info
    fn_specific 100ns, 16kb
  attr_dev_info
    FLASH 150ns, 4kb
  manfid 0x00a4, 0x0002
  funcid network_adapter [post] [rom]
  vers_1 4.1, "IBM Corp.", "Ethernet", "0934214",
    "PC-NIC ENCC 990010759-001A"
  config base 0x20000 mask 0x000b last_index 0x01
  cftable_entry 0x01 [default]
    [mwait]
    Vcc Vnom 5V Istatic 13mA Iavg 200mA
    Vpp1 Vnom 12V
    timing wait 2500ns
    io 0x0000-0x001f [lines=5] [16bit]
    irq mask 0xffff [level] [pulse]
    memory 0x11000-0x14fff @ 0x0000
  common_jedec 0x00 0x00, 0x89 0xb8
  attr_jedec 0x89 0xb8
  checksum 0x0000-0x0085 = 0x00

> dump_cis -v

Socket 0:
  offset 0x02, tuple 0x01, link 0x03
    d4 0a ff 
  dev_info
    fn_specific 100ns, 16kb

  offset 0x07, tuple 0x1c, link 0x04
    01 d4 0a ff 

  offset 0x0d, tuple 0x17, link 0x03
    53 09 ff 
  attr_dev_info
    FLASH 150ns, 4kb

  offset 0x12, tuple 0x20, link 0x04
    a4 00 02 00 
  manfid 0x00a4, 0x0002

  offset 0x18, tuple 0x21, link 0x02
    06 03 
  funcid network_adapter [post] [rom]

  offset 0x1c, tuple 0x15, link 0x39
    04 01 49 42 4d 20 43 6f 72 70 2e 00 45 74 68 65 
    72 6e 65 74 00 30 39 33 34 32 31 34 00 50 43 2d 
    4e 49 43 20 45 4e 43 43 20 39 39 30 30 31 30 37 
    35 39 2d 30 30 31 41 00 ff 
  vers_1 4.1, "IBM Corp.", "Ethernet", "0934214",
    "PC-NIC ENCC 990010759-001A"

  offset 0x57, tuple 0x1a, link 0x06
    02 01 00 00 02 0b 
  config base 0x20000 mask 0x000b last_index 0x01

  offset 0x5f, tuple 0x1b, link 0x13
    c1 81 7e 19 55 15 26 01 0e fc 33 45 70 ff ff 48 
    40 10 01 
  cftable_entry 0x01 [default]
    [mwait]
    Vcc Vnom 5V Istatic 13mA Iavg 200mA
    Vpp1 Vnom 12V
    timing wait 2500ns
    io 0x0000-0x001f [lines=5] [16bit]
    irq mask 0xffff [level] [pulse]
    memory 0x11000-0x14fff @ 0x0000

  offset 0x74, tuple 0x18, link 0x05
    00 00 89 b8 ff 
  common_jedec 0x00 0x00, 0x89 0xb8

  offset 0x7b, tuple 0x19, link 0x03
    89 b8 ff 
  attr_jedec 0x89 0xb8

  offset 0x80, tuple 0x14, link 0x00
  no_long_link

  offset 0x82, tuple 0x10, link 0x05
    80 ff 86 00 00 
  checksum 0x0000-0x0085 = 0x00

--------------------------------------------------------------------------------

IBM Data/Fax Modem:

> dmesg
...
ttyS00 at port 0x03f8 (irq = 11) is a 16550A

> dump_cis

Socket 0:
  dev_info
    no_info
  vers_1 4.1, "14.4/14.4 Data/Fax Modem", "001", "A"
  manfid 0x00a4, 0x001d
  funcid serial_port
  serial_interface
    uart 16550 [space/mark/odd/even] [7/8] [1]
  serial_modem_cap_data
    flow [XON/XOFF xmit] [XON/XOFF rcv] [hw xmit] [hw rcv] [transparent]
    cmd_buf 56 rcv_buf 768 xmit_buf 768
  serial_modem_cap_fax
    flow [XON/XOFF xmit] [XON/XOFF rcv] [hw xmit] [hw rcv] [transparent]
    cmd_buf 56 rcv_buf 16384 xmit_buf 16384
  serial_data_services
    data_rate 57600
    modulation [Bell103] [V.21] [V.23] [V.22] [Bell212A]
      [V.22bis] [V.32] [V.32bis]
    error_control [MNP2-4] [V.42/LAPM]
    compression [V.42bis] [MNP5]
    cmd_protocol [AT1] [AT2] [AT3] [MNP_AT]
  serial_fax_services [class=1]
    data_rate 57600
    modulation [V.21-C2] [V.27ter] [V.29] [V.17]
  serial_fax_services [class=2]
    data_rate 57600
    modulation [V.21-C2] [V.27ter] [V.29] [V.17]
  config base 0x0200 mask 0x0017 last_index 0x36
  cftable_entry 0x20 [default]
    [rdybsy] [audio] [pwrdown]
    Vcc Istatic 55mA Iavg 150mA Ipeak 200mA Idown 15mA
    timing ready 500ms
    io 0x03f8-0x03ff [lines=10] [8bit] [range]
    irq 4 [level]
  cftable_entry 0x21
    io 0x02f8-0x02ff [lines=10] [8bit] [range]
    irq 3 [level]
  cftable_entry 0x22
    io 0x03e8-0x03ef [lines=10] [8bit] [range]
    irq 4 [level]
  cftable_entry 0x23 [default]
    io 0x02e8-0x02ef [lines=10] [8bit] [range]
    irq 3 [level]
  cftable_entry 0x30
    io 0x3220-0x3227 [lines=3] [8bit] [range]
  cftable_entry 0x31
    io 0x3228-0x322f [lines=3] [8bit] [range]
  cftable_entry 0x32
    io 0x4220-0x4227 [lines=3] [8bit] [range]
  cftable_entry 0x33
    io 0x4228-0x422f [lines=3] [8bit] [range]
  cftable_entry 0x34
    io 0x5220-0x5227 [lines=3] [8bit] [range]
  cftable_entry 0x35
    io 0x5228-0x522f [lines=3] [8bit] [range]
  cftable_entry 0x36
    io 0x0000-0x0007 [lines=3] [8bit]
    irq mask 0x86bc [level]

> dump_cis -v

Socket 0:
  offset 0x02, tuple 0x01, link 0x02
    00 ff 
  dev_info
    no_info

  offset 0x06, tuple 0x15, link 0x22
    04 01 31 34 2e 34 2f 31 34 2e 34 20 44 61 74 61 
    2f 46 61 78 20 4d 6f 64 65 6d 00 30 30 31 00 41 
    00 ff 
  vers_1 4.1, "14.4/14.4 Data/Fax Modem", "001", "A"

  offset 0x2a, tuple 0x20, link 0x04
    a4 00 1d 00 
  manfid 0x00a4, 0x001d

  offset 0x30, tuple 0x21, link 0x02
    02 00 
  funcid serial_port

  offset 0x34, tuple 0x22, link 0x04
    00 02 0f 1c 
  serial_interface
    uart 16550 [space/mark/odd/even] [7/8] [1]

  offset 0x3a, tuple 0x22, link 0x09
    05 1f 0d 00 03 00 00 03 00 
  serial_modem_cap_data
    flow [XON/XOFF xmit] [XON/XOFF rcv] [hw xmit] [hw rcv] [transparent]
    cmd_buf 56 rcv_buf 768 xmit_buf 768

  offset 0x45, tuple 0x22, link 0x09
    06 1f 0d 00 40 00 00 40 00 
  serial_modem_cap_fax
    flow [XON/XOFF xmit] [XON/XOFF rcv] [hw xmit] [hw rcv] [transparent]
    cmd_buf 56 rcv_buf 16384 xmit_buf 16384

  offset 0x50, tuple 0x22, link 0x0c
    02 03 00 3f 0c 03 03 0f 07 00 00 ff 
  serial_data_services
    data_rate 57600
    modulation [Bell103] [V.21] [V.23] [V.22] [Bell212A]
      [V.22bis] [V.32] [V.32bis]
    error_control [MNP2-4] [V.42/LAPM]
    compression [V.42bis] [MNP5]
    cmd_protocol [AT1] [AT2] [AT3] [MNP_AT]

  offset 0x5e, tuple 0x22, link 0x08
    13 03 00 0f 00 00 00 ff 
  serial_fax_services [class=1]
    data_rate 57600
    modulation [V.21-C2] [V.27ter] [V.29] [V.17]

  offset 0x68, tuple 0x22, link 0x08
    23 03 00 0f 00 00 00 ff 
  serial_fax_services [class=2]
    data_rate 57600
    modulation [V.21-C2] [V.27ter] [V.29] [V.17]

  offset 0x72, tuple 0x1a, link 0x05
    01 36 00 02 17 
  config base 0x0200 mask 0x0017 last_index 0x36

  offset 0x79, tuple 0x1b, link 0x11
    e0 41 9d 78 5d 1e 26 1d e7 5f aa 60 f8 03 07 24 
    28 
  cftable_entry 0x20 [default]
    [rdybsy] [audio] [pwrdown]
    Vcc Istatic 55mA Iavg 150mA Ipeak 200mA Idown 15mA
    timing ready 500ms
    io 0x03f8-0x03ff [lines=10] [8bit] [range]
    irq 4 [level]

  offset 0x8c, tuple 0x1b, link 0x08
    21 18 aa 60 f8 02 07 23 
  cftable_entry 0x21
    io 0x02f8-0x02ff [lines=10] [8bit] [range]
    irq 3 [level]

  offset 0x96, tuple 0x1b, link 0x08
    22 18 aa 60 e8 03 07 24 
  cftable_entry 0x22
    io 0x03e8-0x03ef [lines=10] [8bit] [range]
    irq 4 [level]

  offset 0xa0, tuple 0x1b, link 0x08
    63 18 aa 60 e8 02 07 23 
  cftable_entry 0x23 [default]
    io 0x02e8-0x02ef [lines=10] [8bit] [range]
    irq 3 [level]

  offset 0xaa, tuple 0x1b, link 0x07
    30 08 a3 60 20 32 07 
  cftable_entry 0x30
    io 0x3220-0x3227 [lines=3] [8bit] [range]

  offset 0xb3, tuple 0x1b, link 0x07
    31 08 a3 60 28 32 07 
  cftable_entry 0x31
    io 0x3228-0x322f [lines=3] [8bit] [range]

  offset 0xbc, tuple 0x1b, link 0x07
    32 08 a3 60 20 42 07 
  cftable_entry 0x32
    io 0x4220-0x4227 [lines=3] [8bit] [range]

  offset 0xc5, tuple 0x1b, link 0x07
    33 08 a3 60 28 42 07 
  cftable_entry 0x33
    io 0x4228-0x422f [lines=3] [8bit] [range]

  offset 0xce, tuple 0x1b, link 0x07
    34 08 a3 60 20 52 07 
  cftable_entry 0x34
    io 0x5220-0x5227 [lines=3] [8bit] [range]

  offset 0xd7, tuple 0x1b, link 0x07
    35 08 a3 60 28 52 07 
  cftable_entry 0x35
    io 0x5228-0x522f [lines=3] [8bit] [range]

  offset 0xe0, tuple 0x1b, link 0x06
    36 18 23 30 bc 86 
  cftable_entry 0x36
    io 0x0000-0x0007 [lines=3] [8bit]
    irq mask 0x86bc [level]

  offset 0xe8, tuple 0x14, link 0x00
  no_long_link

---------------------------------------------------------------