diff options
author | Jan-Bernd Themann <ossthema@de.ibm.com> | 2007-07-05 09:26:25 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-10 12:59:41 -0400 |
commit | 4c3ca4da8086c3c9fcc81dccc387c34bee6b755e (patch) | |
tree | c08bec3d3b32c2a94196e0cf058aaf10ed6f1d87 /drivers/net/ehea/ehea.h | |
parent | e1abecc48938fbe1966ea6e78267fc673fa59295 (diff) | |
download | linux-4c3ca4da8086c3c9fcc81dccc387c34bee6b755e.tar.gz linux-4c3ca4da8086c3c9fcc81dccc387c34bee6b755e.tar.bz2 linux-4c3ca4da8086c3c9fcc81dccc387c34bee6b755e.zip |
eHEA: Capability flag for DLPAR support
This patch introduces a capability flag that is used by the DLPAR userspace
tool to check which DLPAR features are supported by the eHEA driver.
Missing goto has been included.
Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ehea/ehea.h')
-rw-r--r-- | drivers/net/ehea/ehea.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h index abaf3ac94936..f03f070451de 100644 --- a/drivers/net/ehea/ehea.h +++ b/drivers/net/ehea/ehea.h @@ -39,7 +39,13 @@ #include <asm/io.h> #define DRV_NAME "ehea" -#define DRV_VERSION "EHEA_0065" +#define DRV_VERSION "EHEA_0067" + +/* EHEA capability flags */ +#define DLPAR_PORT_ADD_REM 1 +#define DLPAR_MEM_ADD 2 +#define DLPAR_MEM_REM 4 +#define EHEA_CAPABILITIES (DLPAR_PORT_ADD_REM) #define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \ | NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR) |