Date: Mon, 8 Apr 2002 15:55:06 -0700 (PDT) From: Jake Burkholder <jake@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 9395 for review Message-ID: <200204082255.g38Mt6A86553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9395 Change 9395 by jake@jake_sparc64 on 2002/04/08 15:54:59 Add some more baud rates. Affected files ... ... //depot/projects/sparc64/sys/dev/se/se_console.c#3 edit ... //depot/projects/sparc64/sys/dev/se/sereg.h#5 edit Differences ... ==== //depot/projects/sparc64/sys/dev/se/se_console.c#3 (text+ko) ==== @@ -234,7 +234,7 @@ SE_CNWRITE_1(SE_CCR0, CCR0_MCE | CCR0_SM_ASYNC); SE_CNWRITE_1(SE_CMDR, CMDR_RRES | CMDR_XRES); SE_CNWRITE_1(SE_CCR1, CCR1_ODS | CCR1_BCR | CCR1_CM_7); - SE_CNWRITE_1(SE_BGR, SE_DIV(48, 2)); + SE_CNWRITE_1(SE_BGR, SE_DIV_9600); SE_CNWRITE_1(SE_CCR2, CCR2_TOE | CCR2_SSEL | CCR2_BDF); SE_CNWRITE_1(SE_CCR3, 0x0); SE_CNWRITE_1(SE_CCR4, CCR4_EBRG | CCR4_MCK4); ==== //depot/projects/sparc64/sys/dev/se/sereg.h#5 (text+ko) ==== @@ -30,6 +30,10 @@ #define _DEV_SE_SEREG_H_ #define SE_DIV(n, m) (((m) << 6) | ((n) - 1)) +#define SE_DIV_9600 SE_DIV(48, 2) +#define SE_DIV_19200 SE_DIV(48, 1) +#define SE_DIV_38400 SE_DIV(24, 1) +#define SE_DIV_115200 SE_DIV(8, 1) #define SE_CHA 0x0 /* channel a offset */ #define SE_CHB 0x40 /* channel b offset */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204082255.g38Mt6A86553>