Re: USB IR Dongle Serial Driver broken

From: Greg KH
Date: Wed Sep 17 2003 - 17:43:20 EST


On Wed, Sep 17, 2003 at 06:09:35PM +0300, Meelis Roos wrote:
> Just tried to compile USB IR Dongle Serial Driver, it breaks with
>
> ir-usb.c: In function `ir_set_termios':
> ir-usb.c:571: error: `B4000000' undeclared (first use in this function)
>
> 2.4.23-pre4 on sparc64

Looks like someone needs to fix up include/asm-sparc64/termbits.h:

/* These have totally bogus values and nobody uses them
so far. Later on we'd have to use say 0x10000x and
adjust CBAUD constant and drivers accordingly.
#define B2500000 0x00001010
#define B3000000 0x00001011
#define B3500000 0x00001012
#define B4000000 0x00001013 */


thanks,

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