From owner-cvs-src@FreeBSD.ORG Fri Sep 5 20:50:01 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D57431065673; Fri, 5 Sep 2008 20:50:01 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C0E3B8FC13; Fri, 5 Sep 2008 20:50:01 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m85Ko123071024; Fri, 5 Sep 2008 20:50:01 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m85Ko1Ov071023; Fri, 5 Sep 2008 20:50:01 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <200809052050.m85Ko1Ov071023@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Fri, 5 Sep 2008 20:49:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb ucom.c ucomvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2008 20:50:02 -0000 imp 2008-09-05 20:49:45 UTC FreeBSD src repository Modified files: sys/dev/usb ucom.c ucomvar.h Log: SVN rev 182800 on 2008-09-05 20:49:45Z by imp Keep track of the active buffer on output. For the moment, panic if the device indicates that it wasn't able to write all the data in the buffer out. Ed Schouten doesn't like the idea of a panic here. I think for production code, we need something better. For right now, while we're trying to assess the impact of this issue, a panic is OK. So complain to me, not him if this is hit. Revision Changes Path 1.68 +4 -0 src/sys/dev/usb/ucom.c 1.12 +1 -0 src/sys/dev/usb/ucomvar.h