sky2: Use 32bit read to read Y2_VAUX_AVAIL
authorMike McCormack <mikem@ring3k.org>
Tue, 1 Sep 2009 03:54:27 +0000 (03:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 00:40:44 +0000 (17:40 -0700)
commit72c60683282a6cd047db47d605eb96e2a6fac72c
tree8cf9906142221f6ef80225d7cc29c7f045dcdb48
parent90bbebb4a8258a398705ecaa2e6b9e177928ee7a
sky2: Use 32bit read to read Y2_VAUX_AVAIL

B0_CTST is a 24bit register according to the vendor driver (sk98lin).
A 16bit read on B0_CTST will always return 0 for Y2_VAUX_AVAIL (1<<16),
 so use a 32bit read when testing Y2_VAUX_AVAIL

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c
drivers/net/sky2.h