Subject: nubus_attach() and the LC III
To: None <port-mac68k@NetBSD.ORG>
From: Denny Gentry <denny1@home.com>
List: port-mac68k
Date: 07/09/1997 23:25:16
It appears that the PDS slot in the LCIII maps in at a
wide address range. nubus.c always probes for 6 nubus slots,
but an ethernet card in an LCIII shows up in three of them:

nubus0 at mainbus0
sn0 at nubus0
sn1 at nubus0
sn2 at nubus0
fpu0 at mainbus0 (emulator)

  There is only one sn card. nubus_attach() gets fooled
because the card's declaration ROM shows up at a very
wide range of addresses.

  The first question is: has anyone else seen similar effects
on an LC I/II/III ?

  The second question is how to fix it? A custom kernel can hard
code only one sn0 device, but that means GENERIC kernels
will not work well on the LCIII. Alternately, nubus.c can be changed
to have some knowledge about "special" machines and how many
slots they actually have, instead of always probing 6. Any
thoughts?

--Denny