[MLX4] improved debug print. [mlnx: 4342]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 May 2009 18:14:38 +0000 (18:14 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 May 2009 18:14:38 +0000 (18:14 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2197 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mlx4/kernel/bus/core/cache.c

index 8608349..75da405 100644 (file)
@@ -241,8 +241,8 @@ static void ib_cache_update(struct ib_device *device,
 
        ret = ib_query_port(device, port, tprops);
        if (ret) {
 
        ret = ib_query_port(device, port, tprops);
        if (ret) {
-               printk(KERN_WARNING "ib_query_port failed (%d) for %s\n",
-                      ret, device->name);
+               printk(KERN_WARNING "ib_query_port failed (%d) for %s. port_num %d (%d,%d)\n",
+                       ret, device->name, (int)port, start_port(device), end_port(device) );
                goto err;
        }
 
                goto err;
        }