Date: Fri, 26 Feb 1999 12:18:24 -0800 From: Soumen Biswas <sbiswas@metabyte.com> To: "Steve O'Hara-Smith" <steveo@iol.ie> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Edimax PCMCIA Ethernet Message-ID: <36D70190.538304A@metabyte.com> References: <XFMail.990226103113.steveo@iol.ie>
index | next in thread | previous in thread | raw e-mail
Thanx for the info Steve
I still have a problem :
When I start pccardd I get the following error msg :
Return IRQ=15
kernel: stray IRQ=15
....
I tried with IRQ 10 but the same problem persisted ...
My /etc/pccard.conf :
io 0x300-0x360
irq 15
memory 0xd4000 96k
card "PCMCIA" "Ethernet"
config 0x21 "ed0" 15
insert echo card inserted
insert /usr/sbin/ifconfig ed0 193.97.56.253
remove echo card removed
remove ifconfig ed0 delete
My kernel config file : ( as per your instructions I included ed also )
#
# PCCARD -- GENERIC laptop support
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $Id: PCCARD,v 1.1.2.1 1997/11/01 18:55:45 nate Exp $
machine "i386"
#cpu "I386_CPU"
#cpu "I486_CPU"
cpu "I586_CPU"
#cpu "I686_CPU"
ident MYPCARD
maxusers 10
#options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options NFS #Network 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 UCONSOLE #Allow users to grab the console
options FAILSAFE #Be conservative
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
config kernel root on wd0
controller isa0
controller pci0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
options "CMD640" # work around CMD640 chip deficiency
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
#controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
#options ATAPI #Enable ATAPI support for IDE bus
#options ATAPI_STATIC #Don't do it as an LKM
#device wcd0 #IDE CD-ROM
#controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
#controller scbus0
#device sd0
#device od0 #See LINT for possible `od' options.
#device st0
#device cd0 #Only need one of these, the code dynamically grows
# 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" flags 0x1 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
# PCCARD (PCMCIA) support
controller card0
device pcic0 at card?
device pcic1 at card?
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? disable port "IO_COM3" tty irq 5 vector siointr
#device sio3 at isa? disable port "IO_COM4" 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
device ed0 port 0x300 net irq 15 iomem 0xd8000 vector edintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device fe0 at isa? port 0x300 net irq ? vector feintr
#options LINT_PCCARD_HACK
#device ze0 at isa? port 0x300 net irq 15 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 15 iomem 0xd8000 vector zpintr
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 1
# ijppp uses tun instead of ppp device
#pseudo-device ppp 1
pseudo-device vn 1
#pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
pseudo-device bpfilter 4 # For tcpdump
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options KTRACE #kernel tracing
# This provides support for System V shared memory.
#
options SYSVSHM
options SYSVMSG
options SYSVSEM
Steve O'Hara-Smith wrote:
> On 26-Feb-99 Soumen Biswas wrote:
> > Hi ,
> >
> > This is the first time I have installed FreeBSD ( 2.2.8-RELEASE ) on
> > laptop ( Compaq Armada 7350 MT)
> > and am having trouble configuring my ethernet card ( Edimax EP4000 ,
> > NE2000 Compatible ).
>
> OK I have an Edimax EP4000 working (under 3.1 stable). The ze driver
> might be able to drive it but I don't think so I use the pccard stuff.
>
> Step 1: Enable pccard in kernel (you'll need to change the config
> and compile a new kernel make sure you include ed0 as well).
>
> Step 2: Enable pccard support in rc.conf
>
> Step 3: Add the following to /etc/pccard.conf
>
> #EDIMAX NE2000 clone
> card "PCMCIA" "Ethernet"
> config 0x21 "ed0" 10
> insert echo EDIMAX PCMCIA Ethernet card inserted
> insert /etc/pccard_ether ed0
> remove echo EDIMAX PCMCIA Ethernet card removed
> remove /sbin/ifconfig ed0 delete
>
> Step 4: Try it and let us know what happened.
>
> ----------------------------------
> E-Mail: Steve O'Hara-Smith <steveo@iol.ie>
> Date: 26-Feb-99
> Time: 10:25:53
>
> This message was sent by XFMail
> ----------------------------------
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D70190.538304A>
