usb.h (8363051739fb8cc688255328a3d641dc9fe4718c) | usb.h (0e981d79b19da8fc550ea0dbe46e8658be988db4) |
---|---|
1/* $FreeBSD$ */ 2/*- 3 * Copyright (c) 2007 Luigi Rizzo - Universita` di Pisa. All rights reserved. 4 * Copyright (c) 2007 Hans Petter Selasky. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 23 unchanged lines hidden (view full) --- 32#include <sys/param.h> 33#include <sys/proc.h> 34#include <sys/condvar.h> 35 36#include <dev/usb/usb.h> 37#include <dev/usb/usbdi.h> 38#include <dev/usb/usbdi_util.h> 39 | 1/* $FreeBSD$ */ 2/*- 3 * Copyright (c) 2007 Luigi Rizzo - Universita` di Pisa. All rights reserved. 4 * Copyright (c) 2007 Hans Petter Selasky. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 23 unchanged lines hidden (view full) --- 32#include <sys/param.h> 33#include <sys/proc.h> 34#include <sys/condvar.h> 35 36#include <dev/usb/usb.h> 37#include <dev/usb/usbdi.h> 38#include <dev/usb/usbdi_util.h> 39 |
40#include <linux/pm.h> 41 |
|
40struct usb_device; 41struct usb_interface; 42struct usb_driver; 43struct urb; 44 | 42struct usb_device; 43struct usb_interface; 44struct usb_driver; 45struct urb; 46 |
45typedef void *pm_message_t; | |
46typedef void (usb_complete_t)(struct urb *); 47 48#define USB_MAX_FULL_SPEED_ISOC_FRAMES (60 * 1) 49#define USB_MAX_HIGH_SPEED_ISOC_FRAMES (60 * 8) 50 51#define USB_DEVICE_ID_MATCH_DEVICE \ 52 (USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT) 53 --- 265 unchanged lines hidden --- | 47typedef void (usb_complete_t)(struct urb *); 48 49#define USB_MAX_FULL_SPEED_ISOC_FRAMES (60 * 1) 50#define USB_MAX_HIGH_SPEED_ISOC_FRAMES (60 * 8) 51 52#define USB_DEVICE_ID_MATCH_DEVICE \ 53 (USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT) 54 --- 265 unchanged lines hidden --- |