]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sky2: use duplex result bits
authorStephen Hemminger <shemminger@osdl.org>
Tue, 17 Oct 2006 17:24:08 +0000 (10:24 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Tue, 17 Oct 2006 17:24:08 +0000 (10:24 -0700)
commit7c74ac1c236457e454804774e832046c1a7cc0bf
tree10d9bc000ffbec9fc94604977eef69f84a134def
parent0edea0f54e1e28bdc1ce6b02d5ca3c4c878cf959
sky2: use duplex result bits

The result of duplex negotiation is avaliable in the phy status
register, so use that to simplify code and avoid rereading the PHY.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/sky2.c