From 327b9c7ba334e7fe6cc93086bd750078d56f73fa Mon Sep 17 00:00:00 2001 From: n_hibma Date: Tue, 1 Jun 1999 07:22:01 +0000 Subject: USB stopped working as of the recent cdevsw cleanup. This fixes that. --- sys/dev/usb/usbdi.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/dev/usb/usbdi.c') diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c index 52497e5..c827f2f 100644 --- a/sys/dev/usb/usbdi.c +++ b/sys/dev/usb/usbdi.c @@ -80,12 +80,6 @@ void usbd_do_request_async_cb static SIMPLEQ_HEAD(, usbd_request) usbd_free_requests; -#if defined(__FreeBSD__) -#define USB_CDEV_MAJOR 108 - -extern struct cdevsw usb_cdevsw; -#endif - #ifdef USB_DEBUG char *usbd_error_strs[USBD_ERROR_MAX] = { "NORMAL_COMPLETION", @@ -374,6 +368,7 @@ usbd_get_request_status(reqh, priv, buffer, count, status) *count = reqh->actlen; if (status) *status = reqh->status; + return (USBD_NORMAL_COMPLETION); } -- cgit v1.1