diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2012-12-20 18:38:02 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2012-12-20 18:38:02 +0000 |
commit | c180b3986dc792e9349e41881a1a204347ad7710 (patch) | |
tree | 3631663e23c44a1a329ab87338d231a841b00df1 /sys/dev/usb/wlan/if_uathvar.h | |
parent | a6d2f40ec86ee015a14082ee0d20f60412040735 (diff) | |
download | src-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.h | 2 |
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; |