[lkml]   [2001]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] SAA9730 compilation fix.

The SAA9730 appears to be mips only, as it includes files
from asm/ which are only present in mips/ and mips64/
The patch below makes this only show up on the menu for mips32,

I didn't spot a define_bool CONFIG_MIPS64 or the likes, so
it probably needs improving if the driver works on mips64 too.

Also, the driver seems to support being built as a module, but
the config option was a bool.



| Dave Jones.
| SuSE Labs .

diff -urN --exclude-from=/home/davej/.exclude linux-dj/drivers/net/ linux-test/drivers/net/
--- linux-dj/drivers/net/ Mon Sep 24 00:36:27 2001
+++ linux-test/drivers/net/ Mon Sep 24 16:10:09 2001
@@ -191,8 +191,8 @@
if [ "$CONFIG_OBSOLETE" = "y" ]; then
dep_bool ' Zenith Z-Note support (EXPERIMENTAL)' CONFIG_ZNET $CONFIG_ISA
- if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
- bool ' Philips SAA9730 Ethernet support (EXPERIMENTAL)' CONFIG_LAN_SAA9730
+ if [ "$CONFIG_EXPERIMENTAL" = "y" -a "$CONFIG_MIPS" = "y" ]; then
+ dep_tristate ' Philips SAA9730 Ethernet support (EXPERIMENTAL)' CONFIG_LAN_SAA9730 $CONFIG_MIPS
bool ' Pocket and portable adapters' CONFIG_NET_POCKET
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.029 / U:5.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site