DHU-11 driver for 4.2BSD

Chris Torek chris at umcp-cs.UUCP
Wed Sep 4 11:16:25 AEST 1985


Two quick things I noticed:

If you want this to coexist with a dh, change

	int cbase[MAXNUBA];

to

	static int cbase[MAXNUBA];

Also, you have propagated a bug from the dh driver; dhuioctl
should check

		if (cmd == TIOCSETP || cmd == TIOCSETN || cmd == TIOCLSET ||
		    cmd == TIOCLBIS || cmd == TIOCLBIC)

instead of just the first two, before calling dhuparam.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.sources.bugs mailing list