[patch] linux/speed.c

Ben Collins bcollins@debian.org
Sat Jun 9 21:10:00 GMT 2001


Currently sparc-linux target fails to compile because of a change in
linux/speed.c which uses the B400000 define as the max for baud rate.
Sparc only defines up to B200000. I checked the kernel headers, and
indeed the sparc termbits.h has these commented out with something about
not being supported. I'm trying to find out if this is still the case,
but in the mean time, I'd like to propose this patch.

2001-06-09  Ben Collins  <bcollins@debian.org>

	* sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
	hardcoded B400000.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


More information about the Libc-alpha mailing list