commit | 6ef93dddfe11a72ab98a37ac4ef20ad681b008b0 | [log] [tgz] |
---|---|---|
author | Robert Walsh <rjwalsh@pathscale.com> | Tue Oct 10 14:55:45 2006 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Oct 16 10:06:07 2006 -0700 |
tree | 4d8ed1a54364463366a60e9a3352a6361058121e | |
parent | fb7711e71ea7cd0d3e77e969df59162388c8a1f9 [diff] |
IB/ipath: Initialize diagpkt file on device init only Don't attempt to set up the diagpkt device in the module init code. Instead, wait until a piece of hardware is initialized. Fixes a problem when loading the ib_ipath module when no InfiniPath hardware is present: modprobe would go into the D state and stay there. Signed-off-by: Robert Walsh <robert.walsh@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>