summaryrefslogtreecommitdiff
path: root/drivers/zorro/zorro-sysfs.c
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@intel.com>2009-02-25 00:36:38 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-02-25 00:36:38 (GMT)
commitc7e4358ae8e49f85a4d528366046da26b36a712f (patch)
treef9112dea897b430e843dc319866984935e2d5000 /drivers/zorro/zorro-sysfs.c
parent5325a7bf92d5bcac39dbefdfcc214379d17f3d3a (diff)
downloadlinux-fsl-qoriq-c7e4358ae8e49f85a4d528366046da26b36a712f.tar.xz
ixgbe: Move ring features into an enum, allowing easier future maintenance
From: Shannon Nelson <shannon.nelson@intel.com> The ring_feature member of ixgbe_adapter is statically allocated based on the supported features of the device. When a new feature is added, we need to manually update the static allocation. This patch makes the feature list an enum, eliminating the need for multiple updates to the code when adding a new feature. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/zorro/zorro-sysfs.c')
0 files changed, 0 insertions, 0 deletions