CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2014/07/12 01:59:23

Modified files:
        sys/dev/usb    : if_athn_usb.c if_atu.c if_aue.c if_axe.c 
                         if_axen.c if_cdce.c if_cue.c if_kue.c if_mos.c 
                         if_otus.c if_ral.c if_rsu.c if_rum.c if_run.c 
                         if_smsc.c if_uath.c if_udav.c if_ugl.c 
                         if_upgt.c if_upl.c if_url.c if_urndis.c 
                         if_urtw.c if_urtwn.c if_wi_usb.c if_zyd.c 

Log message:
Kill a bunch of DVACT_DEACTIVATE handlers whose only purpose were to
set the 'dying' flag of a device.  Such handlers are useless now that
usbd_detach() already set this flag.

Even if the purpose of this flag is questionnable on OpenBSD because
DVACT_DEACTIVATE acts as a pre-detach event, this is just a first small
step towards the simplification of the autoconf(9) device states.

This cleaning is now possible thanks to the work of pirofti@ to convert
all the USB drivers to properly use usbd_is_dying().

Discussed many times with deraadt@

Reply via email to