freebsd-dev/sys/dev/xen
Roger Pau Monné 6567125372 xen-netfront: fix initialization
A couple of mostly cosmetic fixes for the final initialization of netfront:

 - Switch to "connected" state before starting to kick the rings.
 - Correctly use "rxq" in the initialization loop (previously rxq was not
   updated in the loop, and netfront would kick np->rxq[N] several times).
 - Declare and define xn_connect as static, it's not used outside of this
   file.

Reviewed by:		Wei Liu <wei.liu2@citrix.com>
Sponsored by:		Citrix Systems R&D
Differential revision:	https://reviews.freebsd.org/D6657
2016-06-06 15:01:24 +00:00
..
balloon sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
blkback xen-blkback: fix error path on failed attach 2016-06-03 11:39:35 +00:00
blkfront sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
console xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
control Add an EARLY_AP_STARTUP option to start APs earlier during boot. 2016-05-14 18:22:52 +00:00
debug
evtchn Remove misc NULL checks after M_WAITOK allocations. 2016-05-10 10:26:07 +00:00
grant_table sys/dev: extend use of the howmany() macro when available. 2016-04-26 15:03:15 +00:00
netback sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
netfront xen-netfront: fix initialization 2016-06-06 15:01:24 +00:00
pci Associate device_t objects with ACPI handles via PCI_CHILD_ADDED(). 2016-04-07 17:15:16 +00:00
pcifront
privcmd xen/privcmd: fix integer truncation in IOCTL_PRIVCMD_MMAPBATCH 2016-05-06 16:44:46 +00:00
pvcpu
timer xen/pvclock: set the correct resolution for the Xen PV clock 2016-05-04 13:49:59 +00:00
xenpci xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
xenstore sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00