tg3: Add error reporting to tg3_phydsp_write()
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 2 Aug 2010 11:26:04 +0000 (11:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2010 22:46:31 +0000 (15:46 -0700)
commit6ee7c0a0a5003abd4afd724f5c2f654fe7328c0a
tree191edcc071eecda31fbf67bee1cc5bab7e4dab84
parentf65aac166fe10b96e64c233980a3522fc50fbecf
tg3: Add error reporting to tg3_phydsp_write()

This patch adds error reporting to the tg3_phydsp_write() function and
converts a few more locations to use this function over the inlined
equivalent.

Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c