From owner-p4-projects@FreeBSD.ORG Sat Sep 22 17:36:07 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6C9C116A46C; Sat, 22 Sep 2007 17:36:07 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D9EC16A469 for ; Sat, 22 Sep 2007 17:36:07 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2D03D13C4BC for ; Sat, 22 Sep 2007 17:36:07 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8MHa7RH035666 for ; Sat, 22 Sep 2007 17:36:07 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8MHa6Mi035663 for perforce@freebsd.org; Sat, 22 Sep 2007 17:36:06 GMT (envelope-from hselasky@FreeBSD.org) Date: Sat, 22 Sep 2007 17:36:06 GMT Message-Id: <200709221736.l8MHa6Mi035663@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Cc: Subject: PERFORCE change 126698 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2007 17:36:07 -0000 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);