Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 09:57:34 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        green@FreeBSD.org
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/sound/isa ad1816.c ess.c mss.c sb16.c sb8.c sbc.c src/sys/dev/sound/pci cmi.c csa.c csapcm.c ds1.c emu10k1.c ich.c t4dwave.c src/sys/dev/sound/pcm sound.h 
Message-ID:  <20040414.095734.10291306.imp@bsdimp.com>
In-Reply-To: <200404141522.i3EFM1eS049089@green.homeunix.org>
References:  <scottl@freebsd.org> <200404141522.i3EFM1eS049089@green.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200404141522.i3EFM1eS049089@green.homeunix.org>
            "Brian F. Feldman" <green@FreeBSD.org> writes:
: Scott Long <scottl@freebsd.org> wrote:
: > Brian Feldman wrote:
: > > green       2004/04/14 07:57:50 PDT
: > >           INTR_MPSAFE HAS BEEN REMOVED FROM EVERY SOUND DRIVER!
: > Ha! you touched it last!  Neener neener neener!
: 
: Heh, I'll certainly do my own part to make sure the drivers I use get 
: converted.  It would suck less trying to do driver development if current 
: drivers didn't panic so much because of kldload/kldunload.  For example, 
: kldload usb stuff after it's been unloaded sees something stale and crashes, 
: and sound drivers get EBUSY when I don't see any openers, then the second
: kldunload causes a crash instead of returning EBUSY again because things
: must have been half-torn-down.

kldload/kldunload have nothing to do with it.  If the drivers are
stupid, that's their own damn fault.  usb is a known problem child
that needs to be fixed.  If there are others that need to be fixed,
then fix them.  You have the source, use it :-).

I've used kldload/kldunload extensively in the development of cardbus,
pccard and pccbb.  I'd be totally lost w/o it.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414.095734.10291306.imp>