diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2004-05-23 12:35:25 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2004-05-23 12:35:25 +0000 |
| commit | eadf519a78ae697bafce763cc292be1fba6aab4d (patch) | |
| tree | cf37b7bb9f8310d2b2d6951faea823fc8ff7040d /sys/dev/usb/if_cue.c | |
| parent | 5ac85402da7696b2bee9fe1931f76c4badae9283 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/if_cue.c')
| -rw-r--r-- | sys/dev/usb/if_cue.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index 4ffccea0fa72..86bef5dc11ad 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -91,8 +91,6 @@ Static struct cue_type cue_devs[] = { { 0, 0 } }; -Static struct usb_qdat cue_qdat; - Static int cue_match(device_ptr_t); Static int cue_attach(device_ptr_t); Static int cue_detach(device_ptr_t); @@ -525,8 +523,8 @@ USB_ATTACH(cue) ifp->if_baudrate = 10000000; ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; - cue_qdat.ifp = ifp; - cue_qdat.if_rxstart = cue_rxstart; + sc->cue_qdat.ifp = ifp; + sc->cue_qdat.if_rxstart = cue_rxstart; /* * Call MI attach routine. @@ -741,7 +739,7 @@ cue_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) ifp->if_ipackets++; m_adj(m, sizeof(u_int16_t)); - m->m_pkthdr.rcvif = (struct ifnet *)&cue_qdat; + m->m_pkthdr.rcvif = (struct ifnet *)&sc->cue_qdat; m->m_pkthdr.len = m->m_len = total_len; /* Put the packet on the special USB input queue. */ |
