On Tue, 23 Nov 1999, Peter Wemm wrote:

> "Matthew N. Dodd" wrote:
> > On Mon, 22 Nov 1999, Nick Hibma wrote:
> > > My compliments on the sbc bridge drivers. This is what newbus is
> > > supposed to look like. Anyone wanting to know what a bridge driver is,
> > > have a look at
> > > 
> > >   sys/dev/sound/isa/sbc.c
> > > 
> > > Beautiful in its simplicity:
> > > 
> > >   probe
> > >   attach (create a few children: pcm, midi, etc.)
> > >   helper functions (alloc/free resource).
> > 
> > Actually, I've a few issues with it but I'm sure Peter will cover anything
> > I have to say.
> > 
> > Mostly, sbc.c is handling PnP ID matching in a totally bogus manner.
> 
> Yes, it's quite bogus and is incompatible with motherboard devices.  There
> should be no vendor ID references in there at all, that's for card ID, not
> device id.

I thought the problem with that (which was present in the non-bridged sb
driver too) is that for sound cards, we need to use both logical and
vendor IDs to detect things accuratly (a surprisingly large number of
cards are just labeled CSC0001 or similar).

--
Doug Rabson                             Mail:  [EMAIL PROTECTED]
Nonlinear Systems Ltd.                  Phone: +44 181 442 9037




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to