Re: kbd-chooser for DECstation machines
Martin Schulze wrote:
> On the other hand, looking at the code, I just came to the conclusion
> that it doesn't work indeed, which is why AT keybards can be selected
> at all. Thanks for the hint. So __mipsel__ should be changed to
> __MIPSEL__ (first patch)
> diff -u -p orig/kbd-chooser-1.02/at-kbd.c kbd-chooser-1.02/at-kbd.c
> --- orig/kbd-chooser-1.02/at-kbd.c 2004-05-17 22:50:03.000000000 +0200
> +++ kbd-chooser-1.02/at-kbd.c 2004-10-01 09:04:08.000000000 +0200
> @@ -33,7 +33,7 @@ kbd_t *at_kbd_get (kbd_t *keyboards, con
> (strstr(subarch, "chrp") == NULL))
> return keyboards;
> #endif
> -#if defined(__mipsel__)
> +#if defined(__MIPSEL__)
> // DECstations do not have AT keyboards
> if (strstr(subarch, "r3k-kn02") || strstr(subarch,"r4k-kn04"))
> return keyboards;
> Common subdirectories: orig/kbd-chooser-1.02/debian and kbd-chooser-1.02/debian
> diff -u -p orig/kbd-chooser-1.02/usb-kbd.c kbd-chooser-1.02/usb-kbd.c
> --- orig/kbd-chooser-1.02/usb-kbd.c 2004-05-17 22:50:03.000000000 +0200
> +++ kbd-chooser-1.02/usb-kbd.c 2004-10-01 09:04:15.000000000 +0200
> @@ -135,7 +135,7 @@ static void usb_parse_proc (kbd_t *keybo
> kbd_t *usb_kbd_get (kbd_t *keyboards, const char *subarch)
> {
>
> -#if defined(__mipsel__)
> +#if defined(__MIPSEL__)
> // DECstations do not have USB keyboards
> if (strstr(subarch, "r3k-kn02") || strstr(subarch,"r4k-kn04"))
> return keyboards;
Committed.
Regards,
Joey
--
Everybody talks about it, but nobody does anything about it! -- Mark Twain
Please always Cc to me when replying to me on the lists.
Reply to: