[LWN Logo]

Date: Tue, 12 Jan 1999 14:25:38 -0700
To: sparc-list@redhat.com, sparclinux@vger.rutgers.edu,
From: Christopher Platt <cplatt@qualcomm.com>
Subject: Re: Ultra Peng 1.1 and printing

--=====================_329977252==_
Content-Type: text/plain; charset="us-ascii"

Well, I guess I need to send these out. 

The first one is a patch to softirq.h to allow linus's 2.1.132 tree to
compile. The second one updates the interface into the bpp driver, and
fixes an off-by-one bug that was causing funny things to happen on my
machine. (missed the first char, but printed an extra null or other garbage
at the end). 

Anyway, this works fine if I just cat <file> > /dev/lp0, but lpd thinks the
printer is offline.  I have tried this on my LX's.  I only have LX's.  It
may be a hardware issue that is causing my problem.  I would like to hear
back any successes or failures based on this patch.

If there are problems decoding the patch, let me know.

Thanks,
clp.

At 02:14 PM 1/12/99 -0500, Derrick J Brashear wrote:
:On Tue, 12 Jan 1999, David S. Miller wrote:
:
:> 
:> Parallel port printer support only exists on UltraSparc's for PCI
:> machines, the SBUS driver has not been touched in a long time and I
:> doubt it even compiles.
:
:It doesn't. A gentleman from Qualcomm had some patches which he had not
:yet made available which got it "closer"; I'm debating just attempting to
:start over and write a bpp driver from scratch.
:
:-D
:
:
:-- 
:To unsubscribe: mail -s unsubscribe sparc-list-request@redhat.com < /dev/null
:

--=====================_329977252==_
Content-Type: text/plain; name="softirq.h.diff";
 x-mac-type="54455854"; x-mac-creator="74747874"
Content-Transfer-Encoding: x-uuencode
Content-Disposition: attachment; filename="softirq.h.diff"


begin 600 softirq.h.diff
M+2TM(&QI;G5X,BXQ+C$S,BYO<F<O:6YC;'5D92]A<VTM<W!A<F,O<V]F=&ER
M<2YH"51H=2!*86X@(#<@,3@Z,C`Z,C@@,3DY.0HK*RL@;&EN=7@R+C$N,3,R
M+VEN8VQU9&4O87-M+7-P87)C+W-O9G1I<G$N:`E4:'4@1&5C(#(T(#$R.C`T
M.C,P(#$Y.3@*0$`@+30Q+#<@*S0Q+#<@0$`*(`EU;G-I9VYE9"!L;VYG(&9L
M86=S.PH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RL["BL)8FA?;6%S:U]C;W5N=%MN<ETN8V]U;G1E<BLK
M.PH@"7-Y;F-H<F]N:7IE7V)H*"D["B!]"B`*(&5X=&5R;B!I;FQI;F4@=F]I
M9"!E;F%B;&5?8F@H:6YT(&YR*0H@>PHM"6EF("@A+2UB:%]M87-K7V-O=6YT
M6VYR72D**PEI9B`H(2TM8FA?;6%S:U]C;W5N=%MN<ETN8V]U;G1E<BD*(`D)
M8FA?;6%S:R!\/2`Q(#P\(&YR.PH@?0H@"B!E>'1E<FX@:6YL:6YE('9O:60@
M:6YI=%]B:"AI;G0@;G(L('9O:60@*"IR;W5T:6YE*2AV;VED*2D*('L*(`EB
M:%]B87-E6VYR72`](')O=71I;F4["BT)8FA?;6%S:U]C;W5N=%MN<ET@/2`P
M.PHK"6)H7VUA<VM?8V]U;G1;;G)=+F-O=6YT97(@/2`P.PH@"6)H7VUA<VL@
1?#T@,2`\/"!N<CL*('T*(`H`
`
end

--=====================_329977252==_
Content-Type: text/plain; name="bpp.c.diff";
 x-mac-type="54455854"; x-mac-creator="74747874"
Content-Transfer-Encoding: x-uuencode
Content-Disposition: attachment; filename="bpp.c.diff"


begin 600 bpp.c.diff
M+2TM(&QI;G5X,BXQ+C$S,BYO<F<O9')I=F5R<R]S8G5S+V-H87(O8G!P+F,)
M4W5N($]C="`@-"`Q,3HR,CHT-"`Q.3DX"BLK*R!L:6YU>#(N,2XQ,S(O9')I
M=F5R<R]S8G5S+V-H87(O8G!P+F,)1G)I($IA;B`@,2`Q-CHR,CHR-2`Q.3DY
M"D!`("TT-S`L,3,@*S0W,"PQ-"!`0`H@("H@;6]D92!A<R!T:&ES(&ES(&$@
M<F5A<V]N86)L92!P;&%C92!T;R!C;&5A;B!U<"!F<F]M(&UE<W-E<R!M861E
M(&)Y"B`@*B!I;V-T;',L(&]R(&]T:&5R(&UA>6AE;2X*("`J+PHM<W1A=&EC
M('9O:60@8G!P7W)E;&5A<V4H<W1R=6-T(&EN;V1E("II;F]D92P@<W1R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68@*&UI
M;F]R(#X]($)04%].3RD@<F5T=7)N("U%3D]$158["B`@("`@("!I9B`H(6EN
M<W1A;F-E<UMM:6YO<ETN<')E<V5N="D@<F5T=7)N("U%3D]$158["B`*0$`@
M+3@V,2PV("LX-C(L,3$@0$`*(`EB<'!?;W!E;BP*(`E.54Q,+`D)+RH@9FQU
M<V@@*B\*(`EB<'!?<F5L96%S92P**R`@3E5,3"P@("`O*B!F<WEN8R`J+PHK
M("!.54Q,+"`@("\J(&9A<WEN8R`J+PHK("!.54Q,+"`@("\J(&-H96-K(&UE
M9&EA(&-H86YG92`J+PHK("!.54Q,+"`@("\J(')E=F%L:61A=&4@*B\**R`@
M3E5,3"P@("`O*B!L;V-K("HO"B!].PH@"B`C:68@9&5F:6YE9"A?7VDS.#9?
#7RD*
`
end

--=====================_329977252==_--

-- 
To unsubscribe: mail -s unsubscribe sparc-list-request@redhat.com < /dev/null