summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_cue.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-04-06 19:55:52 +0000
committerjoe <joe@FreeBSD.org>2002-04-06 19:55:52 +0000
commit9a33fe7e3472d26bb66b7c3e5e9bebd30581ef90 (patch)
tree0168e76f27ec04dbeca094b26821f8eb3cce0c8e /sys/dev/usb/if_cue.c
parentbcc308fae6fa00accbe29d50c2fc8dd33f3e5c0a (diff)
downloadFreeBSD-src-9a33fe7e3472d26bb66b7c3e5e9bebd30581ef90.zip
FreeBSD-src-9a33fe7e3472d26bb66b7c3e5e9bebd30581ef90.tar.gz
Replace device_t with device_ptr_t.
Diffstat (limited to 'sys/dev/usb/if_cue.c')
-rw-r--r--sys/dev/usb/if_cue.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c
index 6fc8010..47830eb 100644
--- a/sys/dev/usb/if_cue.c
+++ b/sys/dev/usb/if_cue.c
@@ -93,9 +93,9 @@ Static struct cue_type cue_devs[] = {
Static struct usb_qdat cue_qdat;
-Static int cue_match(device_t);
-Static int cue_attach(device_t);
-Static int cue_detach(device_t);
+Static int cue_match(device_ptr_t);
+Static int cue_attach(device_ptr_t);
+Static int cue_detach(device_ptr_t);
Static int cue_tx_list_init(struct cue_softc *);
Static int cue_rx_list_init(struct cue_softc *);
@@ -110,7 +110,7 @@ Static int cue_ioctl(struct ifnet *, u_long, caddr_t);
Static void cue_init(void *);
Static void cue_stop(struct cue_softc *);
Static void cue_watchdog(struct ifnet *);
-Static void cue_shutdown(device_t);
+Static void cue_shutdown(device_ptr_t);
Static void cue_setmulti(struct cue_softc *);
Static u_int32_t cue_crc(caddr_t);
@@ -541,7 +541,7 @@ USB_ATTACH(cue)
}
Static int
-cue_detach(device_t dev)
+cue_detach(device_ptr_t dev)
{
struct cue_softc *sc;
struct ifnet *ifp;
@@ -1194,7 +1194,7 @@ cue_stop(struct cue_softc *sc)
* get confused by errant DMAs when rebooting.
*/
Static void
-cue_shutdown(device_t dev)
+cue_shutdown(device_ptr_t dev)
{
struct cue_softc *sc;
OpenPOWER on IntegriCloud