From: Amos Kong Date: Mon, 21 Jan 2013 01:17:23 +0000 (+0000) Subject: virtio-net: introduce a new control to set macaddr X-Git-Tag: v3.9-rc1~139^2~304^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e58d5aea8abb993983a3f3088fd4a3f06180a1c;p=pandora-kernel.git virtio-net: introduce a new control to set macaddr Currently we write MAC address to pci config space byte by byte, this means that we have an intermediate step where mac is wrong. This patch introduced a new control command to set MAC address, it's atomic. VIRTIO_NET_F_CTRL_MAC_ADDR is a new feature bit for compatibility. Signed-off-by: Amos Kong Signed-off-by: David S. Miller --- Reading git-diff-tree failed