According to PowerPC 440EPx documentation,
MAL0 is comprised of four channels (two transmit and two receive).
Each channel is dedicated to one of two EMAC cores.
This patch fixes Sequoia DTS MAL0 entry and EMAC entries,
assigning correct channel numbers to EMACs.
Signed-off-by: Valentine Barshak <redacted>
---
arch/powerpc/boot/dts/sequoia.dts | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff -ruN linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts linux-2.6/arch/powerpc/boot/dts/sequoia.dts
From: David Gibson <hidden> Date: 2007-09-19 01:05:26
On Tue, Sep 18, 2007 at 09:29:13PM +0400, Valentine Barshak wrote:
According to PowerPC 440EPx documentation,
MAL0 is comprised of four channels (two transmit and two receive).
Each channel is dedicated to one of two EMAC cores.
This patch fixes Sequoia DTS MAL0 entry and EMAC entries,
assigning correct channel numbers to EMACs.
Hrm.. did they change the EMAC in 440EPx to only use one MAL
tx-channel? All the older ones could use two (for no readily apparent
reason, IMO).
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
On Tue, Sep 18, 2007 at 09:29:13PM +0400, Valentine Barshak wrote:
quoted
According to PowerPC 440EPx documentation,
MAL0 is comprised of four channels (two transmit and two receive).
Each channel is dedicated to one of two EMAC cores.
This patch fixes Sequoia DTS MAL0 entry and EMAC entries,
assigning correct channel numbers to EMACs.
Hrm.. did they change the EMAC in 440EPx to only use one MAL
tx-channel? All the older ones could use two (for no readily apparent
reason, IMO).
Yes, they did.
Just 1 tx and 1 rx-channel per EMAC. Just 2 bits to select channels,
while all other bits in MAL registers are reserved.
I'm not sure why they did it (possible bus bandwidth problems), but it's
impossible to set more than 1 rx/tx channel for each EMAC in 440EPx.
On Tue, Sep 18, 2007 at 09:29:13PM +0400, Valentine Barshak wrote:
quoted
According to PowerPC 440EPx documentation,
MAL0 is comprised of four channels (two transmit and two receive).
Each channel is dedicated to one of two EMAC cores.
This patch fixes Sequoia DTS MAL0 entry and EMAC entries,
assigning correct channel numbers to EMACs.
Hrm.. did they change the EMAC in 440EPx to only use one MAL
tx-channel? All the older ones could use two (for no readily apparent
reason, IMO).
Yes, they did.
Just 1 tx and 1 rx-channel per EMAC. Just 2 bits to select channels,
while all other bits in MAL registers are reserved.
I'm not sure why they did it (possible bus bandwidth problems), but it's
impossible to set more than 1 rx/tx channel for each EMAC in 440EPx.
On Tue, Sep 18, 2007 at 09:29:13PM +0400, Valentine Barshak wrote:
quoted
According to PowerPC 440EPx documentation,
MAL0 is comprised of four channels (two transmit and two receive).
Each channel is dedicated to one of two EMAC cores.
This patch fixes Sequoia DTS MAL0 entry and EMAC entries,
assigning correct channel numbers to EMACs.
Hrm.. did they change the EMAC in 440EPx to only use one MAL
tx-channel? All the older ones could use two (for no readily apparent
reason, IMO).
Yes, they did.
Just 1 tx and 1 rx-channel per EMAC. Just 2 bits to select channels,
while all other bits in MAL registers are reserved.
I'm not sure why they did it (possible bus bandwidth problems), but it's
impossible to set more than 1 rx/tx channel for each EMAC in 440EPx.
Josh, David, is this patch OK?
Yeah. I applied it to my tree and asked Paul to pull. Same for the
Bamboo one.
josh
On Tue, Sep 18, 2007 at 09:29:13PM +0400, Valentine Barshak wrote:
quoted
According to PowerPC 440EPx documentation,
MAL0 is comprised of four channels (two transmit and two receive).
Each channel is dedicated to one of two EMAC cores.
This patch fixes Sequoia DTS MAL0 entry and EMAC entries,
assigning correct channel numbers to EMACs.
Hrm.. did they change the EMAC in 440EPx to only use one MAL
tx-channel? All the older ones could use two (for no readily apparent
reason, IMO).
Yes, they did.
Just 1 tx and 1 rx-channel per EMAC. Just 2 bits to select channels,
while all other bits in MAL registers are reserved.
I'm not sure why they did it (possible bus bandwidth problems), but it's
impossible to set more than 1 rx/tx channel for each EMAC in 440EPx.
Josh, David, is this patch OK?
Yeah. I applied it to my tree and asked Paul to pull. Same for the
Bamboo one.
josh