From: Randy Dunlap <hidden> Date: 2011-02-14 20:28:12
From: Randy Dunlap <redacted>
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 <redacted>
Cc: Sakari Ailus <sakari.ailus@iki.fi>
---
include/linux/pci.h | 5 +++++
1 file changed, 5 insertions(+)
From: David Miller <davem@davemloft.net> Date: 2011-02-14 20:38:58
From: Randy Dunlap <redacted>
Date: Mon, 14 Feb 2011 12:27:50 -0800
From: Randy Dunlap <redacted>
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 <redacted>
Cc: Sakari Ailus <sakari.ailus@iki.fi>
From: Sakari Ailus <sakari.ailus@iki.fi> Date: 2011-02-14 21:32:58
Randy Dunlap wrote:
From: Randy Dunlap <redacted>
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 <redacted>
Cc: Sakari Ailus <sakari.ailus@iki.fi>
Hi Randy,
I think this issue in tlan driver was caused by my recent patch which
added the suspend/resume support to tlan:
<URL:http://marc.info/?l=linux-netdev&m=129564436110754&w=3>
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
From: Sakari Ailus <sakari.ailus@iki.fi> Date: 2011-02-14 22:10:14
Sakari Ailus wrote:
Randy Dunlap wrote:
quoted
From: Randy Dunlap<redacted>
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<redacted>
Cc: Sakari Ailus<sakari.ailus@iki.fi>
Hi Randy,
I think this issue in tlan driver was caused by my recent patch which
added the suspend/resume support to tlan:
<URL:http://marc.info/?l=linux-netdev&m=129564436110754&w=3>
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!).
Right; so I suppose there's no PM support in EISA anyway. Other pci
functions appear to be no-ops when CONFIG_PCI isn't defined so this
patch seems right to me --- and no changes are needed in the tlan driver.
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
--
Sakari Ailus
sakari.ailus@iki.fi
On Mon, 14 Feb 2011 12:27:50 -0800
Randy Dunlap [off-list ref] wrote:
quoted hunk
From: Randy Dunlap <redacted>
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 <redacted>
Cc: Sakari Ailus <sakari.ailus@iki.fi>
---
include/linux/pci.h | 5 +++++
1 file changed, 5 insertions(+)