mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdev: Trigger generic_ccw devices on any kernel module loads.
Generic CCW device can use any driver, and the value of the driver is not known ahead of time. To avoid the race between loading and binding a kernel module, and devices added - retrigger generic-ccw devices on any kernel module load. Fixes: https://github.com/ibm-s390-tools/s390-tools/issues/37 Link: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1794308 Closes: https://github.com/ibm-s390-tools/s390-tools/pull/45 Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com> Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
35348c302b
commit
07b11982e3
@@ -62,10 +62,12 @@ struct ccw_devinfo {
|
||||
* ccw_subtype_data - CCW subtype specific information
|
||||
* @ccwdrv: The name of the CCW device driver for this subtype
|
||||
* @mod: The name of the main kernel module for this subtype
|
||||
* @any_driver: If set, the exact driver for this subtype are not known
|
||||
*/
|
||||
struct ccw_subtype_data {
|
||||
const char *ccwdrv;
|
||||
const char *mod;
|
||||
bool any_driver;
|
||||
};
|
||||
|
||||
extern struct attrib ccw_attr_online;
|
||||
|
||||
Reference in New Issue
Block a user