Commit 75756929 authored by Eugene Surovegin's avatar Eugene Surovegin Committed by Linus Torvalds

[PATCH] ppc32: fix 440SP MAL channels count

Fix the MAL channels count in PPC 440SP OCP definition.  PPC 440SP has only
1 EMAC attached to MAL.
Signed-off-by: default avatarEugene Surovegin <ebs@ebshome.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9f6a3d08
...@@ -36,8 +36,8 @@ static struct ocp_func_emac_data ibm440sp_emac0_def = { ...@@ -36,8 +36,8 @@ static struct ocp_func_emac_data ibm440sp_emac0_def = {
OCP_SYSFS_EMAC_DATA() OCP_SYSFS_EMAC_DATA()
static struct ocp_func_mal_data ibm440sp_mal0_def = { static struct ocp_func_mal_data ibm440sp_mal0_def = {
.num_tx_chans = 4, /* Number of TX channels */ .num_tx_chans = 1, /* Number of TX channels */
.num_rx_chans = 4, /* Number of RX channels */ .num_rx_chans = 1, /* Number of RX channels */
.txeob_irq = 38, /* TX End Of Buffer IRQ */ .txeob_irq = 38, /* TX End Of Buffer IRQ */
.rxeob_irq = 39, /* RX End Of Buffer IRQ */ .rxeob_irq = 39, /* RX End Of Buffer IRQ */
.txde_irq = 34, /* TX Descriptor Error IRQ */ .txde_irq = 34, /* TX Descriptor Error IRQ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment