On Wed, 6 Dec 2006 01:16:52 +0100
Francois Romieu <[EMAIL PROTECTED]> wrote:

> Signed-off-by: Francois Romieu <[EMAIL PROTECTED]>
> ---
>  drivers/net/chelsio/cxgb2.c |   60 +++++++++++++++++++++---------------------
>  drivers/net/chelsio/sge.c   |    4 +-
>  2 files changed, 32 insertions(+), 32 deletions(-)
> 
> diff --git a/drivers/net/chelsio/cxgb2.c b/drivers/net/chelsio/cxgb2.c
> index cb639d4..15be058 100644
> --- a/drivers/net/chelsio/cxgb2.c
> +++ b/drivers/net/chelsio/cxgb2.c
> @@ -120,7 +120,7 @@ static const char pci_speed[][4] = {
>   */
>  static void t1_set_rxmode(struct net_device *dev)
>  {
> -     struct adapter *adapter = dev->priv;
> +     struct adapter *adapter = netdev_priv(dev);
>       struct cmac *mac = adapter->port[dev->if_port].mac;
>       struct t1_rx_mode rm;
> 

NAK for this driver. dev->priv points to a different location for each port on
dual port board.  To use netdev_priv() requires more serious surgery..


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

Reply via email to