[net.sources.bugs] DHU-11 driver for 4.2BSD

chris@umcp-cs.UUCP (Chris Torek) (09/04/85)

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@umcp-cs		ARPA:	chris@maryland

jim@mcvax.UUCP (Jim McKie) (09/05/85)

Another bug propagated from the DH-11 driver (and in most DMF-11
drivers I have seen) is the missing splx(s) in dhuparam.

--jim