Path: utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!rutgers!apple!brooks From: brooks@Apple.COM (Kevin Brooks) Newsgroups: comp.unix.aux Subject: ae6 patch (here it is!) Keywords: ae6 patch ethernet Message-ID: <30857@apple.Apple.COM> Date: 16 May 89 19:47:37 GMT Organization: Apple Computer Inc., Cupertino, CA Lines: 343 I've received so many requests for this patch I've decided to post it. This is a patch for the A/UX 1.0 ethernet driver. This patch helps eliminate the problem the driver has in resetting the card correctly after an overflow condition on the receive buffer. This patch greatly reduces the chances of the card going into an off line state, which would require manual intervention to get the card up again. If you've been seeing alot of these: ae6_intr: receive overflow warning ae0: overflow NIC reset failed this is the patch for you. This fix was provided by John Pane. Many thanks go to him for feeding this fix back to Apple so that everyone can benefit from it. I've shared the following together: ae6.uu - uuencoded enet driver ae6install - install program for the new driver Instructions: o Create a new directory and unshar this into it. o uudecode the new ethernet driver (ie. uudecode ae6.uu). o run ae6install Disclaimer: This software is provided on an "AS IS" basis. Apple makes no warranties,express or implied, including without limitation the implied warranties of merchantability and fitness for a particular purpose, regarding the software." -------------------------------Cut Here-------------------------------------- #! /bin/sh # This is a shell archive. Remove anything before this line, then feed it # into a shell via "sh file" or similar. To overwrite existing files, # type "sh file -c". # The tool that generated this appeared in the comp.sources.unix newsgroup; # send mail to comp-sources-unix@uunet.uu.net if you want that tool. # If this archive is complete, you will see the following message at the end: # "End of shell archive." # Contents: ae6.uu ae6install # Wrapped by root@mackev.a on Thu May 4 11:04:18 1989 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'ae6.uu' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'ae6.uu'\" else echo shar: Extracting \"'ae6.uu'\" \(12048 characters\) sed "s/^X//" >'ae6.uu' <<'END_OF_FILE' Xbegin 666 ae6 XM 5 R17AO< !KB 5 00N=&5X= 32 (P XM !6< "$ @+F1A=&$ !-( 32 <@ !/4 :Q XM P 0"YB3G4P-@%B @ !$C +H O/ $X1.N0 !8CW !8-Y(#O__ XM__0P-@%B @ !,'\ + @? !"!!\ D0+4C__# V 6( " $(# %L $ XM@ DM0/_X,C8!8@ ( 1(P2&!#; ! ,#8!8@ ( 0@, 6P .&( XMX8CAB 2 #_, "! +8@!8O_\ 'HP-@%B @ !" P!; X8CAB.&(!( / XM\@ ($ MB %B__P =C V 6( " $(# %L #AB.&(X8@$@ _Q @0"V( XM 6+__ !^3EY.=4@.____^# V 6( " $P?P L"!\ $($'P"1 M2/_\0K8! XM8O_\ 'I"M@%B__P =D*V 6+__ !^3EY.=4@.____^$CO! !# V 6( " $ XMP?P L"!\ $($7P"1 U=@%B @ ! $)+P !.T-7P%W &)7P 'N "@E XM? $50 ,"5\ %@ L-7P @ (+HI.N0 C_ $FX .3.\$ $ XM3EY.=4@.____Y$CO' 0 !" N A,/ @ L"!\ $($'P"1 D2"9J '8M XM2O_\2K8!8O_\ !!G,DZY "U __A":@""%WP (0 \0BL %$(K !!T & * XM""L !P @9A12@G!DM(!M\& *3.\0 $UH %!=Y 36P 0%WD !-< P7>0 $UT "!=Y 37@ $ XM%KD !-?%WP (0 \%KP 'Q=\ "( /$(K @(]@ & 6+__ )2K8!8O_\ !1G XM""ZN A.N@#,+J[_^$ZY & _L)(#O___^A([PP$ 0@+@ (3#P( XM + @? !"!%\ D0)FH =BU*__Q.N0 M0/_X0FH @A=\ "$ /"ZN A. XMN@30%WP (0 \0BL %$(K !!T & *""L !P @9@A2@G!DM(!M\ @K < (&8P XM+J[_^$ZY )V_[\!8O_\ @NK@ (+SP !/N3KD 6(],[PP$ 1. XM7DYU%WP ! (%WP (@ \0BL ""ZN__A.N0 !@VD@.____[$CO# !" N XM A,/ @ L"!\ $($'P"1 D2"9J '9*:@""9@ 7"UJ !3_^&<<)78! XM8O_X /P %&8$0JH &$*V 6+_^ #\4ZH '$JN__AF#D)J (),[PP 1.7DYU XM+JH >B\N__A.N@GL6(\M0/_\#( \9 @M? #S__" N__S@@ ( <7 XM0 D[_[B#<,)19C' ,"P #"U __P,JP /P !&(,#*L : 1D XM "$< (N@' +P!.N0 !8CR9(( MF6"U\ 2__T8"QP # V 6$ $"Z XM,#8!8@ ( 1(P"\ +SP !0V3KD 4(\M? $/_]"ZN Q.N0 !* XMKO_F9PHNKO_F3KD ("[_]& _PHFK@ ,)WP , 0W? . A@#@2K XM #@ $!FL #@ (( O0JP $($ H2#EN__X #$'N_^XHV#B068Q![ &0^H XM:"#9,)%.N0 M0/_X(#8!8@ ( !RPM@%B @ (&T@4K8!8@ ( "0NKO_X XM3KD +HM.N0 !P2V _H8@"V8,+KP !1/3KD 0JL _$JV 6( XM" 89@HMBP%B @ %& ,('8!8@ ( !@A2P#\+8L!8@ ( !A2M@%B @ '$IJ XM ()F$# V 6( " $2, N@$ZZ_%PNKO_X3KD 2J[_YF<:+JX $"\N_^8O XM/ !.N0 !0CV _@)P & _?Q(#O____!([P0 0@+@ (3#P( XM + @? !"!!\ D0)$@M:@!V__Q*:@""9T@(*@ (=G&BZN @O/ !3). XMN0 !8CP*J_____@"$0FH @DZY "U __A*J@ 49P@NK@ (3KK[OBZN XM__A.N0 !,[P0 1.7DYU2 [____P2.\$ $("X "$P\" "P('P XM 0@1? )$"UJ ';__& ,+HI.N@'6+HI.N@5N+HI.N@4N'4#_^BZ*3KH$\!U XM__L0+O_ZL"[_^V;63.\$ $3EY.=4@.____Y$CO# P !' ,#8!8@ ( $ $ XM@ DM< VP 0/_\("[__$P\" "P('P 0@0? )$"1()FH =BU* XM__AV RN !O_\;1XNKO_\+SP !1D3KD 6(\NO %(5.N0 !* XM*P @9@XNKO_\+SP !2,8 !$A K "!)P * "B0 9P >" "%T ( @" XM %G#%*V 6+_^ !$8 6 @K , (&< $Y2M@%B__@ 2! K Q)P"8 " , XM F<$4JH F @# -G!%*J )P( P $9P12J@"@" , !6<$4JH I @# 9G!%*J XM *@( P '9P12J@"L+J[__$ZZ_A80*P @2< "@ !4D &< ( @ A= " N XMKO_\3KK^> @" 1G%"ZN__Q.NOE6+KP !2E3KD " ( F< %!2M@%B XM__@ 0! K Q)P"8 " , 6<0" , F<&4JH C& $4JH B @# -G!%*J ) ( XM P $9QA2J@"4$!-)P"Z +SP !3)3KD 6(],[PP, 1.7DYU2 [____$ XM2.\<# $)&X "%*J #PNBDZZ TP"@ /\"@ /\M0/_VX8C0J@!Z($ M XM2/_\< 0-@%B__P ^&(0D$2-@%B__P H!!- !G "$#'80 %B__P $&4 XM ( ,=A 0 6+__ 09 3G5"KO_R+JH XM>B\N__(P DC +P O+O_\3KH#PM_\ #"9(( MGT$JN__)G"%BK 19:P ( XM< P-@%B__P $ R ( &+7D $_^IG2DIV 6+_Z@ *9PPNO %/!.N0 ]O " 6+_ XMZ@ *4WD (,4GD (8(_8!8?_J !$*V 6'_ZBV\ # %B_^H !& 4 XM< (N@' +P!.N0 !8CRU(_^HNKO_>3KD 2J[_ZF8.+HM.N0 !P XM2V _MXMO P!8O_J 0]O $ 6+_Z@ (+8L!8?_J)F[_ZB +T*L !"! XM((J1R"Z(+SP 3KD 6(\M? !3_YDZY "U _^(@-@%B_^8 XM"+"V 6+_Y@ ,;1)2M@%B_^8 $"Z+3KD 8$(@"V8,+KP !3U3KD XM0JL _$JV 6+_Y@ $9@@MBP%A_^9@#"!V 6+_Y@ $(4L _"V+ 6+_Y@ $4K8! XM8O_F @NKO_B3KD 8 #^'"Z++PI.N0 !@ /Y\2?8!8O_\ 0S]@%B XM__P $ $X)V & *$9PYL $W)2@W .MH!E\'8 8! 1MCDF__P !#FP 3 XM8E*#< :V@&7J+KP !-@+SP !-P+SP !. +PM.N0 #?_ Q@ /VH XM2 [____T2.\$ $)'8!8@ ( '85? ! #P=:@ @__]"*@ \< 0+O__3.\$ XM $3EY.=4@.____]$CO! !"1V 6( " !V$"H ,%( '4#__PP #]C!AU\ XM ;__W $"[__TSO! !$Y>3G5(#O____!([P0 0D=@%B @ =BZN A. XMNO^L @ _QU __IP ! N__KAB-"V 6( " !Z($ M2/_\$#8!8O_\ %3 !U XM__L, &9 8=? ___L5;O_[ #!,[P0 1.7DYU2 [____@2.\,# $)FX XM#"1N AT & 'PP*@ (2, F # J A(P-2 2H-G !D( K0J@ $($ M2/_V XM( L"@ %G/%.++4O_^CUV 6'_^O_^(&[_]E*N__9"0! 0 D _S(N__X" XM0?\ @D "0?__(&[_^E2N__HP@5.#)F[_^BZ#+PLO+O_V3KH"\E"/U\,D4B * XM9@#_@@@" !G E*"+JX "$ZY " "3.\,# $3EY.=4@.____V$CO# P XM!$*N__Q![O_\+4C_^"0N !!']@%B @ $@2N #@ ,8 !KDZY "U XM_^PD>0 0@"F#(, #P XM;P@@/ /!@ B #-4 ""5\ # $( K0J@ $($ M2/_P( LR*@ (2,'0 XM@2(N !0&@0 0 "P@64 &(@+@ 4!H $ (@N0@2U __0N@"\N__ O"TZZ XM 8!0CR N !0&@ !@ @0"9(("[_\-"N__0@0"U(__ P*@ (2,"0KO_T+H O XM""\+3KH!3E"/,"H "$C D*[_]-? 8!@P*@ (2, N@"\N__ O"TZZ 2Q0C];J XM @MB@%A__@M2O_X2JX $&<@,"H "$C U("TK@ ,9AQ']@%B @ $G0 +6X XM$ ,8 HP*@ (2,"1K@ ,2JX #&X _DX@;O_\8 #^V$@.____Z$CO# !"1N XM @F;@ 0,"H !,'\ + @? !"!!\ D0+4C__$ZY "U __A"KO_T("X XM# R @"!I#&""H !@ )9A8P*@ $2, N@$ZZ[^1@""U\ %O_T XM+J[_^$ZY " N__1,[PP 1.7DYU2 [____P2.\,! $)&X ""9N PD XM+@ 08! VVE6"8 HP&@) _P VP%."2H)O"' !M(!O[&#D3.\,! $3EY.=4@. XM____V"UV 6( # (__QF#"U\ /O_P8 IG ,#8!8O_\ "P,@ YF XM "*"#8 %B__P 56< ')P$"Z 2&[_X$ZY %B//7P O_@0?8!8O_\ XM !PM2/_<+78!8O_< 3_Y&<22&[_X$ZY %B/+4C_^& J !$ (( '0 1 ")@ "P $0 FX M XM !$ *" ! 1 "O@ "X $0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!U= ZP $ , =@ XM ( + 4R $ , =&EM96]U= XM ( +P ( :6Y?;&YA;V8 ( XM ,< ( ;5]C;W!Y ( ;5]G970 XM ( ;5]F XM $ , &EN='( =6YT:6UE;W5T '5P9&%T95]B;W5N9&%R XM>5]P86=E &=E=%]B;W5N9&%R>5]P86=E &=E=%]C=7)R96YT7W!A9V4 'ae6install' <<'END_OF_FILE' X#! /bin/csh X Xset UID = `whoami` X if ( $UID != "root" ) then X echo "" X echo "You must run this as root" X echo "" X exit 1 X endif X Xset DDIR = "/etc/install.d/boot.d" Xset BDIR = "/etc/boot.d" Xset TFILE = "/tmp/kctmp" X X# Backup the old driver X X echo "" X echo "Backing up the old enet driver, saving it as ae6.orig" X X cp $DDIR/ae6 $DDIR/ae6.orig X cp $BDIR/ae6 $BDIR/ae6.orig X X# Install the new driver X X echo "" X echo "Installing the new enet driver" X X cp ./ae6 $DDIR X cp ./ae6 $BDIR X X# Get kernel config params X X echo "" X echo "Saving the current kernel paramaters" X X /etc/kconfig -a -n /unix > $TFILE X X# Rebuild the kernel with the new enet driver. X X echo "" X echo "Rebuilding the kernel (/unix)" X X /etc/autoconfig X X# Reconfigure the kernel with the orig params. X X echo "" X echo "Reconfiguring the new kernels paramaters" X X /etc/kconfig -n /unix < $TFILE X X# Exit X X rm -f $TFILE X X echo "" X echo "The new ethernet driver is now installed." X echo "" X echo "******************** REBOOT YOUR SYSTEM AT THIS TIME **************************" X X exit 0 END_OF_FILE echo shar: NEWLINE appended to \"'ae6install'\" if test 1100 -ne `wc -c <'ae6install'`; then echo shar: \"'ae6install'\" unpacked with wrong size! fi chmod +x 'ae6install' # end of 'ae6install' fi echo shar: End of shell archive. exit 0 Kevin Brooks A/UX Specialist, Apple Computer UUCP: {mtxinu,sun,nsc,voder}!apple!brooks DOMAIN: brooks@apple.com APPLELINK: AUX.DUDE@applelink.apple.com ARPA: brooks%apple@csnet-relay.ARPA