Subject: Re: PCMCIA support fails on Peacock Challenger 590
To: None <port-i386@NetBSD.ORG>
From: Matthias Scheler <tron@lyssa.owl.de>
List: port-i386
Date: 05/17/1997 01:32:00
In article <5lgdsr$5rl@colwyn.owl.de>,
tron@lyssa.owl.de (Matthias Scheler) writes:
> But neither the precompiled 1.2-PCMCIA kernel nor
> a self made one based on 970513 current sources recognize the 3c589.
Ok, I finally solved that problem by modifying the probe routine and
the 3COM is detected:
pcicmaster0 at isa0 port 0x3e0-0x3e1
pcic0 at pcicmaster0: Intel 82365sl Rev. 0 slots 0-1 iomem d4000-d4fff irq 11
pcmcia0 at pcic0
pcmcia0: slot 0 contains <3Com Corporation, 3C589, TP/BNC LAN Card Ver. 1a, 000001>
But afterwards the driver can't attach it:
pcmcia0: slot 0 requested irq 10, avail_mask 0
bus_config 19
pcmcia0: slot 0: No matching config entry.
pcmcia0: slot 1 is empty
But I *have* an entry for the card in the configuration file. I've
attached the kernel configuration, maybe I'm missing something.
Thanks in advance
--
Matthias Scheler http://home.pages.de/~tron/
#
# SHARON's Kernelkonfiguration
#
include "arch/i386/conf/std.i386"
options I586_CPU
#options VM86 # Virtual 8086 emulation
options DUMMY_NOPS # speed hack; recommanded
options XSERVER,UCONSOLE
#options INSECURE
maxusers 32 # estimated number of users
options DDB # in-kernel debugger
#makeoptions DEBUG="-g" # compile full symbol table
options DIAGNOSTIC # internally consistency checks
options KTRACE # system call tracing, a la ktrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
#options SHMMAXPGS=1024 # 1024 pages is the default
options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
options COMPAT_09 # NetBSD 0.9,
options COMPAT_10 # NetBSD 1.0,
options COMPAT_11 # NetBSD 1.1,
options COMPAT_12 # NetBSD 1.2,
options COMPAT_43 # and 4.3BSD
options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
options COMPAT_SVR4 # binary compatibility with SVR4
options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options COMPAT_LINUX # binary compatibility with Linux
options COMPAT_FREEBSD # binary compatibility with FreeBSD
options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux)
options USER_LDT # user-settable LDT; used by WINE
options LKM # loadable kernel modules
file-system FFS # UFS
#file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network File System client
#file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
#file-system FDESC # /dev/fd
file-system KERNFS # /kern
#file-system NULLFS # loopback file system
#file-system PORTAL # portal filesystem (still experimental)
file-system PROCFS # /proc
#file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION # union file system
#options NFSSERVER # Network File System server
#options QUOTA # UFS quotas
options FIFO # FIFOs; RECOMMENDED
options APM_NO_IDLE
#options PCMCIA_DEBUG
#options PCMCIA_ISA_DEBUG
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
#options MROUTING # IP multicast routing
#options NS # XNS
#options NSIP # XNS tunneling over IP
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
config netbsd root on ? type ?
#
mainbus0 at root
pci0 at mainbus0 bus 0
isa0 at mainbus0
npx0 at isa? port 0xf0 irq 13 # math coprocessor
#pc0 at isa? port 0x60 irq 1 # generic PC console device
vt0 at isa? port 0x60 irq 1
options PCVT_NSCREENS=8
options COLOR_KERNEL_BG=BG_BLACK
com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
com1 at isa? port 0x2f8 irq 3
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
fd0 at fdc0 drive 0
wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
wd0 at wdc0 drive 0
#spkr0 at pckbd? port 0x61
#apm0 at mainbus?
# Multiple controllers need some testing. Some laptops have multiple PCIC
# controllers instead of two-slot controllers.
# The i82365 (pcic) controller uses the same ports for the first two
# controllers and for the second two controllers.
# IRQ 2/9 doesn't seem to work for status change interrupts, so use one
# of the higher ones.
pcicmaster0 at isa? port 0x3E0 size 2
pcic0 at pcicmaster0 irq 11 iomem 0xd4000 iosiz 4096
pcmciabus* at pcic?
ep0 at pcmciabus? port 0x300 size 0x10 irq 10 slot ?
pseudo-device loop 1 # network loopback
pseudo-device bpfilter 2 # packet filter
pseudo-device sl 2 # CSLIP
pseudo-device ppp 2 # PPP
#pseudo-device tun 2 # network tunneling over tty
pseudo-device pty 64 # pseudo-terminals
pseudo-device tb 1 # tablet line discipline
pseudo-device vnd 4 # paging to files
#pseudo-device ccd 4 # concatenated disk devices