diff options
author | Roland Dreier <roland@topspin.com> | 2005-04-18 16:12:20 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-09 11:35:56 -0800 |
commit | f4a499286a5842eb69dc865f5bca1b6f03a28fd3 (patch) | |
tree | 1eb228808977e9f1a1cff1abeb19c045cc6e859a | |
parent | 91fc39561d04903cd5b1665d9215a184baa66ba9 (diff) | |
download | libibverbs-f4a499286a5842eb69dc865f5bca1b6f03a28fd3.tar.gz |
Load driver statically linked into executable
Signed-off-by: Roland Dreier <roland@topspin.com>
-rw-r--r-- | src/init.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -198,6 +198,11 @@ static void INIT ibverbs_init(void) if (ibv_init_mem_map()) return; + /* + * Check if a driver is statically linked, and if so load it first. + */ + load_driver(NULL); + user_path = getenv(OPENIB_DRIVER_PATH_ENV); if (user_path) { wr_path = strdupa(user_path); |