virtio: populate network rings in the probe routine, not open
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Feb 2008 04:50:02 +0000 (23:50 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2008 12:50:03 +0000 (23:50 +1100)
commitb3369c1fb410fddeb38a404316c861395f6d6ae8
treefb7ef77a531e13d88ae2d348017e008d0c1af49b
parent34a48579e4fb380604d06f0409db3851bd22d785
virtio: populate network rings in the probe routine, not open

Since we want to reset the device to remove them, this is simpler
(device is reset for us on driver remove).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/virtio_net.c