Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 1997 08:15:12 -0500 (CDT)
From:      Douglas Carmichael <dcarmich@mcs.com>
To:        freebsd-mobile@freebsd.org
Subject:   What kernel configuration is needed for the 3Com 3C589D EtherLink III PCMCIA card?
Message-ID:  <199710031315.IAA00294@dcarmich.pr.mcs.net>

next in thread | raw e-mail | index | archive | help
I might be needing to use Ethernet in the near future, and I am wondering what changes to my kernel configuration do I need to make to drive a 3Com 3C589D PCMCIA EtherLink III card? I have an NEC Versa 6050MH with FreeBSD 2.2.2-RELEASE and PAO-970616.
Here is my kernel configuration file:
#
#	Sample Laptop Configuration
#	for lenlen.mt.cs.keio.ac.jp (Toshiba Libretto 30)
#	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
#

machine		"i386"
cpu		"I586_CPU"
ident		NECVERSA-PAO-NEW
maxusers	20
options         CHILD_MAX=128
options         OPEN_MAX=128

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options         MFS                     #Memory Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options         XSERVER                 #Include X server support
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

# laptop-specific configuration
options		LAPTOP

# If your laptop have not had Windoze95-Ready BIOS, please update it.
# Such old BIOS'es sometimes have critical bugs at 32-bit protected
# mode APM BIOS interface (which have not used by Windoze 3.1).

# PC-card suspend/resume support (experimental)
options		APM_PCCARD_RESUME
options		PCIC_RESUME_RESET

# Keep power for serial cards when the system suspends
# (If your machine hangs up when you try to suspend the system with
#  FAX/Modem PCMCIA card, uncomment this option).
#options	SIO_SUSP_KEEP_PWR       

# Detach SCSI devices when the SCSI card is removed
options		SCSI_DETACH

# Some PCI Laptop machines probe PC-card controller twice (via ISA and
# PCI bus).  This option disables PC-card probe routine when the PC-card
# controller has already been probed via PCI bus.
#options	PCIC_PCI_ISA_CONFLICT

# Some PCI Laptop machine reports invalid slot number when the card is
# inserted or removed.  It is prevented by specifying the number of slot
# explicitly. Otherwise, this number is detected automatically.
#options	"PCIC_MAX_SLOTS=2"

# Japanese version of WaveLAN PCMCIA uses 2.4GHz band instead of 915MHz
# band that US version uses.  If you want to use Japanese version of
# WaveLAN, uncomment this line, or edit the corresponding config entry
# of /etc/pccard.conf.
#options	"WAVELAN_PCMCIA_24"

# Suspend the system when the battery status is "Low"
#options	"APM_BATT_LOW_SUSPEND"

# If you want to use NTP on laptop machines, uncomment the following 
# option.  Current APM implementation affects NTP client.
#options	"APM_NO_CLOCK_ADJUST"

# Don't suspend the system immediately before the system is resumed
# from suspended mode (Default 3 seconds)
options		"APM_NOSUSPEND_IMMEDIATE=3"

config		kernel	root on wd0 

controller	isa0
#controller	eisa0
controller	pci0

# Dont remove these two lines!
controller	crd0
device		pcic0   at crd?
device		pcic1   at crd?

# If your machine says that PC-cards are inserted and removed frequently
# even if you don't insert or remove the cards, please try to specify
# the IRQ of PCIC explicitly.
#options	"PCIC_IRQ=12"		# for machines with serial trackball
#options	"PCIC_IRQ=0"		# zero means no IRQ mode

# Some PCMCIA-PCI bridge has peculiar I/O address (default: 0x3e0).  
# If you want to specify I/O address explicitly, uncomment and edit the
# following line (for example, I/O address of PCMCIA bridge of SOTEC 
# Winbook Quattro/V is 0x3000).  To know this value, please read the
# manual of your laptop or device property of PCMCIA bridge from
# Windows95's device control panel.
#options	"PCIC_IO=0x3000"	# for Sotec Winbook Quattro/V

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0

options         ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM

device          wcd0    #IDE CD-ROM

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?		# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Sound devices
controller snd0
device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr
options SBC_IRQ=5
device sbxvi0 at isa? drq 5
device sbmidi0 at isa? port 0x330
device opl0 at isa? port 0x388
device pca0 at isa? port IO_TIMER1 tty

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.

pseudo-device	loop
pseudo-device   speaker
pseudo-device	sl	2
# DHCP uses BPF (Berkeley Packet Filter)
# ijppp uses tun instead of ppp device
pseudo-device	ppp	2
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn		#Vnode driver (turns a file into a device)
And here's my boot messages:
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.2-RELEASE #0: Sat Sep 20 23:10:55 CDT 1997
    dcarmich@dcarmich.pr.mcs.net:/usr/src/sys/compile/NECVERSA-PAO-NEW
CPU: Pentium (150.85-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x544  Stepping=4
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 50331648 (49152K bytes)
avail memory = 46510080 (45420K bytes)
Initializing PC-card drivers: sio wdc 
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=8086 device=1235 subclass=0)> rev 2 on pci0:0
chip1 <generic PCI bridge (vendor=8086 device=1234 subclass=128)> rev 3 on pci0:1
vga0 <VGA-compatible display device> rev 69 on pci0:2
pcic0 <TI PCI-1130 CardBus Controller> rev 4 int a irq ?? on pci0:3:0
CardBus: Legacy PC-card 16bit I/O address [0x3e0]
pcic1 <TI PCI-1130 CardBus Controller> rev 4 int b irq ?? on pci0:3:1
CardBus: Legacy PC-card 16bit I/O address [0x3e0]
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 9 on isa
sio2: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0
pca0 on motherboard
pca0: PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <TOSHIBA MK1401MAV>
wd0: 1376MB (2818368 sectors), 2796 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <TOSHIBA CD-ROM XM-1502B/3326>, removable, accel, dma, iordy
wcd0: 1722Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: no disc inside, unlocked
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.1
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.13>
sbxvi0 at 0x0 drq 5 on isa
sbxvi0: <SoundBlaster 16 4.13>
sbmidi0 at 0x330 on isa
 <SoundBlaster MPU-401>
opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>
PC-Card TI PCI-1130 [i82365 compatible mode] (5 mem & 2 I/O windows)
pcic: controller irq 10

What kind of changes do I need to make?
 
 
 



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