|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|

Go to the source code of this file.
Functions | |
| int | virtio_net_probe_and_init (void) |
| int virtio_net_probe_and_init | ( | void | ) |
virtio_net_probe_and_init() - Probe PCI bus for a virtio-net device and initialise it.
Scans pci_devices[] for vendor=0x1AF4, device=0x1000. Negotiates legacy virtio features, allocates virtqueues from physically contiguous PMM frames, and registers a netdev_t via netdev_register().

