Date: Mon, 9 Oct 2006 18:57:52 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 107559 for review Message-ID: <200610091857.k99IvqM2059851@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107559 Change 107559 by hselasky@hselasky_mini_itx on 2006/10/09 18:57:08 Prototype device methods. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb.c#8 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb.c#8 (text+ko) ==== @@ -106,6 +106,10 @@ struct mtx usb_global_lock; #endif +static device_probe_t usb_probe; +static device_attach_t usb_attach; +static device_detach_t usb_detach; + /* these variables are protected by "usb_global_lock" */ static int usb_nevents = 0; static struct selinfo usb_selevent; @@ -565,7 +569,7 @@ SYSINIT(usb_post_init, SI_SUB_PSEUDO, SI_ORDER_ANY, usb_post_init, NULL); static int -usb_detach(device_t dev, int flags) +usb_detach(device_t dev) { struct usbd_bus *bus = device_get_softc(dev); struct usb_event ue;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610091857.k99IvqM2059851>