On Wed, Jan 20, 2016 at 11:50:43AM +0100, Mark Kettenis wrote:
> > Date: Wed, 20 Jan 2016 09:13:53 +0100
> > From: Alexandre Ratchov <[email protected]>
> > 
> > This diff makes audioctl(1) display the device name (ex. 
> > "azalia0", "cmpci0", etc) in the "name" attribute.  This way
> > audioctl(1) output could be correlated with dmesg output.  This
> > seems more useful than strings like "HD-Audio" or "CMI8338A".
> > 
> > OK?
> 
> There is a small chance that something in ports uses these strings as
> keys to store values.  This change would introduce a flag day for such
> applications, but in the long run using the driver instance name would
> help.  Except for hotplugging multiple uaudio(4) devices of course...
> 
> Anyway, I think this is ok.
> 
> But you should probably remove the ops->getdev() driver callback if
> this sticks.

Sure.  I leave this for the next time we make changes in the driver
API as they tend to be very time consuming (too many archs to
test).

Reply via email to