Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761912AbXEPKU3 (ORCPT ); Wed, 16 May 2007 06:20:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758202AbXEPKUO (ORCPT ); Wed, 16 May 2007 06:20:14 -0400 Received: from ppsw-4.csi.cam.ac.uk ([131.111.8.134]:39925 "EHLO ppsw-4.csi.cam.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757714AbXEPKUM (ORCPT ); Wed, 16 May 2007 06:20:12 -0400 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ In-Reply-To: <20070516094100.GB16262@xi.wantstofly.org> References: <464034CF.20700@wpkg.org> <20070516071300.GB14222@infradead.org> <20070516094100.GB16262@xi.wantstofly.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Christoph Hellwig , Tomasz Chmielewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk, netdev@vger.kernel.org, Krzysztof Halasa Content-Transfer-Encoding: 7bit From: Michael-Luke Jones Subject: Re: [PATCH] Intel IXP4xx network drivers v.2 - Ethernet and HSS Date: Wed, 16 May 2007 11:20:10 +0100 To: Lennert Buytenhek X-Mailer: Apple Mail (2.752.2) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 835 Lines: 23 On 16 May 2007, at 10:41, Lennert Buytenhek wrote: > Making a driver work in both modes > of operation is generally not just an issue of adding a couple of > be32_to_cpu()s in the right places. While this comment is technically correct, Christian's driver achieves endian agnostic operation with only 10 additional lines of code [1]. Thus, there is no reason to assume that gaining LE support will be a major issue. Michael-Luke [1] http://www.hohnstaedt.de/ixp_npe/0.3.1/ixp4xx_npe_driver-0.3.1.diff Search in this file for "swap the payload of the SKB" (it's in mac_driver.c) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/