Date: Fri, 9 Nov 2007 19:30:14 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 128872 for review Message-ID: <200711091930.lA9JUEjO015434@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=128872 Change 128872 by hselasky@hselasky_laptop001 on 2007/11/09 19:29:16 The first step into fully supporting Zero-Copy. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_subr.h#49 edit .. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#39 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_subr.h#49 (text+ko) ==== @@ -697,6 +697,7 @@ void usbd_start_hardware(struct usbd_xfer *xfer); void usbd_transfer_start(struct usbd_xfer *xfer); void usbd_transfer_stop(struct usbd_xfer *xfer); +void usbd_set_frame_data(struct usbd_xfer *xfer, void *ptr, uint32_t len, uint32_t frindex); void __usbd_callback(struct usbd_xfer *xfer); void usbd_do_callback(struct usbd_xfer **pp_xfer, struct thread *td); void usbd_transfer_enqueue(struct usbd_xfer *xfer); ==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#39 (text+ko) ==== @@ -1421,6 +1421,19 @@ return; } +/*------------------------------------------------------------------------* + * usbd_set_frame_data + * + * This function sets the pointer and length of data that should loaded + * directly into DMA for the given USB frame. + *------------------------------------------------------------------------*/ +void +usbd_set_frame_data(struct usbd_xfer *xfer, void *ptr, uint32_t len, + uint32_t frindex) +{ + return; +} + /*---------------------------------------------------------------------------* * __usbd_callback *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711091930.lA9JUEjO015434>