From: Alex Williamson Date: Sat, 4 Apr 2009 23:40:19 +0000 (-0700) Subject: virtio_net: Set the mac config only when VIRITO_NET_F_MAC X-Git-Tag: v2.6.30-rc1~137^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62994b2d6beb5f7c59a25bf77e01f191acf74ea2;p=pandora-kernel.git virtio_net: Set the mac config only when VIRITO_NET_F_MAC VIRTIO_NET_F_MAC indicates the presence of the mac field in config space, not the validity of the value it contains. Allow the mac to be changed at runtime, but only push the change into config space with the VIRTIO_NET_F_MAC feature present. Signed-off-by: Alex Williamson Acked-by: Christian Borntraeger Signed-off-by: David S. Miller --- Reading git-diff-tree failed