]> git.baikalelectronics.ru Git - kernel.git/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)
commit9c3b2e7095f8b6db406bc9a566f7e5c85dc5966d
tree6d7ba4add8344afdc1046f248fce352e6d342444
parentf2f0bfaebbc6b90283e6cce8e9980fadf802cb70
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