diff options
Diffstat (limited to 'drivers/s390/cio/css.c')
-rw-r--r-- | drivers/s390/cio/css.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index 5d83dd471461..838f7ac0dc32 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -182,6 +182,15 @@ static int css_register_subchannel(struct subchannel *sch) | |||
182 | sch->dev.bus = &css_bus_type; | 182 | sch->dev.bus = &css_bus_type; |
183 | sch->dev.release = &css_subchannel_release; | 183 | sch->dev.release = &css_subchannel_release; |
184 | sch->dev.groups = subch_attr_groups; | 184 | sch->dev.groups = subch_attr_groups; |
185 | /* | ||
186 | * We don't want to generate uevents for I/O subchannels that don't | ||
187 | * have a working ccw device behind them since they will be | ||
188 | * unregistered before they can be used anyway, so we delay the add | ||
189 | * uevent until after device recognition was successful. | ||
190 | */ | ||
191 | if (!cio_is_console(sch->schid)) | ||
192 | /* Console is special, no need to suppress. */ | ||
193 | sch->dev.uevent_suppress = 1; | ||
185 | css_update_ssd_info(sch); | 194 | css_update_ssd_info(sch); |
186 | /* make it known to the system */ | 195 | /* make it known to the system */ |
187 | ret = css_sch_device_register(sch); | 196 | ret = css_sch_device_register(sch); |