Skip to contentSkip to conversation

module alias autoload for input event drivers

PATCH New Duncan Palmer 1 participant 1 message Feb 2, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 module alias autoload for input event drivers

Hi,

Quoted 1 line · Randy Dunlap forwarded on a message that

1. Psmouse and input event drivers don't have module

alias autoload

Quoted 1 line

support. I think it should be possible to do this

similar to how

Quoted 1 line

misc_device works.

The attached patch does this. I've used 'input-handler-' as the alias prefix, as it seemed more appropriate than 'char-major-xx-xx' seeing as I haven't used minor numbers to identify input handlers
- I use (minor >> 5)) as input.c does to account for the minor number ranges used by the event drivers.

Thoughts? The patch is tested, so please consider applying if you like the look of it.

Dunk

__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors