multiple devices, single driver

Christian Helmuth christian.helmuth at
Thu Oct 25 14:41:14 CEST 2018


On Thu, Oct 25, 2018 at 02:16:35PM +0200, Alexander Boettcher wrote:
> Actually, in this case, I would not encourage to implement it in one
> driver. The network cards are independent (as opposed for devices on a
> ahci controller) from each other, so just start/instantiate the driver
> two times. With that you cleanly isolate the network data.
> For that to work, you have to configure the platform driver (the guard
> to the PCIe bus on Genode) [0] to hand out the first driver one network
> card (described as PCI bus device function) and for the second driver
> the other network card (described by another PCI bus device function).

I actually did such a two-NICs scenario a while ago.

Christian Helmuth
Genode Labs · · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth

More information about the users mailing list