svn commit: r232218 - head/sys/kern

Alexey Dokuchaev danfe at FreeBSD.org
Mon Feb 27 16:28:03 UTC 2012


On Mon, Feb 27, 2012 at 04:08:18PM +0000, John Baldwin wrote:
> Author: jhb
> Date: Mon Feb 27 16:08:18 2012
> New Revision: 232218
> URL: http://svn.freebsd.org/changeset/base/232218
> 
> Log:
>   Clear the a device's description string anytime it's driver changes.
>   Descriptions  are specific to drivers and we don't change drivers on attached
>   devices.  This fixes a few places where we were not clearing the description
>   when detaching a driver (e.g. with device_attach() failed).  While here, fix
>   a few other nits:
>   - Remove spurious call to remove a device's driver from
>     devclass_driver_deleted().  device_detach() removes it already.
>   - Fix a typo.

Thanks John,

Please MFC it at least as far as RELENG_8.

./danfe


More information about the svn-src-all mailing list