From: Bryan R. <br...@ix...> - 2000-08-25 01:31:57
|
Hi guys, I patched in kernel support for 57600 bps, if any of you are interested. Since it is what we are using internally it would be great to get this into the main tree. IMO this should have been in sh-sci.[c|h] in the first place. Here's the diff: ----- --- kernel.virgin/drivers/char/sh-sci.c Thu Aug 24 13:16:05 2000 +++ kernel/drivers/char/sh-sci.c Thu Aug 24 13:17:39 2000 @@ -329,6 +329,9 @@ case 38400: t = BPS_38400; break; + case 57600: + t = BPS_57600; + break; default: printk(KERN_INFO "sci: unsupported baud rate: %d, using 115200 instead.\n", baud); case 115200: --- kernel.virgin/drivers/char/sh-sci.h Thu Aug 24 13:16:05 2000 +++ kernel/drivers/char/sh-sci.h Thu Aug 24 13:17:10 2000 @@ -289,5 +289,6 @@ #define BPS_9600 SCBRR_VALUE(9600) #define BPS_19200 SCBRR_VALUE(19200) #define BPS_38400 SCBRR_VALUE(38400) +#define BPS_57600 SCBRR_VALUE(57600) #define BPS_115200 SCBRR_VALUE(115200) ----- I don't really deserve CVS write access for this ;-), but it would be great if somebody else chose to import it. Regards, Bryan Rittmeyer mailto:br...@ix... |