有关网络驱动的问题,请xtang帮看看

在用的开发板是双以太网网络(RTL8019AS)的,MAC地址分别为00:c0:29:52:01:49和00:c0:29:52:01:4b。现在想要把两路以太网都加载进来,在buildfile script里有关的是这么处理的:
display_msg Welcome to QNX Neutrino 6.4.0 on an PC compatible system

display_msg Starting Ethernet driver …
io-pkt-v4-hc -d ne2000 verbose -d ne2000 verbose -p tcpip &
waitfor /dev/socket 15
ifconfig en0 192.192.2.4
ifconfig en1 192.192.1.4
inetd -d &
DL_DEBUG=1

这样的结果是en0,en1都指像了地址为00:c0:29:52:01:49。请问该如何把两路以太网同时起来呀? :question:

你这个,我猜要加注ioport和irq才行吧。

io-pkt-v4-hc -d ne2000 ioport=,irq=,verbose -d ne2000 ioport=,irq=,verbose -p tcpip

具体数字要查你的板卡的说明了。

:slight_smile: 谢谢。是这样的。要加ioport和irq