*BSD News Article 11085


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1236 ; Tue, 23 Feb 93 14:31:28 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!spool.mu.edu!agate!agate.berkeley.edu!cgd
From: cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou)
Newsgroups: comp.unix.bsd
Subject: patch02 to my improved com driver
Date: 12 Feb 93 16:15:40
Organization: Kernel Hackers 'r' Us
Lines: 55
Distribution: world
Message-ID: <CGD.93Feb12161540@eden.CS.Berkeley.EDU>
NNTP-Posting-Host: eden.cs.berkeley.edu

This is patch 2 to my hacked serial driver.
uudecode it, and apply it with patch -p.
this patch is also available from:
	ref.tfs.com (140.145.254.251):
		~cgd/com/com-beta-patches
		/usr/src/sys.extras/cgd-com-ports/com-beta-patches
	agate.berkeley.edu (128.32.155.1):
		pub/386BSD/386bsd-0.1/unofficial/cgd/com-beta-patches

This patch fixes a few problems:

(1) enables interrupts appropriately, after close() disables
        them.
(2) fixes behavior when someone dials out, but doesn't get
        carrier.

This patch was provided by Guido van Rooij, guido@gvr.win.tue.nl.

--cgd

begin 644 com-beta.patch02
M*BHJ("]S>7,O:3,X-B]I<V$O8V]M+F,N8V=D+G!L,0E&<FD@1F5B(#$R(#$U
M.C(W.C0V(#$Y.3,*+2TM("]S>7,O:3,X-B]I<V$O8V]M+F,)1G)I($9E8B`Q
M,B`Q-3HS,3HQ-R`Q.3DS"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@-#$L-#<@*BHJ
M*@H@("`J("`@("`@86YD($-H<FES($<N($1E;65T<FEO=2`\8V=D0&)E<FME
M;&5Y+F5D=3X@*"-I9F1E9B=D(&-O;2X@:7)Q+VUU;'1I<&]R="D*("`@*@D)
M"0D)"2`@*&AA;F1L:6YG(&%N9"!F:7AE9"!I="XN+B`@("D*("`@*@D)"0D)
M"2`@*&%D9&5D(&)I9&ER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B\**R`@("`@("`@=V%K975P*"AC861D<E]T*2`F8V]M7V)D:5MU;FET72YA
M8W1I=F5?:6XI.PHK("-E;F1I9B`O*B!#3TU?0DE$25(@*B\*("`*("`):68@
M*"%E<G)O<BD*("`)"65R<F]R(#T@*"IL:6YE<W=;='`M/G1?;&EN95TN;%]O
/<&5N*2AD978L('1P*3L*
`
end
--
Chris G. Demetriou                                    cgd@cs.berkeley.edu

                 MENTALLY CONTAMINATED and proud of it!