[MLX4] bugfix: mlx4_hca was compiled without USE_WDM_INTERRUPTS, which caused it...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 4 Aug 2008 12:00:17 +0000 (12:00 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 4 Aug 2008 12:00:17 +0000 (12:00 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1461 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mlx4/kernel/hca/SOURCES
hw/mlx4/kernel/inc/l2w.h

index 9681764..fc56fb0 100644 (file)
@@ -42,7 +42,7 @@ NTTARGETFILE0=mofcomp
 \r
 KMDF_VERSION=1\r
 \r
-C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN -DUSE_WDM_FRAMEWORK\r
+C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN -DUSE_WDM_FRAMEWORK -DUSE_WDM_INTERRUPTS\r
 \r
 TARGETLIBS= \\r
        $(TARGETPATH)\*\complib.lib     \\r
index 79beda2..5bfc2da 100644 (file)
@@ -153,6 +153,8 @@ struct pci_dev
        USHORT                                                  dev_id;
        DMA_ADAPTER             *                               p_dma_adapter;  /* HCA adapter object */
        DEVICE_OBJECT   *                               p_self_do;              /* mlx4 FDO */
+       // mlx4_ib: various objects and info    
+       struct ib_device *                              ib_dev;
        // mlx4_net: various objects and info   
        struct mlx4_dev *                               dev;
        volatile long                                   dpc_lock;
@@ -160,8 +162,6 @@ struct pci_dev
        PKINTERRUPT                                             int_obj;                /* HCA interrupt object */
        KSPIN_LOCK                                              isr_lock;               /* lock for the ISR */
 #endif 
-       // mlx4_ib: various objects and info    
-       struct ib_device *                              ib_dev;
 };
 
 /* DPC */