* 8xx_imap patch for the mpc8xx ATM driver
@ 2005-01-10 17:04 Pedro Aguilar
2005-01-10 18:49 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Pedro Aguilar @ 2005-01-10 17:04 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
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
[-- Attachment #2: patch_8xx_imap_100105 --]
[-- Type: application/octet-stream, Size: 336 bytes --]
--- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 8xx_imap patch for the mpc8xx ATM driver
2005-01-10 17:04 8xx_imap patch for the mpc8xx ATM driver Pedro Aguilar
@ 2005-01-10 18:49 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-01-10 18:49 UTC (permalink / raw)
To: Pedro Aguilar; +Cc: linuxppc-embedded
Dear Pedro,
in message <61163.81.72.55.167.1105376661.squirrel@81.72.55.167> you wrote:
>
> It is a very simple change in the include/asm-ppc/8xx_imap.h file .
Checked in. Thanks a lot.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
I am an atheist, thank God!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-11 4:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-10 17:04 8xx_imap patch for the mpc8xx ATM driver Pedro Aguilar
2005-01-10 18:49 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).