diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-20 21:50:54 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-20 21:50:54 +0000 |
commit | a6782e2e3827f260d7a6ebc061218843605ef765 (patch) | |
tree | 2c0305c112077574481c91ab5419d169d6341a3b /sys/dev/usb/usb_device.h | |
parent | e14295c787e7990fac7af1c1f196f279396b88a7 (diff) | |
download | FreeBSD-src-a6782e2e3827f260d7a6ebc061218843605ef765.zip FreeBSD-src-a6782e2e3827f260d7a6ebc061218843605ef765.tar.gz |
MFp4 //depot/projects/usb @159431,159437,159438
- start using the new USB typedefs in the USB core
- Remove usage of USB_ADD_BYTES()
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_device.h')
-rw-r--r-- | sys/dev/usb/usb_device.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/usb_device.h b/sys/dev/usb/usb_device.h index 3ec5ad5..29d3aa9 100644 --- a/sys/dev/usb/usb_device.h +++ b/sys/dev/usb/usb_device.h @@ -87,10 +87,10 @@ struct usb2_device_flags { * in this structure is protected by the USB BUS lock. */ struct usb2_power_save { - int last_xfer_time; /* copy of "ticks" */ - uint32_t type_refs[4]; /* transfer reference count */ - uint32_t read_refs; /* data read references */ - uint32_t write_refs; /* data write references */ + usb2_ticks_t last_xfer_time; /* copy of "ticks" */ + usb2_size_t type_refs[4]; /* transfer reference count */ + usb2_size_t read_refs; /* data read references */ + usb2_size_t write_refs; /* data write references */ uint8_t suspended; /* set if USB device is suspended */ }; @@ -128,7 +128,7 @@ struct usb2_device { LIST_HEAD(,usb2_fs_privdata) pd_list; - uint32_t plugtime; /* copy of "ticks" */ + usb2_ticks_t plugtime; /* copy of "ticks" */ uint16_t refcount; #define USB_DEV_REF_MAX 0xffff |