[SOLVED] Networking with QEMU
Simon Perreault
simon.perreault at viagenie.ca
Mon Nov 29 21:16:07 UTC 2010
On 2010-11-29 15:18, Simon Perreault wrote:
>> $ qemu -net nic,model=ne2k_isa
>> isa irq 9 already assigned
I got it to work! Here's the solution for the archives...
$ qemu -M isapc -net nic,model=ne2k_isa ...
By default, QEMU uses IRQ 9, while RTEMS uses IRQ 5. I just hard-coded
the IRQ in my struct rtems_bsdnet_ifconfig, along with the IO address
(0x300) while I am at it.
static struct rtems_bsdnet_ifconfig netdriver_config = {
(char *)BSP_NE2000_NETWORK_DRIVER_NAME,
BSP_NE2000_NETWORK_DRIVER_ATTACH,
NULL,
NULL,
NULL,
NULL,
0,
0,
0,
0,
0x300,
9,
0,
NULL
};
Simon
--
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server --> http://numb.viagenie.ca
More information about the users
mailing list