On Wed, Apr 1, 2009 at 11:31 PM, Subodh Nijsure <subodh.nijs...@gmail.com> wrote: > Hello, > > I need some help in understanding the interrupts = <...> section of DTB file. > > I have read the Documentation/booting-without-of.txt and I understand > that interrupts = <A B> means interrupt A and B is "enum" that > indicates if its an edge or level interrupt. > > I need bit of help in parsing the description below: > > enet0: ether...@24000 { > > cell-index = <0>; > > device_type = "network"; > > model = "eTSEC"; > > compatible = "gianfar"; > > reg = <0x24000 0x1000>; > > local-mac-address = [ 00 00 00 00 00 00 ]; > > interrupts = <29 2 30 2 34 2>; > > interrupt-parent = <&mpic>; > > phy-handle = <&phy0>; > > phy-connection-type = "sgmii"; > > }; > > If I follow the interrupts description are we saying that this eTSEC1 > on the board will generate interrupt 29, 30 & 34? Should see them as > registered interrupts in /proc/interrupt? >
Apologies about this -- a duh moment. eth0 was marked as down once I brought it up I do see those interrupts registered... cat /proc/interrupts CPU0 CPU1 29: 0 0 OpenPIC Level enet_tx 30: 0 0 OpenPIC Level enet_rx 34: 0 0 OpenPIC Level enet_error /Subodh _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev