socsvn commit: r306427 - soc2016/vincenzo/head/sys/dev/netmap
vincenzo at FreeBSD.org
vincenzo at FreeBSD.org
Mon Jul 18 09:12:26 UTC 2016
Author: vincenzo
Date: Mon Jul 18 09:12:25 2016
New Revision: 306427
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=306427
Log:
freebsd: ptnet: don't use deprecated CTRL register
Modified:
soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c
Modified: soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c
==============================================================================
--- soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c Mon Jul 18 09:11:21 2016 (r306426)
+++ soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c Mon Jul 18 09:12:25 2016 (r306427)
@@ -679,10 +679,6 @@
cpu_cur = CPU_NEXT(cpu_cur);
}
- /* Tell the hypervisor that we have allocated the MSI-X vectors,
- * so that it can do its own setup. */
- bus_write_4(sc->iomem, PTNET_IO_CTRL, PTNET_CTRL_IRQINIT);
-
return 0;
err_path:
ptnet_irqs_fini(sc);
@@ -695,10 +691,6 @@
device_t dev = sc->dev;
int i;
- /* Tell the hypervisor that we are going to deallocate the
- * MSI-X vectors, so that it can do its own cleanup. */
- bus_write_4(sc->iomem, PTNET_IO_CTRL, PTNET_CTRL_IRQFINI);
-
for (i = 0; i < sc->num_rings; i++) {
struct ptnet_queue *pq = sc->queues + i;
More information about the svn-soc-all
mailing list