]> err.no Git - linux-2.6/commit
cxgb3 - Fix dev->priv usage
authorDivy Le Ray <divy@chelsio.com>
Thu, 30 Aug 2007 02:15:47 +0000 (19:15 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 31 Aug 2007 11:29:08 +0000 (07:29 -0400)
commit5fbf816fe7d72bfdbf22bfec05b4ec3aa6849f72
tree62f35df3e9078e3f981b9c04176d9a9cb557a53a
parent54d0f56e63edb1aa3901ea6389bf7ea5d43d0c22
cxgb3 - Fix dev->priv usage

cxgb3 used netdev_priv() and dev->priv for different purposes.
In 2.6.23, netdev_priv() == dev->priv, cxgb3 needs a fix.
This patch is a partial backport of Dave Miller's changes in the
net-2.6.24 git branch.

Without this fix, cxgb3 crashes on 2.6.23.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/infiniband/hw/cxgb3/cxio_hal.c
drivers/net/cxgb3/adapter.h
drivers/net/cxgb3/cxgb3_main.c
drivers/net/cxgb3/cxgb3_offload.c
drivers/net/cxgb3/cxgb3_offload.h
drivers/net/cxgb3/sge.c
drivers/net/cxgb3/t3cdev.h