tg3: Add mailbox assignments
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 1 Sep 2009 12:58:41 +0000 (12:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 07:43:36 +0000 (00:43 -0700)
commit646c9eddcffd202bb0f3d906cecf94eaf10cad31
tree5f6ad6b05ef0d9f06d43d5db06dec9f842c68291
parent679563f47cd2547a0e091b5bd3ddf30027af6b08
tg3: Add mailbox assignments

The 5717 assigns mailbox locations to interrupt vectors in a rather
non-intuitive way.  (Much of the complexity stems from legacy
compatibility issues.)  This patch implements the assignment scheme.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c