mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 01:11:05 +01:00
The other day someone brought me an old Apple Laserwriter II with a serial
interface set at 57600 baud, and I found out the hard way that lpd doesn't know about speeds greater than 38400, even though <sys/ttydev.h> also permits 57600 and 115200 baud. Fix this by adding B57600 and B115200 to the 'bauds' table. (The Apple printer worked properly once I did this, BTW. :)
This commit is contained in:
parent
7d4aa0825d
commit
cca80d1fd8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9821
@ -1298,6 +1298,8 @@ struct bauds {
|
||||
9600, B9600,
|
||||
19200, EXTA,
|
||||
38400, EXTB,
|
||||
57600, B57600,
|
||||
115200, B115200,
|
||||
0, 0
|
||||
};
|
||||
|
||||
|
@ -1298,6 +1298,8 @@ struct bauds {
|
||||
9600, B9600,
|
||||
19200, EXTA,
|
||||
38400, EXTB,
|
||||
57600, B57600,
|
||||
115200, B115200,
|
||||
0, 0
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user