]> err.no Git - linux-2.6/commit
pasemi_mac: clear out old errors on interface open
authorOlof Johansson <olof@lixom.net>
Tue, 2 Oct 2007 21:27:39 +0000 (16:27 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:27 +0000 (16:54 -0700)
commit9e81d331f2ec65695e4366ce592e14f9700bae8b
treecc193c4fbceed81065ead642b7da009d8ffba746
parent7ddeae2c6ceed7f786344731dda27d4277957780
pasemi_mac: clear out old errors on interface open

pasemi_mac: clear out old errors on interface open

Clear out any pending errors when an interface is brought up. Since the bits
are sticky, they might be from interface shutdown time after firmware has
used it, etc.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c
drivers/net/pasemi_mac.h