sky2: fix for Yukon FE (regression in 2.6.25)
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 5 Feb 2008 03:45:13 +0000 (19:45 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 5 Feb 2008 18:31:09 +0000 (13:31 -0500)
commit39dbd9587bebedbd72be9a8a30a8c4783f3ef7eb
tree6adb31718a27d3aa5ebc1a41097111f3c40579a9
parent57f78ab3b0e9338a9241aeff6ee92aecc8f8bcbb
sky2: fix for Yukon FE (regression in 2.6.25)

The Yukon FE chip has a ram buffer therefore it needs the alignment
restriction and hang check workarounds.

Therefore:
  * Autodetect the prescence/absence of ram buffer
  * Rename the flag value to reflect this
  * Use it consistently (ie don't reread register)

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c
drivers/net/sky2.h