configuring libbsd for em NIC driver
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jun 25 04:38:43 UTC 2015
----- Joel Sherrill <joel.sherrill at oarcorp.com> schrieb:
> Hi
>
> As I posted, I have the pc386 up to the point where I can
> run the non-network tests with one intermittent failure.
>
> I am pretty sure Mark wants the em driver found in
> freebsd/sys/dev/e1000/ (em driver).
>
> FWIW it looks like qemu simulates a handful of useful
> NICs. I would like to also be able to exercise them.
>
> qemu: Supported NIC models: ne2k_pci,i82551,i82557b,i82559er,rtl8139,e1000,pcnet,virtio
>
> This covers the em, fxp, rtl, and AMD PCNET Lance. That's
> would cover a lot of the PC territory.
>
> So how does one configure this in the stack? And bring
> it up enough to see that the NIC is found.
You have to add a "pci" child device to the "nexus" device and make sure that the desired driver is referenced. See also
rtemsbsd/include/bsp/nexus-devices.h
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list