Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72115
b: refs/heads/master
c: 5bf04b2
h: refs/heads/master
i:
  72113: 4ccef34
  72111: 08e645f
v: v3
  • Loading branch information
Cornelia Huck authored and Martin Schwidefsky committed Oct 22, 2007
1 parent b196d59 commit 93df6ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 054696077a6c4f9e306321d45b5762d6ea7940e1
refs/heads/master: 5bf04b2062c5b441d7154216694fea7dc2a6a7f3
9 changes: 9 additions & 0 deletions trunk/drivers/s390/cio/css.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@ static int css_register_subchannel(struct subchannel *sch)
sch->dev.bus = &css_bus_type;
sch->dev.release = &css_subchannel_release;
sch->dev.groups = subch_attr_groups;
/*
* We don't want to generate uevents for I/O subchannels that don't
* have a working ccw device behind them since they will be
* unregistered before they can be used anyway, so we delay the add
* uevent until after device recognition was successful.
*/
if (!cio_is_console(sch->schid))
/* Console is special, no need to suppress. */
sch->dev.uevent_suppress = 1;
css_update_ssd_info(sch);
/* make it known to the system */
ret = css_sch_device_register(sch);
Expand Down

0 comments on commit 93df6ce

Please sign in to comment.