netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* From: Carlos Martín <carlos@cmartin.tk>
@ 2006-02-18 22:35 Carlos Martin
  2006-02-18 22:38 ` From: Carlos Martín <carlos@cmartin.tk> Carlos Martín
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Carlos Martin @ 2006-02-18 22:35 UTC (permalink / raw)
  To: netdev; +Cc: acx100-devel, Carlos Martin

[PATCH] acxsm: Fix Kconfig option check

This check never actually worked because CONFIG_ACX_{ACX,USB} are
tristate. With Adrian Bunk's patch to the Kconfig, this works with the
_BOOL hidden Kconfig options.
Also update error message adding that this shouldn't happen anymore.

Signed-off-by: Carlos Martin <carlos@cmartin.tk>
---

 acx_struct.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/acx_struct.h b/acx_struct.h
index 93495e0..3237974 100644
--- a/acx_struct.h
+++ b/acx_struct.h
@@ -105,8 +105,9 @@ enum { acx_debug = 0 };
 #define DEVTYPE_PCI		0
 #define DEVTYPE_USB		1
 
-#if !defined(CONFIG_ACX_PCI) && !defined(CONFIG_ACX_USB)
+#if !defined(CONFIG_ACX_PCI_BOOL) && !defined(CONFIG_ACX_USB_BOOL)
 #error Driver must include PCI and/or USB support. You selected neither.
+#error This really should not happen anymore. Please report.
 #endif
 
 #if defined(CONFIG_ACX_PCI)



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-02-22 15:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-18 22:35 From: Carlos Martín <carlos@cmartin.tk> Carlos Martin
2006-02-18 22:38 ` From: Carlos Martín <carlos@cmartin.tk> Carlos Martín
2006-02-20 15:30 ` From: Carlos Martц╜n <carlos@cmartin.tk> Denis Vlasenko
2006-02-20 18:56   ` Carlos Martín
2006-02-21  6:17     ` Denis Vlasenko
2006-02-21 14:31       ` Carlos Martín
2006-02-21 19:26 ` From: Carlos Mart??n <carlos@cmartin.tk> Christoph Hellwig
2006-02-21 20:24   ` Carlos Martín
2006-02-21 20:32     ` Christoph Hellwig
2006-02-21 21:03       ` Carlos Martín
2006-02-22 14:36         ` Christoph Hellwig
2006-02-22 15:06           ` Carlos Martín

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).