summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorUrsula Braun <ursula.braun@de.ibm.com>2010-07-23 03:15:07 +0400
committerDavid S. Miller <davem@davemloft.net>2010-07-23 23:36:24 +0400
commite48d24a6e31556d62bb903a0deea3a4c15900938 (patch)
tree4541ec9d7a1be36a7770b3afe723c98354b2bf1e /drivers/s390
parent908abbb5773213288c8ed033c3313440b31cfbf3 (diff)
downloadlinux-e48d24a6e31556d62bb903a0deea3a4c15900938.tar.xz
claw: A claw device is a group of just 2 ccw devices
When creating a claw device, just 2 subchannels have to be grouped. Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/claw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c
index 147bb1a69aba..a75ed3083a6a 100644
--- a/drivers/s390/net/claw.c
+++ b/drivers/s390/net/claw.c
@@ -295,7 +295,7 @@ claw_driver_group_store(struct device_driver *ddrv, const char *buf,
int err;
err = ccwgroup_create_from_string(claw_root_dev,
claw_group_driver.driver_id,
- &claw_ccw_driver, 3, buf);
+ &claw_ccw_driver, 2, buf);
return err ? err : count;
}