Patchwork [18/21] ehea: enable DLPAR memory remove

login
register
mail settings
Submitter Andrew Morton
Date Sept. 22, 2008, 9:52 p.m.
Message ID <200809222152.m8MLqRmX031990@imap1.linux-foundation.org>
Download mbox | patch
Permalink /patch/984/
State Accepted
Delegated to: Jeff Garzik
Headers show

Comments

Andrew Morton - Sept. 22, 2008, 9:52 p.m.
From: Hannes Hering <hannes.hering@gmx.de>

Add the capability flag to the capability list for dynamic LPAR memory
remove to enable this feature.

Signed-off-by: Hannes Hering <hering2@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/ehea/ehea.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff -puN drivers/net/ehea/ehea.h~ehea-enable-dlpar-memory-remove drivers/net/ehea/ehea.h
--- a/drivers/net/ehea/ehea.h~ehea-enable-dlpar-memory-remove
+++ a/drivers/net/ehea/ehea.h
@@ -40,13 +40,13 @@ 
 #include <asm/io.h>
 
 #define DRV_NAME	"ehea"
-#define DRV_VERSION	"EHEA_0092"
+#define DRV_VERSION	"EHEA_0093"
 
 /* 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 | DLPAR_MEM_ADD)
+#define EHEA_CAPABILITIES  (DLPAR_PORT_ADD_REM | DLPAR_MEM_ADD | DLPAR_MEM_REM)
 
 #define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \
 	| NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR)