Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 1997 19:48:23 -0800
From:      Julian Elischer <julian@whistle.com>
To:        John Fieber <jfieber@indiana.edu>
Cc:        hackers@freebsd.org
Subject:   Re: sound driver/devfs change
Message-ID:  <32D85F07.52BFA1D7@whistle.com>
References:  <Pine.BSI.3.95.970111211245.307J-100000@fallout.campusview.indiana.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
John Fieber wrote:
> 
> On Sat, 11 Jan 1997, Julian Elischer wrote:
> 
> > I noticed that you're writing all the tokens to the same place,
> >  so you can't delete those devices as you've lost their tokens..
> 
> ...Ah, well, as I said, kernel hacking is rather out of my area,
> but I do enjoy learning new things.  I think I'm a little over my
> head already but haven't drowned quite yet.  :)
> 
> Anyway, storing them shouldn't be too difficult; in fact a slight
> variation on the original version would do it: use dev->id_unit
> instead of unit for the array index.  But, what events would
> precipitate the removal of an entry?  Would there a `snddetach'
> companion to sndattach somewhere?
well theoretically, unlinking the driver (when we support that)
or removing a pc-card device.
just because we can't do that yet doesn't mean we shouldn't do
"the right thing".

> 
> -john



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32D85F07.52BFA1D7>