From: Robert Walsh Date: Tue, 10 Oct 2006 21:55:45 +0000 (-0700) Subject: IB/ipath: Initialize diagpkt file on device init only X-Git-Tag: v2.6.19-rc3~138^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef93dddfe11a72ab98a37ac4ef20ad681b008b0;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed