Subject: PCMCIA Ehernet Card on IBM TP755CX Laptop.
To: port-i386@netbsd.org <port-i386@NetBSD.ORG>
From: Deng Hongwei <dhongwei@sz.cei.gov.cn>
List: port-i386
Date: 01/14/1998 11:18:06
Well, both IBM Credit Card and 3com 3c589D can work on my IBM TP755CX
laptop *sometimes* Now.

Here is the Hardware setting of my IBM TP755CX:
        port    irq
lpt0:   0x3bc   7
lpt1:   0x378   7
lpt2:   0x278   5

and the config file for it:
lpt0  at isa? port 0x3bc irq 7
lpt1  at isa? port 0x378 irq 7
*lpt2  at isa? port 0x278 irq 5

ep*   at pcmcia? function ?
ne*   at pcmcia? function ?

and the problem with diffrent setting:

( * E -- Enable, D -- Disable
   IBM -- IBM Credit Card Enthernet Adapter
   3com -- 3com 3c589D Enthernet Adpater

Condition A:
                lpt0    lpt1    lpt2
hardware set:   E       D       D
config file:    E       D       D
port using:     0x3bc  
irq using:      7
result:
  IBM:  failed to pass 'tmp = bus_space_read_1(nict,nich,ED_P0_ISR)'
        in ne2000.c
  3com: using irq 5, but cause screen display not correctly, and print 
        'stray for irq 7'

Condition B:
                lpt0    lpt1    lpt2
hardware set:   D       E       D
config file:    D       E       D
port using:             0x378  
irq using:              7
result:
  IBM:  always failed to pass ne2000_writemem(... 8192 ... 0) in ne2000.c, 
        sometimes failed pass ne2000_writemem(... 16384 ... 1) in ne2000.c,
        but when sometimes passed ne2000_writemem(... 16384 ... 1), it uses
        irq 5, and then works about 10 mins, then print a lot of 
        'ne0: NIC memory corrupt'
  3com: using irq5, but print
        'lpt1 page out'

it seems the PCMCIA Ehernet Cards conflict with lpt?, espcially when lpt using
port 0x3bc. I now want to test it by manually let PC CARD using irq 10 or irq
11, but don't know howto, I've tried 'ne* at pcmcia? function ? irq 10' which
doesn't work.

Thanks.