[MLX4] 1) added support for sending large multi-parameter messages to System Event...
[mirror/winof/.git] / hw / mlx4 / kernel / inc / l2w.h
index 1b9e045..c437887 100644 (file)
@@ -170,6 +170,9 @@ struct pci_dev
        // driver: various objects and info
        USHORT                                                  ven_id;
        USHORT                                                  dev_id;
+       USHORT                                                  sub_vendor_id;
+       USHORT                                                  sub_system_id;
+       UCHAR                                                   revision_id;
        DMA_ADAPTER             *                               p_dma_adapter;  /* HCA adapter object */
        DEVICE_OBJECT   *                               p_self_do;              /* mlx4_bus's FDO */
        DEVICE_OBJECT   *                               pdo;                    /* mlx4_bus's PDO */
@@ -178,6 +181,9 @@ struct pci_dev
        // mlx4_net: various objects and info   
        struct mlx4_dev *                               dev;
        volatile long                                   dpc_lock;
+       PUCHAR                                                  vpd;
+       int                                                             vpd_size;
+       WCHAR                                                   location[36];           /* bus+func+dev */
 #ifdef USE_WDM_INTERRUPTS
        PKINTERRUPT                                             int_obj;                /* HCA interrupt object */
        KSPIN_LOCK                                              isr_lock;               /* lock for the ISR */
@@ -187,8 +193,6 @@ struct pci_dev
        ULONG                                                   version;
        int                                                     legacy_connect;
 #endif 
-       USHORT                                                  sub_vendor_id;
-       USHORT                                                  sub_system_id;
 };
 
 /* DPC */