Re: driver initialisation order problem

James Simmons (jsimmons@transvirtual.com)
Thu, 1 Nov 2001 10:33:22 -0800 (PST)


> > drivers/char/joystick/turbografx.c
> > drivers/char/joystick/db9.c
> > drivers/char/joystick/gamecon.c
>
> don't have a good answer. maybe move 'em to drivers/input :)

I suggested that before. Linus didn't like that. Actually in time you will
see all input devices moved to drivers/input. It will become more and
more a mess if we don't. I have various devices such as touchscreens,
keyboard, joysticks etc that are serial devices. It is such a nasty hack
at present to reach into char/joytsick to get something like a touchscreen
working. IMO we should have things in the following order:

/drivers/serial -> Yes I plan a rewrite of the serial layer.
/drivers/parport
/drivers/usb

/driver/input
/driver/char -> The future console system will be inptu api
based so input needs to be first.

Things like hardware protocols, USB, RS232 should come first. Then char
devices like input and things in char come next.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/