aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/niu.h
diff options
context:
space:
mode:
authorRobert Olsson <robert.olsson@its.uu.se>2008-11-25 19:41:57 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-25 19:44:38 -0500
commit70340d728f4f4cb49da00a11b10ded492260caa5 (patch)
tree045335bc57c4b1c2b79ef35518f7bd18f3eee948 /drivers/net/niu.h
parent9f782db3f5ceee9aa8de6f853969fbec1b8c6e65 (diff)
niu: Naming interrupt vectors.
A patch to put names on the niu interrupt vectors according the syntax below. This is needed to assign correct affinity. > So on a multiqueue card with 2 RX queues and 2 TX queues we'd > have names like: > > eth0-rx-0 > eth0-rx-1 > eth0-tx-0 > eth0-tx-1 Signed-off-by: Robert Olsson <robert.olsson@its.uu.se> Tested-by: Jesper Dangaard Brouer <jdb@comx.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.h')
-rw-r--r--drivers/net/niu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/niu.h b/drivers/net/niu.h
index 180ca8ae93de..cf449aad7f15 100644
--- a/drivers/net/niu.h
+++ b/drivers/net/niu.h
@@ -3243,6 +3243,7 @@ struct niu {
3243#define NIU_FLAGS_XMAC 0x00010000 /* 0=BMAC 1=XMAC */ 3243#define NIU_FLAGS_XMAC 0x00010000 /* 0=BMAC 1=XMAC */
3244 3244
3245 u32 msg_enable; 3245 u32 msg_enable;
3246 char irq_name[NIU_NUM_RXCHAN+NIU_NUM_TXCHAN+3][IFNAMSIZ + 6];
3246 3247
3247 /* Protects hw programming, and ring state. */ 3248 /* Protects hw programming, and ring state. */
3248 spinlock_t lock; 3249 spinlock_t lock;