Ok. I've gone and ported the 8xx serial driver, and other misc 8xx
things up to what 2.6 wants them to be, as well as a few of the simpler
changes to head_8xx.S. You can get the patch at
http://stop.crashing.org:16080/~trini/XXX-mpc8xx_round_one.patch
or below. There are a few issues that could still use additional work
(serial), and in 2.6 having request_8xxirq becomes much uglier because
of the irqreturn_t stuff (at least I couldn't make it happen w/o chaning
<linux/interrupt.h>, and I never did figure out why cond_syscall()
doesn't work in some files but not others.
Dan, if you have _anything_ done for head_8xx.S can you please post it?
Thanks.
--
Tom Rini
http://gate.crashing.org/~trini/
From: Dan Malek <hidden> Date: 2003-12-11 19:44:50
Tom Rini wrote:
Ok. I've gone and ported the 8xx serial driver, and other misc 8xx
things up to what 2.6 wants them to be, as well as a few of the
simpler changes to head_8xx.S.
Thanks. So, does the kernel at least compile now? :-)
...and in 2.6 having request_8xxirq becomes much uglier because of the
irqreturn_t stuff
I'm finally going to update this. I've got a pretty good implemenation
of the cascaded controller stuff for the 8560, once I get this debugged
I'll port it here.
Dan, if you have _anything_ done for head_8xx.S can you please post
it?
Yeah, maybe I can do some debug now, too.
Thanks.
-- Dan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On Thu, Dec 11, 2003 at 02:44:50PM -0500, Dan Malek wrote:
Tom Rini wrote:
quoted
Ok. I've gone and ported the 8xx serial driver, and other misc 8xx
things up to what 2.6 wants them to be, as well as a few of the
simpler changes to head_8xx.S.
Thanks. So, does the kernel at least compile now? :-)
Compiles, links, boots and happily dies inside of head_8xx.S :)
quoted
...and in 2.6 having request_8xxirq becomes much uglier because of
the irqreturn_t stuff
I'm finally going to update this. I've got a pretty good implemenation
of the cascaded controller stuff for the 8560, once I get this
debugged I'll port it here.
Sounds like a plan.
quoted
Dan, if you have _anything_ done for head_8xx.S can you please post
it?
On Thu, Dec 11, 2003 at 02:44:50PM -0500, Dan Malek wrote:
quoted
Tom Rini wrote:
quoted
Ok. I've gone and ported the 8xx serial driver, and other misc 8xx
things up to what 2.6 wants them to be, as well as a few of the
simpler changes to head_8xx.S.
Thanks. So, does the kernel at least compile now? :-)
Compiles, links, boots and happily dies inside of head_8xx.S :)
quoted
quoted
...and in 2.6 having request_8xxirq becomes much uglier because of
the irqreturn_t stuff
I'm finally going to update this. I've got a pretty good implemenation
of the cascaded controller stuff for the 8560, once I get this
debugged I'll port it here.
Sounds like a plan.
quoted
quoted
Dan, if you have _anything_ done for head_8xx.S can you please post
it?
That sounds nice.
Any chance to push the changes to the linuxppc-2.5 tree for us poor saps?
It doesn't have to work or anything, just give us something to work...
Regards
Pantelis
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On Mon, Dec 15, 2003 at 02:13:06PM +0200, Pantelis Antoniou wrote:
Tom Rini wrote:
quoted
On Thu, Dec 11, 2003 at 02:44:50PM -0500, Dan Malek wrote:
quoted
Tom Rini wrote:
quoted
Ok. I've gone and ported the 8xx serial driver, and other misc 8xx
things up to what 2.6 wants them to be, as well as a few of the
simpler changes to head_8xx.S.
Thanks. So, does the kernel at least compile now? :-)
Compiles, links, boots and happily dies inside of head_8xx.S :)
quoted
quoted
...and in 2.6 having request_8xxirq becomes much uglier because of
the irqreturn_t stuff
I'm finally going to update this. I've got a pretty good implemenation
of the cascaded controller stuff for the 8560, once I get this
debugged I'll port it here.
Sounds like a plan.
quoted
quoted
Dan, if you have _anything_ done for head_8xx.S can you please post
it?
Yeah, maybe I can do some debug now, too.
Hopefully :)
That sounds nice.
Any chance to push the changes to the linuxppc-2.5 tree for us poor saps?
It doesn't have to work or anything, just give us something to work...
On Mon, Dec 15, 2003 at 02:13:06PM +0200, Pantelis Antoniou wrote:
quoted
Tom Rini wrote:
quoted
On Thu, Dec 11, 2003 at 02:44:50PM -0500, Dan Malek wrote:
quoted
Tom Rini wrote:
quoted
Ok. I've gone and ported the 8xx serial driver, and other misc 8xx
things up to what 2.6 wants them to be, as well as a few of the
simpler changes to head_8xx.S.
Thanks. So, does the kernel at least compile now? :-)
Compiles, links, boots and happily dies inside of head_8xx.S :)
quoted
quoted
...and in 2.6 having request_8xxirq becomes much uglier because of
the irqreturn_t stuff
That sounds nice.
Any chance to push the changes to the linuxppc-2.5 tree for us poor saps?
It doesn't have to work or anything, just give us something to work...
And this breaks compilation for non-8xx machines in current linuxppc-2.5:
| In file included from arch/ppc/kernel/traps.c:29:
| include/linux/interrupt.h:38: error: parse error before "irqreturn_t"
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
From: Paul Mackerras <hidden> Date: 2003-12-21 21:39:20
Tom Rini writes:
(serial), and in 2.6 having request_8xxirq becomes much uglier because
of the irqreturn_t stuff (at least I couldn't make it happen w/o chaning
<linux/interrupt.h>, and I never did figure out why cond_syscall()
doesn't work in some files but not others.
Gaahhhh, I thought we had got rid of request_8xxirq. I don't want to
see it come back. And this sort of thing is just bad:
From: Dan Malek <hidden> Date: 2003-12-22 09:00:21
Paul Mackerras wrote:
Gaahhhh, I thought we had got rid of request_8xxirq. I don't want to
see it come back. And this sort of thing is just bad.
I don't know why in the hell this has irritated you so badly.
It's 10 lines of code to allow people to use those legacy PC devices
on boards like the MBX860 have have an 8259 controller.
In any case, since the 2.4 was screwed up so badly when it was
removed there, I have removed it from 2.6. I'm just building various
configurations right now to ensure I didn't break some non-8xx stuff
in the process.
Thanks.
-- Dan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/