]> err.no Git - linux-2.6/commit
sky2: reorganize chip revision features
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 19 Sep 2007 22:36:44 +0000 (15:36 -0700)
committerJeff Garzik <jeff@garzik.org>
Thu, 20 Sep 2007 19:23:00 +0000 (15:23 -0400)
commitea76e63598eb312e5d33a782275be91038fc6df2
tree6d7ba4add8344afdc1046f248fce352e6d342444
parentc99210b50fe741026d86fdcb5f3f5a0c00c503cc
sky2: reorganize chip revision features

This patch should cause no functional changes in driver behaviour.
There are (too) many revisions of the Yukon 2 chip now. Instead of
adding more conditionals based on chip revision; rerganize into a
set of feature flags so adding new versions is less problematic.

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