Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2004 22:17:58 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: help with UHID fix / patch
Message-ID:  <4185D516.9030000@elischer.org>
In-Reply-To: <6.1.2.0.0.20041031221917.0351ac88@64.7.153.2>
References:  <6.1.2.0.0.20041031221917.0351ac88@64.7.153.2>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



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