Date: Tue, 23 Nov 1999 09:47:32 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: Peter Wemm <peter@netplex.com.au> Cc: "Matthew N. Dodd" <winter@jurai.net>, Nick Hibma <hibma@skylink.it>, FreeBSD CURRENT Mailing List <current@freebsd.org> Subject: Re: sbc and pcm Message-ID: <Pine.BSF.4.10.9911230945570.318-100000@salmon.nlsystems.com> In-Reply-To: <19991122202239.5A75C1C6D@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911230945570.318-100000>