Subject: Re: kern/2235: new config changes fail on mac68k port
To: None <is@beverly.rhein.de>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
List: netbsd-bugs
Date: 03/21/1996 18:30:25
> Jason Thorpe (thorpej@nas.nasa.gov) wrote:
> : Short version of the story: the mac68k "mainbus" driver uses "indirect
> : autoconfigration" to attach children. This changes the second argument
> : (the "match" argument) to the match/probe routines from a "struct cfdata *"
> : to a "struct device *" ... the ncr5380 drivers attach to mainbus on a mac.
>
> What's an indirect autoconfiguration? (Read: how would I recognize one
> if encountered?)
"indirect autoconfiguration" is what happens when the only way you can
know if a device is there on the bus or not is to actually go out and
look for it.
"direct autoconfiguration" is the case where you can easily tell
what's there, in a device independent way.
easy example of the former:
ISA
easy examples of the latter:
EISA
PCI
TurboChannel
sbus
and others.
How to tell what's what, looking at the sources, is a different
matter that I can detail further if people wnat me to...
cgd