diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/tx4938/toshiba_rbtx4938/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/tx4938/toshiba_rbtx4938/setup.c b/arch/mips/tx4938/toshiba_rbtx4938/setup.c index 4a8152375efe..632e5d201353 100644 --- a/arch/mips/tx4938/toshiba_rbtx4938/setup.c +++ b/arch/mips/tx4938/toshiba_rbtx4938/setup.c | |||
@@ -598,8 +598,8 @@ static int __init rbtx4938_ethaddr_init(void) | |||
598 | printk(KERN_WARNING "seeprom: bad checksum.\n"); | 598 | printk(KERN_WARNING "seeprom: bad checksum.\n"); |
599 | } | 599 | } |
600 | for (i = 0; i < 2; i++) { | 600 | for (i = 0; i < 2; i++) { |
601 | unsigned int slot = TX4938_PCIC_IDSEL_AD_TO_SLOT(31 - i); | 601 | unsigned int id = |
602 | unsigned int id = (1 << 8) | PCI_DEVFN(slot, 0); /* bus 1 */ | 602 | TXX9_IRQ_BASE + (i ? TX4938_IR_ETH1 : TX4938_IR_ETH0); |
603 | struct platform_device *pdev; | 603 | struct platform_device *pdev; |
604 | if (!(tx4938_ccfgptr->pcfg & | 604 | if (!(tx4938_ccfgptr->pcfg & |
605 | (i ? TX4938_PCFG_ETH1_SEL : TX4938_PCFG_ETH0_SEL))) | 605 | (i ? TX4938_PCFG_ETH1_SEL : TX4938_PCFG_ETH0_SEL))) |