*BSD News Article 34100


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:12228 comp.os.386bsd.misc:3114
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!darkstar.UCSC.EDU!news.hal.COM!decwrl!tribune.usask.ca!quartz.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!xenlink!fsa.ca!deraadt
From: deraadt@fsa.ca (Theo de Raadt)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Subject: Re: BT445C == No FreeBSD???
Date: 09 Aug 1994 07:11:25 GMT
Organization: little lizard city
Lines: 35
Message-ID: <DERAADT.94Aug9011125@newt.fsa.ca>
References: <31vs36$qgv@tekgen.bv.tek.com> <Cu4w68.99B@tfs.com>
	<DERAADT.94Aug6165915@newt.fsa.ca> <3272h7$9ip@u.cc.utah.edu>
NNTP-Posting-Host: newt.fsa.ca
In-reply-to: terry@cs.weber.edu's message of 9 Aug 1994 05:00:23 GMT

In article <3272h7$9ip@u.cc.utah.edu> terry@cs.weber.edu (Terry Lambert) writes:
>   ] This defines up to 3 3c509/3579 ethernet cards, and doesn't say what
>   ] ports or irqs they are at. The kernel boots:
>   ] 
>   ]     ep0 at isa0 port 0x6000-0x600f irq 3: aui address 00:60:8c:70:e5:c5
>   ]     ep1 at isa0 port 0x300-0x30f irq 3: aui/bnc/utp address 00:20:af:10:62:ab
>
>   Uh, what determines the device order?

The NetBSD ep(4) man page says:

     If there are multiple cards in the computer, they are searched for in the
     following order: The 3c579 EISA cards are searched for first -- they will
     be found in EISA slot# order.  Next, the 3c509 ISA cards are searched --
     they are found in increasing ethernet address order.

I considered sorting all cards by ethernet address, but the slot
ordering for EISA cards is also quite useful.  You can always write
explicit config file entries.

>   The problem with a "replies first" naming is that you can't guarantee
>   the same address assignement each time without some shell script
>   gyrations (if you can afford them).  Specifically, what if one of
>   these cards is inside a firewall and the other one is outside?

EISA cards are trivial found at address "SLOT * 0x1000".  The ISA
cards always respond in ethernet address order, prompted by a bizzare
byte dance done at IO address 0x100.  All of this is described in
brutal detail in the 3c509 manual.

>   Be a real bummer to make a mistake.

The manual does not mention any possible mistakes.
--
This space not left unintentionally unblank.		deraadt@fsa.ca