From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] net: add QCA alx Ethernet driver Date: Tue, 28 Feb 2012 19:32:37 -0800 Message-ID: <20120228193237.2d56f2b8@nehalam.linuxnetplumber.net> References: <1330480210-30470-1-git-send-email-rodrigue@qca.qualcomm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: , , , , , , , , , To: "Luis R. Rodriguez" Return-path: In-Reply-To: <1330480210-30470-1-git-send-email-rodrigue@qca.qualcomm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, 28 Feb 2012 17:50:09 -0800 "Luis R. Rodriguez" wrote: > From: Luis R. Rodriguez > > The next patch adds the new QCA alx Ethernet driver that > supercedes the atl1c Ethernet driver. For details please > read the commit log of the patch. Given the size you can > download the patch from: > > http://bombadil.infradead.org/~mcgrof/2012/02/28/add-alx-next-20120228.patch > sha1sum: 8a8f7b6f1cbe737e70ec3b3eda483a6925fd9bd6 Evolution is better. The new driver has lots of new callbacks to handle the fact it is dealing with two different chipsets. Not only that your callbacks are built at runtime which leads to security concerns. There is a reason the two Marvell based drivers (skge and sky2) are different drivers. Having to do extra per-chip callbacks is a clear sign the driver should be split in two.