Sfoglia il codice sorgente

[PATCH] Kconfig fix (emac dependencient)

emac doesn't build modular; ibm_emac_debug doesn't build at all (missing
headers).

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro 20 anni fa
parent
commit
997183dc2a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      drivers/net/Kconfig

+ 2 - 2
drivers/net/Kconfig

@@ -1145,7 +1145,7 @@ config IBMVETH
 	  be called ibmveth.
 	  be called ibmveth.
 
 
 config IBM_EMAC
 config IBM_EMAC
-	tristate "IBM PPC4xx EMAC driver support"
+	bool "IBM PPC4xx EMAC driver support"
 	depends on 4xx
 	depends on 4xx
 	select CRC32
 	select CRC32
 	---help---
 	---help---
@@ -1154,7 +1154,7 @@ config IBM_EMAC
 
 
 config IBM_EMAC_ERRMSG
 config IBM_EMAC_ERRMSG
 	bool "Verbose error messages"
 	bool "Verbose error messages"
-	depends on IBM_EMAC
+	depends on IBM_EMAC && BROKEN
 
 
 config IBM_EMAC_RXB
 config IBM_EMAC_RXB
 	int "Number of receive buffers"
 	int "Number of receive buffers"