Subject: shutdown..
To: None <macbsd-general@NetBSD.ORG>
From: None <jann0004@maroon.tc.umn.edu>
List: macbsd-general
Date: 06/20/1995 00:10:53
> While messing around with the network driver, I noticed the following
> irregularity in sys/arch/mac68k/mac68k/via.c:
> 
>   void via_shutdown()
>   {
>       if(VIA2 == VIA2OFF){
> >>>       via_reg(VIA2, vDirB) |= 0x04;  /* Set write for bit 2/    <<<
>           via_reg(VIA2, vBufB) &= ~0x04; /* Shut down */
>       }else if(VIA2 == RBVOFF){
>           via_reg(VIA2, rBufB) &= ~0x04;
>       }
>   }
> 
> Where it says "Set write for bit 2/" it should say "Set write for bit 2 */"
> which has the effect of commenting out the next line. Someone who has been
> unable to shut down using 'halt' should try fixing this and seeing if it
> has any effect.
 
yup, I just changed that line, and it shuts down just fine after I compiled
the kernel:)


-- 
Scott Jann (Mr. Bill)			"Zoinks!" -Shaggy
   email: jann0004@maroon.tc.umn.edu
   irc:   MrBill