summaryrefslogtreecommitdiffstats
path: root/freebsd/local/usb_if.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/local/usb_if.h')
-rw-r--r--freebsd/local/usb_if.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/freebsd/local/usb_if.h b/freebsd/local/usb_if.h
deleted file mode 100644
index 6f4a15a3..00000000
--- a/freebsd/local/usb_if.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * This file is produced automatically.
- * Do not modify anything in here by hand.
- *
- * Created from source file
- * dev/usb/usb_if.m
- * with
- * makeobjops.awk
- *
- * See the source file for legal information
- */
-
-
-#ifndef _usb_if_h_
-#define _usb_if_h_
-
-/** @brief Unique descriptor for the USB_HANDLE_REQUEST() method */
-extern struct kobjop_desc usb_handle_request_desc;
-/** @brief A function implementing the USB_HANDLE_REQUEST() method */
-typedef int usb_handle_request_t(device_t dev, const void *req,
- /* pointer to the device request */ void **pptr, /* data pointer */ uint16_t *plen, /* maximum transfer length */ uint16_t offset, /* data offset */ uint8_t *pstate);
-
-static __inline int USB_HANDLE_REQUEST(device_t dev, const void *req,
- /* pointer to the device request */ void **pptr, /* data pointer */ uint16_t *plen, /* maximum transfer length */ uint16_t offset, /* data offset */ uint8_t *pstate)
-{
- kobjop_t _m;
- KOBJOPLOOKUP(((kobj_t)dev)->ops,usb_handle_request);
- return ((usb_handle_request_t *) _m)(dev, req, pptr, plen, offset, pstate);
-}
-
-#endif /* _usb_if_h_ */