From owner-freebsd-usb@FreeBSD.ORG Mon Nov 1 06:18:02 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5124C16A4CE for ; Mon, 1 Nov 2004 06:18:02 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75C5543D1F for ; Mon, 1 Nov 2004 06:18:01 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-68-123-122-146.dsl.snfc21.pacbell.net [68.123.122.146])iA16Hxpq165314; Mon, 1 Nov 2004 01:18:00 -0500 Message-ID: <4185D516.9030000@elischer.org> Date: Sun, 31 Oct 2004 22:17:58 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: Mike Tancsa References: <6.1.2.0.0.20041031221917.0351ac88@64.7.153.2> In-Reply-To: <6.1.2.0.0.20041031221917.0351ac88@64.7.153.2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-usb@freebsd.org Subject: Re: help with UHID fix / patch X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 06:18:02 -0000 Mike Tancsa wrote: > > Could someone let me know of the fix in > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/72935 > > is indeed correct ? it is a bit of a shotgun aproach.. you are making tty stop BIO interrupts but what about BIO stuff stopping tty interrupts? it is a hack but it is a hack with a history.. the same thing was done for having ppp and such. teh tty and net masks were unified if (from memory) ppp or slip are in the kernel. Doesn't help however for removable devices..(The interrupt masks may change as new devices are added.) what about actually doing an spltty() followed by an splbio() if some flag is set? > > ---Mike > > > > -------------------------------------------------------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet since 1994 www.sentex.net > Cambridge, Ontario Canada www.sentex.net/mike > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"