Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 04:42:07 -0800
From:      Joseph Maxwell <jaymax@ns.net>
To:        Toomas Aas <toomas.aas@raad.tartu.ee>
Cc:        questions@FreeBSD.ORG, Drew Tomlinson <drew@mykitchentable.net>
Subject:   Re: 2 NIC's, only one seen w/ kernel rebuild
Message-ID:  <3BEFC39F.28B2C70C@ns.net>
References:  <200111120916.fAC9GBQ12015@lv.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
Well! Well! Well!
This becomes more interesting, wooow!
I recompiled again this time using -

device  ed0 at isa? port 0x240 irq 5 iomem 0xd8000
device  ed1 at isa? port 0x260 irq 9 iomem 0xc4000

note new iomem at 0xc4000,  results the same, only ed0 recognized.
I read somewhere that (oh!) the manual, p31,  that onboard controllers may
use memory
w/ addresses between 0xa0000 and 0xeffff as iomem. I didn't see any apparent
conflicts and
made the choice shown arbitrarily.

Toomas Aas wrote:

> Hi Drew!
>
> On 11 Nov 01 at 16:47 you wrote:
>
> > > From: "Joseph Maxwell" <jaymax@ns.net>
> > > device  ed0 at isa? port 0x240 irq 5 iomem 0xd8000
> > > device  ed1 at isa? port 0x260 irq 9 iomem 0xd8000
> >
>                          ^^^^^^^
> > Both cards can't use the same memory area.
>
> Strangely enough, I have an old 486dx system in use as a router,
> with very similar ed lines (both using the same iomem
> address) in kernel configuration file .
>
> The cards I use are not Netgear, they are some noname jumperless
> cards from the beginning of '90-s. I have no idea how to find out
> or set the actual iomem address of these cards. There is a DOS
> setup utility but it only enables to set IRQ and I/O address
> (which is seen as 'port' in the lines above).
>
> After I compiled the kernel, neither of the cards worked. Then I
> put the following into kernel.conf file:
>

>
> en ed0
> po ed0 0x300
> ir ed0 5
> iom ed0 0xd8000
> f ed0 0
> en ed1
> po ed1 0x320
> ir ed1 10
> iom ed1 0xd8000
> f ed1 0
> q
>

Now, I have a question, rather several
(i) where did these keywords come from?
(ii)  what are their functions - just want to know what is going on and
(iii) are they universally applicable - are they part of the LINT syntax?
[Do I have to use these w/ some sort of invocations & supplication to the
gods]

Thanks

--  Joe  --


>
> After rebooting, the cards started working and I've had no problems
> with them since.
> --
> Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
> * I take my wife everywhere, but she keeps finding her way back.


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?3BEFC39F.28B2C70C>