commit | 0f248d9cde673a481eb3182909b54d07e9d58f72 | [log] [tgz] |
---|---|---|
author | Hoang-Nam Nguyen <hnguyen@de.ibm.com> | Mon Oct 02 14:52:17 2006 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Oct 02 14:52:17 2006 -0700 |
tree | 9e6dd929c0b3ccee9be45c554a596a8370c83318 | |
parent | 13b18c86176cab34ef30ef0a5962fcb0305f7269 [diff] |
IB/ehca: Fix device registration Move the call to ib_register_device() later, since a device should not be registered until it is completely read to be used. This fixes crashes that occur if an upper-layer driver such as IPoIB is loaded before the ehca module. Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>