Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 1998 04:27:49 -0400
From:      "Stephen A. Derdau" <sderdau@bit-net.com>
To:        Matthew Hagerty <matthew@wolfepub.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ed1: device timeout?
Message-ID:  <35877E05.B79D303D@bit-net.com>
References:  <3.0.3.32.19980616152107.03261b14@wolfepub.com> <3.0.3.32.19980616174631.03160de4@wolfepub.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Hagerty wrote:
> 
> The card is a PCI card, I can't set its IRQ :(  There are no other PCI
> *cards* in the machine.
> 
> Matthew
> 
Ok I searched the freebsd website the mailing list archive: it's the 2nd
input
field:

Here is 3 things I found: I used pci AND irq when doing a search .
Here is the link to the search page:
http://www.freebsd.org/search.html

*****************************************************
Matthew Hagerty is responsible for:
> Greetings,
> 
>     I am trying to configure a generic PCI NE2000 compatible network card
> on an Intel Venus MB with a Pentium-Pro 150.  The version of FreeBSD is
> 2.1.6. (from a CD-ROM).
> 
>     What should the device be?  I would assume ed0 since it is NE2000, but
> how do I set the IRQ and base address?  The IRQ might change if I add or
> remove any other PCI cards and there does not seem to be any way for me to
> set the base address of the card (i.e. the set-up disk that came with the
> card does not provide any way to view or set a familiar address such as
> 0x300h.)  I thought PCI cards did not need this type of set-up??  Can PCI
> based NE2000 compatible cards be used with FreeBSD, or are only certain PCI
> network cards supported?
> 
>     Any insight would be greatly appreciated.  Thank you.
> 
> Matthew Hagerty
> oldman@internet1.net
> 
I was using a PCI NE2000 card with FreeBSD 2.1.6 (I'm now up to 2.2) 
and I needed to do the following to make it work:
1) Install the card
2) Use the software with the card to figure out what it's irq and i/o
   port are.  My card's software told me that it was irq 10 and i/o
   port 0xef80.
3) If installing for the first time, boot the disk.  If you are adding
   this card to an existing system, type 
        -c
   at the Boot: prompt.
4) Select the non-visual configuration if using the boot disk.  If
   booting your existing system, I believe that this is the default.
5) Set the i/o port and irq for ed0 by typing
        irq ed0 10
        port ed0 0xef80
   Of course, use whatever numbers your card's software gave you in
   step 2.
6) type q and press enter to continue the installation/booting.  Your
   card should work.

If you are adding this card to a system with the kernel source, you
can set this stuff up in the kernel configuration file.  There is a
line like:
  device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
which you can change to
  device ed0 at isa? port 0xef80 net irq 10 iomem 0xd8000 vector edintr
Recompile your kernel, reboot, and call it a day.

Hope this helps.



***************************************************************************
On Thu, 2 Nov 1995, Gary Crutcher wrote:

> Help!
> 
> For those of you who have installed an SMC EtherPower Combo PCI Ethernet 
> adapter, how did you adjust the settings?  FreeBSD assumed ed0 to be at 
> port 0x280, irq 5, mem 0xd8000. The SMC ethernet card has no way setting 
> these values, as you would be able to with an ISA/EISA card.  Any 
> suggestions would be greatly appreciated.
> 
PCI keyword (characters)

They use de0 not ed0 de0 is for the DEC ethernet cards (Dec Chipset)
PCI bus assigns the port and IO for the card which then in turn the 
kernel reads the information from the system at boot time. You will find 
that you have much better luck using de0 for most PCI Ethernet cards.

Matt
***************************************************************
> Are there any plans to support any of the (now fairly common) PCI
> NE2000 clones floating around?
> 
> I have one in my machine which Linux dealt with fine, but FreeBSD
> can't see - hence I can't at the moment install FreeBSD to do some
> of the development work I had planned.

2.2 does support them (and 2.1R as well, provided you put the right io
and irq values in the ed driver).

        Luigi
**********************************************************************>
>

******************************************************


> >

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



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