Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2007 17:36:06 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 126698 for review
Message-ID:  <200709221736.l8MHa6Mi035663@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126698

Change 126698 by hselasky@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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709221736.l8MHa6Mi035663>