提交 e48d24a6 编写于 作者: U Ursula Braun 提交者: David S. Miller

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: NUrsula Braun <ursula.braun@de.ibm.com>
Signed-off-by: NFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 908abbb5
...@@ -295,7 +295,7 @@ claw_driver_group_store(struct device_driver *ddrv, const char *buf, ...@@ -295,7 +295,7 @@ claw_driver_group_store(struct device_driver *ddrv, const char *buf,
int err; int err;
err = ccwgroup_create_from_string(claw_root_dev, err = ccwgroup_create_from_string(claw_root_dev,
claw_group_driver.driver_id, claw_group_driver.driver_id,
&claw_ccw_driver, 3, buf); &claw_ccw_driver, 2, buf);
return err ? err : count; return err ? err : count;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册