[Celinux-dev] Ethernet support is not working for SH7722 board
Ashay Jaiswal
Ashay.Jaiswal at kpitcummins.com
Sun Jun 17 21:51:15 PDT 2007
Hi all,
I am trying to add Ethernet support in linux-2.6.21 kernel for SH7722
board. The 'smsc' chip is using IRQ0 line of the board.
1. I have initialized all the register properly but no interrupt is
getting generated when I am connecting the Ethernet cable to the board
Even though it is reading the MAC address correctly.
I am using patch available in the following site for SH7722
support:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;h=6865f0ea6ad91fec3ae7831c49d48b5a7db4b428
2. I have done some manual changes in linux-2.6.21 kernel in the
'arch/sh/kernel/cpu/irq/ipr.c' file in the kernel to add IRQ0 manually
in the 'ipr' table.
Now I am getting the interrupt when I connected the Ethernet cable
to the board but it is giving following error:
------------------------------------------------------------------------
------------------------------------------------------------------------
-----------------------
desc: 8c1fdb80, depth: 0, count: 0, unhandled: 0
->handle_irq(): 8c0338e0, handle_bad_irq+0x0/0x2a0
->chip(): 8c1f1814, 0x8c1f1814
->action(): 8c3f0960
->action->handler(): 8c105300, smc_interrupt+0x0/0xae0
unexpected IRQ trap at vector 6e
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------
Any help in this regard would be appreciated.
Thanks and Regards
Ashay Jaiswal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tree.celinuxforum.org/pipermail/celinux-dev/attachments/20070617/ff55db39/attachment-0001.html
More information about the Celinux-dev
mailing list