Tell me what exactly you need and if it cannot be done, I'll try to
implement it in a generic way.
> >> diff -urN linux/drivers/char/keyboard.c
> > Either there is a need for a special kanji mode changing function for
> > japanese keyboards or there is not. Either way, it isn't PC-98 specific.
> I think it's for emergency(or rescue) purpose. For example, system cannot
> boot due to illegal kanji named file, input kenji to select one and change
> it. We plan direct character code input. In kanji-mode, do convert from
> hex numeric input to kanji. But not implemented yet.
No problem, but this should be handled by a keymap (if possible). If
not, the keymap code needs to be extended to be able to handle this.
> >> +#ifndef CONFIG_PC9800
> >> #define KBD_DEFLEDS 0
> >> +#else
> >> +#define KBD_DEFLEDS (1 << VC_NUMLOCK)
> >> +#endif
> > You want numlock on by default?
> Yes. Desktop PC-9800 has Ten-key pad. But doesn't have NumLock key!
> Perhaps BIOS initialize always NumLock ON.
> Note book PC-9800 has NumLock key. But NumLock key never send scancode,
> do change scancode internaly.
Interesting.
> >> static void fn_scroll_forw(struct vc_data *vc)
> >> {
> >> +#ifndef CONFIG_PC9800
> >> scrollfront(0);
> >> +#else
> >> + scrollfront(3);
> >> +#endif
> >> }
> > Huh?
> Due to our implementation of console driver. For old PC-9800, we use only
> video ram. If don't, scrolling is _very_ slow. So our console can scroll
> less than half lines of screen. If call with 0, screen doesn't scroll.
I see. However, I believe this should be handled in your implementation
of the scrolling, and not affecting keyboard.c code.
> >> diff -urN linux/include/linux/logibusmouse.h
> linux98/include/linux/logibusmouse.h
> >> --- linux/include/linux/logibusmouse.h Tue Aug 3 01:54:29 1999
> >> +++ linux98/include/linux/logibusmouse.h Fri Aug 17 22:15:13 2001
> > Hmm, this file isn't used at all in 2.5. Why patching it?
> IMHO Those (pc_keyb.h too) are remaining to compile user mode application.
> I think it's a very rare, but ....
pc_keyb.h maybe. logibusmouse.h definitely not, no application is
supposed to use those defines.
-- Vojtech Pavlik SuSE Labs - 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/