8xx_imap patch for the mpc8xx ATM driver

Pedro Aguilar paguilar at junkerhq.net
Tue Jan 11 04:04:21 EST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_8xx_imap_100105
Type: application/octet-stream
Size: 335 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050110/c93b092a/attachment.obj 


More information about the Linuxppc-embedded mailing list