Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 1999 09:37:58 +0000
From:      Alex <ak@freenet.co.uk>
To:        Mike <bigmike@Mlink.net>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: Ethernet pccard config problem
Message-ID:  <381C0DF6.6B177C33@freenet.co.uk>
References:  <381B537C.A01A3AB8@Mlink.NET> <381B72B7.85E1102B@freenet.co.uk> <19991030173510.C1518@pir.net> <008c01bf2320$1746ba20$886be2d1@bellglobal.com> <19991030180005.D1518@pir.net> <009d01bf2322$c96d31a0$886be2d1@bellglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike wrote:
> 
> well my ethernet card work in windows98, But in freebsd it's the only card
> I've tried so far ...
> how do I find out if I'm using the right irq and menory range ?


OK Mike - I'm pretty sure that the driver for your card is ed0.

You shouldn't need to hardwire you pccard controller to any IRQ; the
following lines in your kernel config file should detect it:

controller      card0
device          pcic0 at card?
device          pcic1 at card?

At least, it works for me (I also have the TI-1131).

Now the IRQ and port number for the *card* should be hardcoded in your
kernel.  For example,

device ed0 at isa? port 0x280 irq 9

The easiest way to find out the IRQ and port is run Windoze and check
the settings in Control Panel/System.   Some manufacturers (e.g. 3Com)
also supply a DOS utility to change these values, so if you're not happy
with your IRQ, it might be possible to change it.

If your PCCard bridge is detected, you should see it in your dmesg.  You
should then run "pccardc dumpcis" to find out more about your card.

BTW, you can change iomem and other parameters in /etc/rc.conf:

pccard_enable="YES"      # Set to YES if you want to configure PCCARD
devices.
pccard_mem="d8000"    # If pccard_enable=YES, this is card memory
address.
pccard_ifconfig="NO"    # Specialized pccard ethernet configuration (or
NO).
pccardd_flags=""        # Additional flags for pccardd.

You might also try to change the IRQ of your pcic in
/boot/loader.conf.local, e.g.:

machdep.pccard.pcic_irq="10"    # Assigns PCCARD controller IRQ
(0=polled)


I can't be more helpful unless you send me the output of dmesg and
pccardc dumpcis.

Alex


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?381C0DF6.6B177C33>