*BSD News Article 34036


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:12184 comp.os.386bsd.misc:3087
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!gatech!nntp.msstate.edu!olivea!charnel.ecst.csuchico.edu!xmission!u.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (Terry Lambert)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Subject: Re: BT445C == No FreeBSD???
Date: 9 Aug 1994 05:00:23 GMT
Organization: Weber State University, Ogden, UT
Lines: 40
Message-ID: <3272h7$9ip@u.cc.utah.edu>
References: <31vs36$qgv@tekgen.bv.tek.com> <Cu4w68.99B@tfs.com> <DERAADT.94Aug6165915@newt.fsa.ca>
NNTP-Posting-Host: cs.weber.edu

In article <DERAADT.94Aug6165915@newt.fsa.ca> deraadt@fsa.ca (Theo de Raadt) writes:

[ ... ]

] I've decided to describe how the new NetBSD deals with this issue. I
] think it rather neat, and also worthwhile for people to know about.

] My config file also contains these three lines:
] 
]     device          ep0 at isa? port ? irq ?
]     device          ep1 at isa? port ? irq ?
]     device          ep2 at isa? port ? irq ?
] 
] 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?

Specifically, it isn't sorted by port, and it isn't sorted by IRQ (that
you can tell, anyway) and it isn't sorted by hardware address (unless
it's reverse sorted order)... is it by who replies first?

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?

Be a real bummer to make a mistake.

Is the answer the shell script from hell, or what?


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.