<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [PATCH ] mlx4_core: Distinguish multiple IB cards in /proc/interrupts</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>>> diff -rup a/drivers/net/mlx4/eq.c b/drivers/net/mlx4/eq.c<BR>
>> --- a/drivers/net/mlx4/eq.c     2009-06-24 16:28:12.273861234 -0700<BR>
>> +++ b/drivers/net/mlx4/eq.c     2009-06-30 16:38:58.200069975 -0700<BR>
>> @@ -609,14 +609,21 @@ int mlx4_init_eq_table(struct mlx4_dev *<BR>
>>                 for (i = 0; i < MLX4_EQ_COMP_CPU0 +<BR>
>>                       dev->caps.num_comp_vectors; ++i) {<BR>
>>                         if (i == 0)<BR>
>> -                               snprintf(eq_name[0], 20, DRV_NAME "(async)");<BR>
>> +                               snprintf(&priv->irq_name[i][0],<BR>
>> +                                        DEVICE_NAME_SIZE,<BR>
>> +                                        DRV_NAME "(async)" "@pci:%s",<BR>
>> +                                        pci_name(dev->pdev));<BR>
>>                         else<BR>
>> -                               snprintf(eq_name[i], 20, "eth-mlx4-%d",<BR>
>> -                                        i - 1);<BR>
>> +                               snprintf(&priv->irq_name[i][0],<BR>
>> +                                        DEVICE_NAME_SIZE,<BR>
>> +                                        "eth-mlx4-%d" "@pci:%s",<BR>
>> +                                        i - 1,<BR>
>> +                                        pci_name(dev->pdev));<BR>
<BR>
> What tree did you generate this patch against?  The code in the mainline<BR>
> kernel looks nothing like this.<BR>
<BR>
This patch was generated against SLES10SP2 ( kernel release - 2.6.16.60-0.21-default)<BR>
and OFED 1.4<BR>
<BR>
Regards,<BR>
Benjamin<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>