DM9000移植 双网卡
我按照网上的一些说明,移植了dm9000的驱动,加载完dm9000的驱动之后,有打印如下:
dm9000 Ethernet Driverdm9000 dm9000_probedm9000: dm9000x: resettingeth1: dm9000 at c580a000,c580c004 IRQ 44 MAC: 00:24:68:36:5c:bb
eth1: link downdm9000: dm9000_hash_table()dm9000: dm9000_hash_table()dm9000: dm9000_hash_table()eth1: link up, 100Mbps, half-duplex, lpa 0x00E1
eth0 Link encap:Ethernet HWaddr 00:24:68:10:20:55 inet addr:192.165.54.235 Bcast:192.165.54.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:52 Base address:0x7000 eth1 Link encap:Ethernet HWaddr 00:24:68:36:5C:BB inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:44 Base address:0xa000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)