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>
此提交包含在:
@@ -869,9 +869,6 @@ int ipath_device_create_group(struct device *, struct ipath_devdata *);
|
||||
void ipath_device_remove_group(struct device *, struct ipath_devdata *);
|
||||
int ipath_expose_reset(struct device *);
|
||||
|
||||
int ipath_diagpkt_add(void);
|
||||
void ipath_diagpkt_remove(void);
|
||||
|
||||
int ipath_init_ipathfs(void);
|
||||
void ipath_exit_ipathfs(void);
|
||||
int ipathfs_add_device(struct ipath_devdata *);
|
||||
|
新增問題並參考
封鎖使用者