[ofw] patch: Add another device supported by mlx4

Tzachi Dar tzachid at mellanox.co.il
Thu Jul 17 05:58:33 PDT 2008


This patch add support for another device that is supported by mlx4
driver.
 
Thanks
Tzachi & Urih
 
diff C3 kernel/inc/l2w_pci.h kernel/inc/l2w_pci.h
*** kernel/inc/l2w_pci.h Wed May 21 17:37:38 2008
--- kernel/inc/l2w_pci.h Mon Jul 14 19:53:26 2008
***************
*** 9,14 ****
--- 9,15 ----
  #define DEVID_HERMON_QDR  0x6354 /* 25428 */
  #define DEVID_HERMON_DDR_G2  0x6732 /* 26418 */
  #define DEVID_HERMON_QDR_G2  0x673c /* 26428 */
+ #define DEVID_HERMON_ETH_CONDOR 0x6368 /* 26428 */
  /* livefish */
  #define DEVID_HERMON_BD   0x0191 /* 401 */
  
diff C3 kernel/bus/net/main.c kernel/bus/net/main.c
*** kernel/bus/net/main.c Wed Jun 11 23:49:08 2008
--- kernel/bus/net/main.c Mon Jul 14 19:53:24 2008
***************
*** 95,105 ****
  
  static struct pci_device_id 
  mlx4_pci_table[] = {
!  HCA(MELLANOX, SDR,  HERMON),
   HCA(MELLANOX, DDR,  HERMON),
   HCA(MELLANOX, QDR,  HERMON),
   HCA(MELLANOX, DDR_G2, HERMON),
   HCA(MELLANOX, QDR_G2, HERMON),
   HCA(MELLANOX, BD,  LIVEFISH),
  };
  #define MLX4_PCI_TABLE_SIZE (sizeof(mlx4_pci_table)/sizeof(struct
pci_device_id))
--- 95,106 ----
  
  static struct pci_device_id 
  mlx4_pci_table[] = {
!  HCA(MELLANOX, SDR,      HERMON),          
   HCA(MELLANOX, DDR,  HERMON),
   HCA(MELLANOX, QDR,  HERMON),
   HCA(MELLANOX, DDR_G2, HERMON),
   HCA(MELLANOX, QDR_G2, HERMON),
+  HCA(MELLANOX, ETH_CONDOR, HERMON),
   HCA(MELLANOX, BD,  LIVEFISH),
  };
  #define MLX4_PCI_TABLE_SIZE (sizeof(mlx4_pci_table)/sizeof(struct
pci_device_id))
diff C3 kernel/bus/drv/mlx4_bus.inf kernel/bus/drv/mlx4_bus.inf
*** kernel/bus/drv/mlx4_bus.inf Wed Jun 11 23:42:39 2008
--- kernel/bus/drv/mlx4_bus.inf Mon Jul 14 19:53:25 2008
***************
*** 75,80 ****
--- 75,81 ----
  %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732
  %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c
  %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191
+ %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368
  
  [MLX4BUS.DeviceSection.ntamd64]
  %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340
***************
*** 83,88 ****
--- 84,90 ----
  %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732
  %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c
  %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191
+ %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368
  
  [MLX4BUS.DeviceSection.ntia64]
  %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340
***************
*** 91,96 ****
--- 93,99 ----
  %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732
  %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c
  %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191
+ %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368
  
  [MLX4BUS.DDInstall.ntx86]
  CopyFiles = MLX4BUS.CopyFiles

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080717/255c2ccb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: condor.diff
Type: application/octet-stream
Size: 2822 bytes
Desc: condor.diff
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080717/255c2ccb/attachment.obj>


More information about the ofw mailing list