tg3: Consider rx_std_prod_idx a hw mailbox
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 13 Nov 2009 13:03:47 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 06:14:50 +0000 (22:14 -0800)
commit4361935afe3abc3e5a93006b99197fac1fabbd50
tree88becadbc88f1f0800b224cd597a940caaccbdde
parent411da6407e778bf946911df08bb5afc505422f31
tg3: Consider rx_std_prod_idx a hw mailbox

This patch changes how the code uses the rx_std_prod_idx member.  In the
following patch, the code will be changed so that it will act just like
a hardware mailbox.  This patch prepares the code so that memory barriers
can be more easily inserted.

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