Subject: Re: USB keyboard now works without kludge
To: Lennart Augustsson <lennart@augustsson.net>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-macppc
Date: 05/09/1999 09:35:37
On Sun, 09 May 1999 17:15:22 +0200
Lennart Augustsson <lennart@augustsson.net> wrote:
> I don't think your fix is the right one. You store some flag in the USB bus
> struct (which is supposed to be private, but that's not the point), but what
> happens when you have multiple USB controllers, each with a keyboard?
If you have multiple USB controllers, it doesn't matter. The code that
sets up the has_console flag determines which USB controller the console
keyboard is on, and sets has_console for that one only.
Take a look at arch/macppc/macppc/machdep.c:cninit().
-- Jason R. Thorpe <thorpej@nas.nasa.gov>