From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sakari Ailus Subject: Re: [PATCH -next] PCI: fix tlan build when CONFIG_PCI is not enabled Date: Mon, 14 Feb 2011 23:32:16 +0200 Message-ID: <4D599F60.4010800@iki.fi> References: <20110214181137.ee8d4c08.sfr@canb.auug.org.au> <20110214122750.e1e03bc8.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.nokia.com ([147.243.1.47]:58998 "EHLO mgw-sa01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877Ab1BNVcz (ORCPT ); Mon, 14 Feb 2011 16:32:55 -0500 In-Reply-To: <20110214122750.e1e03bc8.randy.dunlap@oracle.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Randy Dunlap Cc: Stephen Rothwell , netdev , linux-pci@vger.kernel.org, linux-next@vger.kernel.org, LKML , davem@davemloft.net, Jesse Barnes Randy Dunlap wrote: > From: Randy Dunlap > > When CONFIG_PCI is not enabled, tlan.c has a build error: > drivers/net/tlan.c:503: error: implicit declaration of function 'pci_wake_from_d3' > > so add an inline function stub for this function to pci.h when > PCI is not enabled, similar to other stubbed PCI functions. > > Signed-off-by: Randy Dunlap > Cc: Sakari Ailus Hi Randy, I think this issue in tlan driver was caused by my recent patch which added the suspend/resume support to tlan: There apparently are tlan cards which are EISA (not PCI) which I forgot when writing the patch. The suspend/resume has been only tested with PCI as I have no EISA bus (let alone EISA tlan card!). I'm going to send a fix to the tlan driver in any case. Regards, -- Sakari Ailus sakari.ailus@iki.fi