Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42047
b: refs/heads/master
c: 47af551
h: refs/heads/master
i:
  42045: 6469b87
  42043: d296a0c
  42039: 826e122
  42031: 00f2f3e
  42015: c1feeff
  41983: 132395c
v: v3
  • Loading branch information
Cornelia Huck authored and Martin Schwidefsky committed Dec 4, 2006
1 parent 7c5bb59 commit 51fb840
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d23861ff1a4da1f4a5255eb4582f620191c6e1c0
refs/heads/master: 47af5518526d435d0d56a329a578f240e86eb678
14 changes: 13 additions & 1 deletion trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,8 +687,20 @@ io_subchannel_register(void *data)
cdev = data;
sch = to_subchannel(cdev->dev.parent);

/*
* io_subchannel_register() will also be called after device
* recognition has been done for a boxed device (which will already
* be registered). We need to reprobe since we may now have sense id
* information.
*/
if (klist_node_attached(&cdev->dev.knode_parent)) {
bus_rescan_devices(&ccw_bus_type);
if (!cdev->drv) {
ret = device_reprobe(&cdev->dev);
if (ret)
/* We can't do much here. */
dev_info(&cdev->dev, "device_reprobe() returned"
" %d\n", ret);
}
goto out;
}
/* make it known to the system */
Expand Down

0 comments on commit 51fb840

Please sign in to comment.