Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753579AbYLCQqq (ORCPT ); Wed, 3 Dec 2008 11:46:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751195AbYLCQqi (ORCPT ); Wed, 3 Dec 2008 11:46:38 -0500 Received: from mail.smsc.com ([170.129.50.11]:4197 "EHLO smsc.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751005AbYLCQqh (ORCPT ); Wed, 3 Dec 2008 11:46:37 -0500 X-Greylist: delayed 904 seconds by postgrey-1.27 at vger.kernel.org; Wed, 03 Dec 2008 11:46:37 EST In-Reply-To: <20081203151919.GD5559@pengutronix.de> To: Luotao Fu Cc: Alan Cox , linux-kernel@vger.kernel.org, Luotao Fu , netdev@vger.kernel.org, Ian.Saturley@smsc.com Subject: Re: [PATCH] remove isa stuff from smc91x driver MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: Steve.Glendinning@smsc.com Date: Wed, 3 Dec 2008 16:30:23 +0000 X-MIMETrack: Serialize by Router on EastFranklin/SMSC(Release 7.0.3|September 26, 2007) at 12/03/2008 11:30:18 AM, Serialize complete at 12/03/2008 11:30:18 AM Content-Type: text/plain; charset="US-ASCII" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1327 Lines: 43 Hi all, > > > ISA support in smc91x is incomplete. I doubt there're any smc91xisa card. > > > This driver is greatly used on arm pxa platforms. Hence we remove the > > > isa stuff from smc91x driver. > > > > This makes no sense. It is protected by an ifdef anyway so doesn't affect > > ARM > > The isa part in smc91x does nothing at all. Get you a unused > variable warning if > you turn ISA on and compile it. The io table is defined and not used at all. > Neither does the io address and irq by parameter. I think that theseare waste > code and should be removed. SMSC LAN91C111 *does* still exist on ISA platforms (for example PC104), but Luotao is right: the smc91x driver support for it is broken. I have one here on an ISA board (and it took me a long time to find working PC hardware old enough to use this!). I'll send a patch when I can find time to fix it, but until then I agree this broken code should be removed. Acked-by: Steve Glendinning -- Steve Glendinning SMSC GmbH m: +44 777 933 9124 e: steve.glendinning@smsc.com -- 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/