diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2010-01-27 22:56:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-28 14:54:18 +0100 |
commit | 7b139c83c590d4965259aad8889cbb08104b2891 (patch) | |
tree | 12d6d9295be36e716a3a3ef71743a4bcc0f80b1e /drivers/net/benet/be.h | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff) | |
download | linux-7b139c83c590d4965259aad8889cbb08104b2891.tar.xz linux-7b139c83c590d4965259aad8889cbb08104b2891.zip |
be2net: Bug fix to support newer generation of BE ASIC
Bug fix in be2net for newer generation of BladeEngine ASIC.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 9fd8e5ecd5d7..5bc74590c73e 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h @@ -276,8 +276,13 @@ struct be_adapter { int link_speed; u8 port_type; u8 transceiver; + u8 generation; /* BladeEngine ASIC generation */ }; +/* BladeEngine Generation numbers */ +#define BE_GEN2 2 +#define BE_GEN3 3 + extern const struct ethtool_ops be_ethtool_ops; #define drvr_stats(adapter) (&adapter->stats.drvr_stats) |