From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Halasa Subject: Re: [PATCH 1/3] WAN Kconfig: change "depends on HDLC" to "select" Date: Mon, 07 May 2007 13:56:41 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeff Garzik , Russell King , lkml , netdev@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk To: Roman Zippel Return-path: Received: from khc.piap.pl ([195.187.100.11]:56528 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933691AbXEGMwi (ORCPT ); Mon, 7 May 2007 08:52:38 -0400 In-Reply-To: (Roman Zippel's message of "Mon, 7 May 2007 13:22:40 +0200 (CEST)") Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Roman Zippel writes: >> You don't have to know it's required, you can just select a driver >> for your hardware, without enabling HDLC first. > > Is this a real problem? I think the "select" is better. > Using select you should also consider removing HDLC as visible option and > use only select. Mixing depends and selects is generally a bad idea. It has to stay there for external modules. It's similar to MII - drivers select MII automatically but you can turn it on (Y or M) by hand as well. And you can have HDLC=y and driver=m (and it makes perfect sense). Actually I can't see any bad idea here. The original dependency was certainly, uhm, not the best one. -- Krzysztof Halasa