Date: Sat, 27 May 2006 23:04:43 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 97976 for review Message-ID: <200605272304.k4RN4hnq034287@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97976 Change 97976 by hselasky@hselasky_mini_itx on 2006/05/27 23:03:50 Compilation fix(es). Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb.c#4 edit .. //depot/projects/usb/src/sys/dev/usb/usb_ethersubr.c#3 delete .. //depot/projects/usb/src/sys/dev/usb/usb_quirks.c#3 edit .. //depot/projects/usb/src/sys/dev/usb/usb_subr.h#3 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb.c#4 (text+ko) ==== @@ -521,7 +521,7 @@ mtx_unlock(&usb_global_lock); - USB_ATTACH_SUCCESS_RETURN; + return 0; /* return success */ } static void ==== //depot/projects/usb/src/sys/dev/usb/usb_quirks.c#3 (text+ko) ==== @@ -48,10 +48,6 @@ #include "usbdevs.h" #include <dev/usb/usb_quirks.h> -#ifdef USB_DEBUG -extern int usbdebug; -#endif - #define ANY 0xffff Static const struct usbd_quirk_entry { ==== //depot/projects/usb/src/sys/dev/usb/usb_subr.h#3 (text+ko) ==== @@ -271,7 +271,7 @@ * flag is also exported by usb.h */ #endif -#ifdef USB_COMPAT_OLD +#if (defined(USB_COMPAT_OLD) || 1) #define USBD_CUSTOM_CLEARSTALL 0x0008 /* used to disable automatic clear-stall * when a device reset request is needed * in addition to the clear stall request
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605272304.k4RN4hnq034287>