8xx_imap patch for the mpc8xx ATM driver

From: Pedro Aguilar <hidden>
Date: 2005-01-10 17:18:05

Hi,

I have a mpc8xx based board that must provide ATM functionality using the
utopia interface. I used the mpc86x ESAR Linux ATM driver, but since the
driver was develop and has been tested only with kernels 2.4.4 and 2.4.17,
I had to modify my kernel (2.4.25 from DENX) in order to make it work.

It is a very simple change in the include/asm-ppc/8xx_imap.h file .
All the 2.4.x kernels that I've seen need this change.
It seems that the Fast Ethernet Controller needs this change too.

Here's the patch (and in the attchmnt too).
It can be applied from the kernel's top dir.
--- include/asm-ppc/8xx_immap.h 2004-06-25 21:14:33.000000000 +0200
+++ include/asm-ppc/8xx_immap.h 2005-01-10 18:27:57.264606288 +0100
@@ -272,7 +272,8 @@
        ushort  iop_pdpar;
        char    res3[2];
        ushort  iop_pddat;
-       char    res4[8];
+        uint    utmode;
+        char    res4[4];
 } iop8xx_t;

 /* Communication Processor Module Timers

Thanks.

Pedro

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help