All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Amit S. Kale" <amitkale@linsyssoft.com>
To: Francois Romieu <romieu@fr.zoreil.com>,
	Michael Buesch <mb@bu3sch.de>, wen xiong <wendyx@us.ibm.com>
Cc: Pradeep Dalvi <pradeep@netxen.com>,
	netdev@vger.kernel.org, "jeff@garzik.org" <jeff@garzik.org>,
	"sanjeev@netxen.com" <sanjeev@netxen.com>,
	"unmproj@linsyssoft.com" <unmproj@linsyssoft.com>,
	Rob Mapes <rob@netxen.com>,
	amitkale@netxen.com
Subject: Re: [PATCH 2.6.17 0/9] NetXen: 1G/10G Ethernet Driver - patch for big-endian systems
Date: Fri, 25 Aug 2006 18:48:44 +0530	[thread overview]
Message-ID: <200608251848.44800.amitkale@linsyssoft.com> (raw)
In-Reply-To: <20060824214011.GA19643@electric-eye.fr.zoreil.com>

Wendy, Michael, Ueimor,

Thanks for the patch and feedback. We'll integrate these into our driver and 
post an update asap.

-Amit

On Friday 25 August 2006 03:10, Francois Romieu wrote:
> wen xiong <wendyx@us.ibm.com> :
> [...]
>
> > diff -Nuar old/drivers/net/netxen/netxen_nic_hw.c
> > new/drivers/net/netxen/netxen_nic_hw.c ---
> > old/drivers/net/netxen/netxen_nic_hw.c	2006-08-23 12:58:43.000000000
> > -0500 +++ new/drivers/net/netxen/netxen_nic_hw.c	2006-08-23
> > 13:15:19.000000000 -0500 @@ -313,7 +313,8 @@
> >  		}
> >  	}
> >  	CMD_DESC_TCP_HDR_OFFSET_WRT(desc, skb->h.raw - skb->data);
> > -	desc->ip_hdr_offset = skb->nh.raw - skb->data;
> > +	desc->length_tcp_hdr=cpu_to_le32(desc->length_tcp_hdr);
>
> s/=/ = /
>
> (several occurences)
>
> [...]
>
> > diff -Nuar old/drivers/net/netxen/netxen_nic_init.c
> > new/drivers/net/netxen/netxen_nic_init.c ---
> > old/drivers/net/netxen/netxen_nic_init.c	2006-08-23 12:58:43.000000000
> > -0500 +++ new/drivers/net/netxen/netxen_nic_init.c	2006-08-23
> > 13:15:19.000000000 -0500 @@ -494,7 +494,7 @@
> >  		desc_head = recv_ctx->rcv_status_desc_head;
> >  		desc = &desc_head[consumer];
> >
> > -		if ((desc->owner & STATUS_OWNER_HOST))
> > +		if (((le16_to_cpu(desc->owner)) & STATUS_OWNER_HOST))
>
> Would it make a difference to swab the constant part, i.e.:
>
> 	if (desc->owner & cpu_to_le16(STATUS_OWNER_HOST))

      reply	other threads:[~2006-08-25 13:19 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-18 14:38 [PATCH 2.6.17 0/9] NetXen: 1G/10G Ethernet Driver Amit S. Kale
2006-08-18 14:44 ` [PATCH 2.6.17 1/9] NetXen: Makefile and driver main file Amit S. Kale
2006-08-18 14:58   ` [PATCH 2.6.17 2/9] NetXen: Hardware access routines Amit S. Kale
2006-08-18 15:16     ` Stephen Hemminger
2006-08-21  8:27       ` Amit S. Kale
2006-08-21 14:03         ` Stephen Hemminger
2006-08-25 18:23           ` Sanjeev Jorapur
2006-08-28  9:52           ` Amit S. Kale
2006-08-21  9:55       ` [PATCH 2.6.17 2/9] NetXen: Hardware access routines (name prefixed) Pradeep Dalvi
2006-08-21 10:01   ` [PATCH 2.6.17 1/9] NetXen: Makefile and driver main file (name prefix change) Pradeep Dalvi
2006-08-18 15:01 ` [PATCH 2.6.17 3/9] NetXen: hw initialization routines Amit S. Kale
2006-08-21 10:04   ` [PATCH 2.6.17 3/9] NetXen: hw initialization routines (name prefix change) Pradeep Dalvi
2006-08-18 15:04 ` [PATCH 2.6.17 4/9] NetXen: intr routines and niu handling Amit S. Kale
2006-08-18 15:22   ` Stephen Hemminger
2006-08-21  8:40     ` Amit S. Kale
2006-08-18 15:06 ` [PATCH 2.6.17 5/9] NetXen: ethtool interface Amit S. Kale
2006-08-18 15:10 ` [PATCH 2.6.17 6/9] NetXen: Main header file Amit S. Kale
2006-08-21 10:05   ` [PATCH 2.6.17 6/9] NetXen: Main header file (Name prefix change) Pradeep Dalvi
2006-08-18 15:12 ` [PATCH 2.6.17 7/9] NetXen: hw access routines header file Amit S. Kale
2006-08-18 15:14 ` [PATCH 2.6.17 8/9] NetXen: Header file and ioctl " Amit S. Kale
2006-08-18 15:17 ` [PATCH 2.6.17 9/9] NetXen: CRB reg defininitions Amit S. Kale
2006-08-22  7:43 ` [PATCH 2.6.17 0/9] NetXen: 1G/10G Ethernet Driver Pradeep Dalvi
2006-08-24  0:04   ` Don Fry
2006-08-25 13:19     ` Amit S. Kale
2006-08-24 20:36   ` [PATCH 2.6.17 0/9] NetXen: 1G/10G Ethernet Driver - patch for big-endian systems wen xiong
2006-08-24 21:29     ` Michael Buesch
2006-08-24 21:40     ` Francois Romieu
2006-08-25 13:18       ` Amit S. Kale [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608251848.44800.amitkale@linsyssoft.com \
    --to=amitkale@linsyssoft.com \
    --cc=amitkale@netxen.com \
    --cc=jeff@garzik.org \
    --cc=mb@bu3sch.de \
    --cc=netdev@vger.kernel.org \
    --cc=pradeep@netxen.com \
    --cc=rob@netxen.com \
    --cc=romieu@fr.zoreil.com \
    --cc=sanjeev@netxen.com \
    --cc=unmproj@linsyssoft.com \
    --cc=wendyx@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.