Altera_Forum
Honored Contributor
14 years agodm9000 device tree
Hello,
Can someone give me some instructions, howto get dm9000a Ethernet card to work with latest nios2 linux community edition (kernel 3.3.0-rc7) with device tree? My development board is DE2-70 I tried to generate the device tree structure with sopc2dts utility and I got this message "Component DM9000A of class DM9000A_IF is unknown" so I edited the dm9000 section in dts file to DM9000A: ethernet@0x940a180 { compatible = "davicom,dm9000"; reg = < 0x0940A180 0x00000008 >; interrupt-parent = < &cpu >; interrupts = < 5 >; }; //end unknown@0x940a180 (DM9000A) And added DM9000A support into kernel, the driver is loaded, but it doesnt recognize the dm9000 card io scheduler cfq registered (default) ttyJ0 at MMIO 0x4001020 (irq = 1) is a Altera JTAG UART console [ttyJ0] enabled, bootconsole disabled console [ttyJ0] enabled, bootconsole disabled dm9000 Ethernet Driver, V1.31 mousedev: PS/2 mouse device common for all mice TCP cubic registered I tried it before with older version, configured with ptf file and it worked good, but with the newer version I cannot get it up. Any help would be appreciated Thank You