Patchwork qlge: Naming interrupt vectors

login
register
mail settings
Submitter Jesper Dangaard Brouer
Date Jan. 9, 2009, 1:14 p.m.
Message ID <1231506887.10395.63.camel@localhost.localdomain>
Download mbox | patch
Permalink /patch/17509/
State Accepted
Delegated to: David Miller
Headers show

Comments

Jesper Dangaard Brouer - Jan. 9, 2009, 1:14 p.m.
Name interrupt vectors according to the new naming standard, by Robert
Olsson and DaveM.

The qlge driver were very close to the new standard, thus the change
is kind of trivial.

Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
---

 drivers/net/qlge/qlge_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ron Mercer - Jan. 9, 2009, 4:49 p.m.
On Fri, Jan 09, 2009 at 05:14:47AM -0800, Jesper Dangaard Brouer wrote:
> Name interrupt vectors according to the new naming standard, by Robert
> Olsson and DaveM.
> 
> The qlge driver were very close to the new standard, thus the change
> is kind of trivial.
> 
> Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>

Thanks Jesper

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Jan. 10, 2009, 7:08 a.m.
From: Jesper Dangaard Brouer <jdb@comx.dk>
Date: Fri, 09 Jan 2009 14:14:47 +0100

> Name interrupt vectors according to the new naming standard, by Robert
> Olsson and DaveM.
> 
> The qlge driver were very close to the new standard, thus the change
> is kind of trivial.
> 
> Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index f4c0160..b7e40ad 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -2746,14 +2746,14 @@  static void ql_resolve_queues_to_irqs(struct ql_adapter *qdev)
 				 * Outbound queue is for outbound completions only.
 				 */
 				intr_context->handler = qlge_msix_tx_isr;
-				sprintf(intr_context->name, "%s-txq-%d",
+				sprintf(intr_context->name, "%s-tx-%d",
 					qdev->ndev->name, i);
 			} else {
 				/*
 				 * Inbound queues handle unicast frames only.
 				 */
 				intr_context->handler = qlge_msix_rx_isr;
-				sprintf(intr_context->name, "%s-rxq-%d",
+				sprintf(intr_context->name, "%s-rx-%d",
 					qdev->ndev->name, i);
 			}
 		}