Subject: Re: CVS commit: src/sys/arch/i386/conf
To: grant beattie <grant@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: source-changes
Date: 05/22/2004 16:19:49
On Sat, May 22, 2004 at 02:54:18PM +1000, grant beattie wrote:
> On Sat, May 22, 2004 at 01:32:08PM +0900, Izumi Tsutsui wrote:
> 
> > > correct - my kernel is essentially GENERIC with a bunch of stuff
> > > removed, but `scsibus* at scsi?' is still there.
> > 
> > Hmm, then I wonder why I don't have to have `atapibus* at umass?'
> > to use my USB camera...
> 
> does it attach to wd@umass or sd? I suspect wd in this context should
> really be wd@atabus@umass, but that's another matter.

No, atabus and umass are at the same level in the config herarchy.
Both offer a way to transfer data from/to a wd device, but do it in a different
way: atabus drive the wd device directly from its register, while
umass talks to a ata/usb bridge which hide the ATA registers from us.

Back to umass and scsi:
scsibus* at scsi? should be enouth to have a scsibus attach to umass.
If it doesn't there is a bug somewhere (a missing scsi attribute ?)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--