Subject: Re: LC 475
To: Will Mitayai Keeso Rowe <thelab@nmarcom.com>
From: David Johnston <david@canopus.apana.org.au>
List: port-mac68k
Date: 12/18/1997 20:47:20
[ extract of message from Will Mitayai Keeso Rowe on "Re: LC 475" ]
} On Tue, 16 Dec 1997, David Johnston wrote:
} 
} > [ extract of message from Will Mitayai Keeso Rowe on "LC 475" ]
} > } 
} > } Hi! How is support for the LC 475 in 1.3?
} > }
} > 
} > Almost, but not quite there. With the appropriate box ticked in the
} > booter internal video works (including black-and-white X-windows).
} > Everything else works except for...
} > 
} > Unfortunately changes made to the interrupt code a month ago don't
} > work for the LC475 - all recent kernels panic during the boot process.
} > I can provide a 1.3-beta kernel which works on my LC 475 (I've hacked
} > the kernel to get around the interrupt problem) and/or kernel source
} > patches if you want it.
} > 
} > 	david
} > 
} 
} Either would be great, and i appreciate your reply.

Sorry about the delay in replying, but my connection to the internet
has been down for a day-and-a-half.

Anyway, the following patch applied to /sys/arch/mac68k/mac68k/locore.s is
all that is required to get a 1.3 beta kernal working on my LC475.

I don't really understand why it works, but it does. It should, hopefully,
work on yours as well.

} Do you think there
} ever will be full support for the LC 475, or is it just wishful thinking? 

I know of no reason why there shouldn't be full support for the LC475. The
current problem looks minor enough. Unfortunately there won't be a fix in for
1.3, but it should be easy enough to put it in a later patch release.

	david

--

David Johnston
david@canopus.apana.org.au

########################### CUT HERE ###########################
*** locore.s.save       Tue Dec  9 21:45:14 1997
--- locore.s    Tue Dec  9 21:46:35 1997
***************
*** 755,760 ****
--- 755,761 ----
   */
  
  ENTRY_NOPROFILE(spurintr)
+ ENTRY_NOPROFILE(lev3intr)
        addql   #1,_C_LABEL(intrcnt)+0
        addql   #1,_C_LABEL(cnt)+V_INTR
        jra     _ASM_LABEL(rei)
***************
*** 780,798 ****
        jbsr    a2@
        addql   #4,sp
        moveml  sp@+,#0xFFFF
-       addql   #4,sp
-       addql   #1,_C_LABEL(cnt)+V_INTR
-       jra     _ASM_LABEL(rei)
- 
- ENTRY_NOPROFILE(lev3intr)
-       addql   #1,_C_LABEL(intrcnt)+24
-       clrl    sp@-
-       moveml  #0xFFFF,sp@-
-       movl    sp, sp@-
-       movl    _C_LABEL(lev3_intrvec),a2
-       jbsr    a2@
-       addql   #4,sp
-       moveml  sp@+, #0xFFFF
        addql   #4,sp
        addql   #1,_C_LABEL(cnt)+V_INTR
        jra     _ASM_LABEL(rei)
--- 781,786 ----
########################### CUT HERE ###########################