Return-path: Received: from mail-ew0-f207.google.com ([209.85.219.207]:41521 "EHLO mail-ew0-f207.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752642AbZJTQbL (ORCPT ); Tue, 20 Oct 2009 12:31:11 -0400 From: Ivo van Doorn To: Holger Schurig Subject: Re: [PATCH 2/2] rt2x00: Implement support for rt2800pci Date: Tue, 20 Oct 2009 18:31:11 +0200 Cc: Bartlomiej Zolnierkiewicz , John Linville , linux-wireless@vger.kernel.org, users@rt2x00.serialmonkey.com, Alban Browaeys , Benoit PAPILLAULT , Felix Fietkau , Luis Correia , Mattias Nissler , Mark Asselstine , Xose Vazquez Perez , "linux-kernel" References: <200910152137.58164.IvDoorn@gmail.com> <200910181859.22413.IvDoorn@gmail.com> <200910200858.54683.hs4233@mail.mn-solutions.de> In-Reply-To: <200910200858.54683.hs4233@mail.mn-solutions.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <200910201831.12285.IvDoorn@gmail.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tuesday 20 October 2009, Holger Schurig wrote: > > I don't agree on this, for starters the whole "abstraction > > layer as done in the staging driver, really obfuscated the code > > in multiple areas > > Ivo, you could look at Orinoco or Libertas. Both WLAN drivers > support a multitude of different hardware (Libertas: CF/PCMCIA, > SDIO, SD, USB and Orinoco: CF/PCMCIA, PCI, PPC_PMAC). And both > have hardware abstraction layers that don't suck, obfuscate or > create lots of duplicate code. Thanks, > So AFAIK it's not the question *IF* to do hardware abstraction > but only a question *HOW* to do it in an intelligent way. Don't > luck at one bad implementation and disregard the whole > concept :-) Oh I completely agree, I am not against the extra abstraction layer, but I do want a nice looking solution. :) I'll take a look at the Orinoco approach. Thanks, Ivo