Author: andrew
Date: Mon Dec 29 17:17:01 2014
New Revision: 276367
URL: https://svnweb.freebsd.org/changeset/base/276367

Log:
  Attach vtnet to virtio_mmio. Qemu provides this as an option with AArch64.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/dev/virtio/network/if_vtnet.c

Modified: head/sys/dev/virtio/network/if_vtnet.c
==============================================================================
--- head/sys/dev/virtio/network/if_vtnet.c      Mon Dec 29 16:32:24 2014        
(r276366)
+++ head/sys/dev/virtio/network/if_vtnet.c      Mon Dec 29 17:17:01 2014        
(r276367)
@@ -298,6 +298,8 @@ static driver_t vtnet_driver = {
 };
 static devclass_t vtnet_devclass;
 
+DRIVER_MODULE(vtnet, virtio_mmio, vtnet_driver, vtnet_devclass,
+    vtnet_modevent, 0);
 DRIVER_MODULE(vtnet, virtio_pci, vtnet_driver, vtnet_devclass,
     vtnet_modevent, 0);
 MODULE_VERSION(vtnet, 1);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to