claw: A claw device is a group of just 2 ccw devices
authorUrsula Braun <ursula.braun@de.ibm.com>
Thu, 22 Jul 2010 23:15:07 +0000 (23:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2010 19:36:24 +0000 (12:36 -0700)
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>
drivers/s390/net/claw.c

index 147bb1a69aba6bb42ac76cb4ccb935fa9645ef19..a75ed3083a6ae266d66b9630140b42db8d07266e 100644 (file)
@@ -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;
 }