From 586226f2be8916cb9799bd7c4c47749b6f386d52 Mon Sep 17 00:00:00 2001 From: Jacob Meuser Date: Mon, 6 Dec 2010 04:41:41 +0000 Subject: * replace per-driver dying and/or other state variables with use of usbd_deactivete() and usbd_is_dying() * use usbd_deactivate() in activate()/DEACTIVATE * convert a few more direct checks of the associated bus' dying flag with usbd_is_dying() --- sys/dev/usb/if_mosreg.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/dev/usb/if_mosreg.h') diff --git a/sys/dev/usb/if_mosreg.h b/sys/dev/usb/if_mosreg.h index 5b873689420..34b51161ac6 100644 --- a/sys/dev/usb/if_mosreg.h +++ b/sys/dev/usb/if_mosreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mosreg.h,v 1.3 2008/11/22 09:46:12 deraadt Exp $ */ +/* $OpenBSD: if_mosreg.h,v 1.4 2010/12/06 04:41:39 jakemsr Exp $ */ /* * Copyright (c) 2008 Johann Christian Rode @@ -183,8 +183,6 @@ struct mos_softc { struct timeout mos_stat_ch; int mos_refcnt; - char mos_dying; - char mos_attached; int mos_link; unsigned char mos_ipgs[2]; -- cgit v1.2.3