staging: et131x: et1310_mac.c: ConfigMacStatRegs() add missing regs to be zeroed
authorMark Einon <mark.einon@gmail.com>
Thu, 7 Jul 2011 22:38:58 +0000 (23:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:06:37 +0000 (14:06 -0700)
commite19d8ba145acbe5b0843270f25ff5821287e568e
tree365e0601e0e248780e6c9381a2a15eb05a9d71a2
parent9c4715939a8fd4a9d90ef4855384481300f31c79
staging: et131x: et1310_mac.c: ConfigMacStatRegs() add missing regs to be zeroed

The comment at the top of the function states 'we need to initialize all the macstat registers to zero', but not all macstat registers are zeroed. Zero the missing registers.
Tested on an ET-131x device.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et1310_mac.c