Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2000 15:21:40 -0800
From:      "Dr. Brain" <drbrain@toxic.magnesium.net>
To:        freebsd-current@freebsd.org
Subject:   EP401 PCMCIA ethernet
Message-ID:  <20000302152140.A28004@toxic.magnesium.net>

next in thread | raw e-mail | index | archive | help

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii

I've got a laptop that is using one of these lovely little buggers,
but not with -current.  I recently upgraded to the 4.0-20000227
snapshot but to my disappointment, the card is not listed in
pccard.conf.  Previously I was running 3.2-PAO, and the card worked
just fine.  It is an ed0/NE2000 compliant card, and I think the
pccard.conf entry should look like the pccard.conf attachment.
I've also included the pccardd dumpcis information for the card
for someone to take a look at.

When I insert the card with the attached pccard.conf it reports:

<date> eric3 /kernel: pccard: card inserted, slot 0
<date> eric3 pccardd[44]: No card in database for "RPTI"<"EP401 Ethernet NE2000 Compatible")

When I insert the card with the standard pccard.conf it reports the same.
(I had it printing out "No card in database for ""("")" once, but
I forgot what I did.)

The line from my kernel config looks like this:

device		ed0	at isa? port 0x320 irq 9 iomem 0xd8000

Any pointers?

-- 
Eric Hodel - drbrain@segment7.net - http://segment7.net

"If you understand what you're doing, you're not learning anything."
	-- A. L.

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pccard.conf"

io	0x240-0x360
irq	3 9 10 11 13 15
memory	0xd4000	96k

card "RPTI" "EP401 Ethernet NE2000 Compatible"
	config 0x21 "ed0" 9
	insert logger -t pccard: -s RPTI EP401 inserted
	insert /etc/pccard_ether 
	remove logger -t pccard:  -s RPTI EP401 removed
	remove /sbin/ifconfig  delete

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="EP401.cisdump"

Configuration data for card in slot 1
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  dc 00 ff
	Common memory device information:
		Device number 1, type Function specific, WPS = ON
		Speed = 100nS, Memory block size = 512b, 1 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
    000:  49 00 ff
	Attribute memory device information:
		Device number 1, type EEPROM, WPS = ON
		Speed = 250nS, Memory block size = 512b, 1 units
Tuple #3, code = 0x15 (Version 1 info), length = 57
    000:  04 01 52 50 54 49 00 45 50 34 30 31 20 45 74 68
    010:  65 72 6e 65 74 20 4e 45 32 30 30 30 20 43 6f 6d
    020:  70 61 74 69 62 6c 65 00 00 00 00 00 00 00 00 00
    030:  00 00 00 00 00 00 00 00 ff
	Version = 4.1, Manuf = [RPTI],card vers = [EP401 Ethernet NE2000 Compatible]
	Addit. info = [],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]
Tuple #4, code = 0x13 (Link target), length = 3
    000:  43 49 53
Tuple #5, code = 0x21 (Functional ID), length = 2
    000:  06 00
	Network/LAN adapter
Tuple #6, code = 0x1a (Configuration map), length = 5
    000:  01 23 f8 03 03
	Reg len = 2, config register addr = 0x3f8, last config = 0x23
	Registers: XX------ 
Tuple #7, code = 0x1b (Configuration entry), length = 17
    000:  e0 81 1d 3f 55 4d 5d 06 86 46 26 fc 24 65 30 ff
    010:  ff
	Config index = 0x20(default)
	Interface byte = 0x81 (I/O)  wait signal supported
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Minimum operating supply voltage: 4.5 x 1V
		Maximum operating supply voltage: 5.5 x 1V
		Continuous supply current: 1 x 100mA
		Max current average over 1 second: 1 x 100mA, ext = 0x46
		Max current average over 10 ms: 2 x 100mA
	Wait scale Speed = 1.5 x 10 us
	Card decodes 4 address lines, 8 Bit I/O only
		IRQ modes: Level
		IRQ level = 4
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  20 08 ca 60 00 03 1f
	Config index = 0x20
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x300 block length = 0x20
Tuple #9, code = 0x1b (Configuration entry), length = 7
    000:  21 08 ca 60 20 03 1f
	Config index = 0x21
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x320 block length = 0x20
Tuple #10, code = 0x1b (Configuration entry), length = 7
    000:  22 08 ca 60 40 03 1f
	Config index = 0x22
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x340 block length = 0x20
Tuple #11, code = 0x1b (Configuration entry), length = 7
    000:  23 08 ca 60 60 03 1f
	Config index = 0x23
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x360 block length = 0x20
Tuple #12, code = 0xff (Terminator), length = 0
2 slots found

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-20000227-CURRENT #0: Sun Feb 27 19:07:15 PST 2000
    root@erich3.segment7.net:/usr/src/sys/compile/LAPTOP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (132.96-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 41943040 (40960K bytes)
avail memory = 38047744 (37156K bytes)
Preloaded elf kernel "kernel" at 0xc0297000.
Intel Pentium detected, installing workaround for F00F bug
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.1, connected at v1.1
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
chip1: <PCI to Other bridge (vendor=8086 device=1234)> at device 1.0 on pci0
pci0: <NeoMagic model 0001 VGA-compatible display device> at 2.0 irq 15
pcic-pci0: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0x3e0-0x3e3 at device 4.0 on pci0
isa0: <ISA bus> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcic: management irq 10
pcic0: <Cirrus Logic PD672X> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sbc0: <ESS 688> at port 0x220-0x22f irq 5 drq 1 on isa0
pcm0: <SB DSP 3.01 (ESS mode)> on sbc0
ad0: 2067MB <IBM-DTNA-22160> [4200/16/63] at ata0-master using BIOSPIO
Mounting root from ufs:/dev/ad0s2a

--J2SCkAp4GZ/dPZZf--


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000302152140.A28004>