aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/wlan/if_uathvar.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2012-12-20 18:38:02 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2012-12-20 18:38:02 +0000
commitc180b3986dc792e9349e41881a1a204347ad7710 (patch)
tree3631663e23c44a1a329ab87338d231a841b00df1 /sys/dev/usb/wlan/if_uathvar.h
parenta6d2f40ec86ee015a14082ee0d20f60412040735 (diff)
downloadsrc-c180b3986dc792e9349e41881a1a204347ad7710.tar.gz
src-c180b3986dc792e9349e41881a1a204347ad7710.zip
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
Notes
Notes: svn path=/head/; revision=244503
Diffstat (limited to 'sys/dev/usb/wlan/if_uathvar.h')
-rw-r--r--sys/dev/usb/wlan/if_uathvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/wlan/if_uathvar.h b/sys/dev/usb/wlan/if_uathvar.h
index 6e58d93a893d..ed84ba9029bc 100644
--- a/sys/dev/usb/wlan/if_uathvar.h
+++ b/sys/dev/usb/wlan/if_uathvar.h
@@ -186,6 +186,8 @@ struct uath_softc {
struct ifnet *sc_ifp;
device_t sc_dev;
struct usb_device *sc_udev;
+ void *sc_cmd_dma_buf;
+ void *sc_tx_dma_buf;
struct mtx sc_mtx;
uint32_t sc_debug;