summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/wlan/if_upgtvar.h
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2012-12-20 18:38:02 +0000
committerhselasky <hselasky@FreeBSD.org>2012-12-20 18:38:02 +0000
commitaae8cd90ccb7c0a7f3c5b8ca26756719886249bc (patch)
tree3631663e23c44a1a329ab87338d231a841b00df1 /sys/dev/usb/wlan/if_upgtvar.h
parent1d3258143da0a70fb97d0261fc1204f902679838 (diff)
downloadFreeBSD-src-aae8cd90ccb7c0a7f3c5b8ca26756719886249bc.zip
FreeBSD-src-aae8cd90ccb7c0a7f3c5b8ca26756719886249bc.tar.gz
Make sure all USB drivers allocate buffer memory
through the USB API and/or busdma. The following assumptions have been made: umass - buffers passed from CAM/SCSI layer are OK network - mbufs are OK. Some other nits while at it. MFC after: 1 week Suggested by: imp
Diffstat (limited to 'sys/dev/usb/wlan/if_upgtvar.h')
-rw-r--r--sys/dev/usb/wlan/if_upgtvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/wlan/if_upgtvar.h b/sys/dev/usb/wlan/if_upgtvar.h
index 68d5d2b..6e22de2 100644
--- a/sys/dev/usb/wlan/if_upgtvar.h
+++ b/sys/dev/usb/wlan/if_upgtvar.h
@@ -422,6 +422,8 @@ struct upgt_softc {
device_t sc_dev;
struct ifnet *sc_ifp;
struct usb_device *sc_udev;
+ void *sc_rx_dma_buf;
+ void *sc_tx_dma_buf;
struct mtx sc_mtx;
struct upgt_stat sc_stat;
int sc_flags;
OpenPOWER on IntegriCloud