Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 14:28:00 -0500 (EST)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        Nick Hibma <hibma@skylink.it>
Cc:        FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   Re: sbc and pcm
Message-ID:  <Pine.BSF.4.20.9911221427070.7305-100000@sasami.jurai.net>
In-Reply-To: <Pine.BSF.4.20.9911221710300.66950-100000@henny.jrc.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter@jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter | This Space For Rent  | ISO8802.5 4ever |



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.20.9911221427070.7305-100000>