commit | 654b75e044119bf8e7d773bce41ea039281bbfbe | [log] [tgz] |
---|---|---|
author | Yu Zhao <[email protected]> | Fri Jun 26 14:04:46 2009 +0800 |
committer | Jesse Barnes <[email protected]> | Mon Jun 29 12:13:13 2009 -0700 |
tree | 5c749390a41cbbd59617d5dd1cee5160392b5feb | |
parent | 977badb2f385db14d8ba3fcf02fbd7ead8e63d0f [diff] |
PCI: check if bus has a proper bridge device before triggering SBR For devices attached to the root bus, we can't trigger Secondary Bus Reset because there is no bridge device associated with the bus. So need to check bus->self again NULL first before using it. Reviewed-by: Kenji Kaneshige <[email protected]> Signed-off-by: Yu Zhao <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>