Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754170AbYFUSVe (ORCPT ); Sat, 21 Jun 2008 14:21:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751975AbYFUSVY (ORCPT ); Sat, 21 Jun 2008 14:21:24 -0400 Received: from mga01.intel.com ([192.55.52.88]:46036 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730AbYFUSVX (ORCPT ); Sat, 21 Jun 2008 14:21:23 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.27,684,1204531200"; d="scan'208";a="580449865" Message-ID: <485D4630.1090007@intel.com> Date: Sat, 21 Jun 2008 11:19:28 -0700 From: "Kok, Auke" User-Agent: Thunderbird 2.0.0.12 (X11/20080417) MIME-Version: 1.0 To: Taku Izumi CC: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Tomohiro Kusumi , auke-jan.h.kok@intel.com, "Kirsher, Jeffrey T" Subject: Re: [PATCH 0/3] e1000,e1000e,igb: make ioport free for adapters that need NO ioport resources References: <485B1B8E.1060108@jp.fujitsu.com> In-Reply-To: <485B1B8E.1060108@jp.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1466 Lines: 35 Taku Izumi wrote: > Hi all, > > Only a few Intel Gigabit Adapters need ioport resources for workaround, > but most do not need them. Most adapters work properly without them. > In the case where ioport resources are not assigned to adapters, this can > happen on the large system, drivers' probe function fails like the following, > and adapters can not be used as a result. > > e1000e 0002:22:00.0: device not available because of BAR 2 [0:1f] collisions > e1000e: probe of 0002:22:00.0 failed with error -22 > > These patches corrects behavior in probe function so as not to request ioport > resources as long as they are not really needed. These are based on the > ioport-free patch of e1000 driver from Auke Kok and Tomohiro Kusumi. > > * [PATCH 1/3] e1000: make ioport free > * [PATCH 2/3] e1000e: make ioport free > * [PATCH 3/3] igb: make ioport free I think patch 2 and 3 are way too large since igb and e1000e can be totally ioport free at all times. There is no need to keep compatibility code for ioport in those drivers as it's unlikely that this will ever be needed. So, perhaps you can remove the ioport code from those 2 drivers (e1000e/igb) completely and resubmit to Jeff Kirsher? Cheers, Auke -- 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/