Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2003 18:09:04 -0500
From:      Mathew Kanner <mat@cnd.mcgill.ca>
To:        Scott Long <scottl@freebsd.org>
Cc:        multimedia@freebsd.org
Subject:   Re: Re: HEADSUP: Soekris and generic LED/lamp support in FreeBSD-current
Message-ID:  <20031107230904.GJ94805@cnd.mcgill.ca>
In-Reply-To: <20031107154956.D51343@pooker.samsco.home>
References:  <Pine.NEB.3.96L.1031104210859.71158B-100000@fledge.watson.org> <20031107204812.GD374@arthur.nitro.dk> <20031107210525.GG34063@elvis.mu.org> <20031107152814.Y51343@pooker.samsco.home> <20031107223606.GI94805@cnd.mcgill.ca> <20031107154956.D51343@pooker.samsco.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 07, Scott Long wrote:
> On Fri, 7 Nov 2003, Mathew Kanner wrote:
> > On Nov 07, Scott Long wrote:
> > > On Fri, 7 Nov 2003, Alfred Perlstein wrote:
> > > > * Simon L. Nielsen <simon@FreeBSD.org> [031107 12:48] wrote:
> > > > > On 2003.11.07 08:43:11 -0800, Bruce A. Mah wrote:
> > [...snip...]
> >
> > 	kldunload should unload all driver.  I plan to augment
> > /dev/sndstat to show which driver is actually behind the device.
> 
> The current semantics are intentional (IIRC from talking with Cameron).
> The idea was to make it easy to load the correct sound driver without
> having to know specifically which one you needed, but not waste RAM by
> loading all of them.  Modifying /dev/sndstat like you said would be
> interesting, but changing the unload semantics then makes things less
> convenient.

	kldunload does unload all the drivers, at least on my machine.
I can't think of an easy way to implement those semantics without
preventing the unload of an attached driver in the general case.

	--Mat

-- 
	Canada is a country whose main exports are hockey players
	and cold fronts. Our main imports are baseball players and
	acid rain.
			- Pierre Elliott Trudeau



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