PERFORCE change 126698 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sat Sep 22 10:36:07 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126698
Change 126698 by hselasky at hselasky_laptop001 on 2007/09/22 17:35:54
- change UCOM layer to accept USB DMA buffers
instead of linear buffers (update prototypes)
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/ucomvar.h#12 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/ucomvar.h#12 (text+ko) ====
@@ -143,8 +143,8 @@
int ucom_attach(struct ucom_super_softc *ssc, struct ucom_softc *sc, uint32_t sub_units, void *parent, const struct ucom_callback *callback, struct mtx *p_mtx);
void ucom_detach(struct ucom_super_softc *ssc, struct ucom_softc *sc, uint32_t sub_units);
void ucom_status_change(struct ucom_softc *);
-uint8_t ucom_get_data(struct ucom_softc *sc, uint8_t *buf, uint32_t len, uint32_t *actlen);
-void ucom_put_data(struct ucom_softc *sc, uint8_t *ptr, uint16_t len);
+uint8_t ucom_get_data(struct ucom_softc *sc, struct usbd_page_cache *pc, uint32_t offset, uint32_t len, uint32_t *actlen);
+void ucom_put_data(struct ucom_softc *sc, struct usbd_page_cache *pc, uint32_t offset, uint32_t len);
uint8_t ucom_cfg_sleep(struct ucom_softc *sc, uint32_t timeout);
uint8_t ucom_cfg_is_gone(struct ucom_softc *sc);
More information about the p4-projects
mailing list