From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751763AbWF1XQF (ORCPT ); Wed, 28 Jun 2006 19:16:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751764AbWF1XQF (ORCPT ); Wed, 28 Jun 2006 19:16:05 -0400 Received: from py-out-1112.google.com ([64.233.166.183]:29492 "EHLO py-out-1112.google.com") by vger.kernel.org with ESMTP id S1751763AbWF1XQB (ORCPT ); Wed, 28 Jun 2006 19:16:01 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=YBMkDAj3trmGzl4qW7uje2CKqLtfuDIlwGPSKdQUlMYV0T0ZAzxjcW1rdMPqyD29QGphSFN3W1KCwPT8nfbjoCc9di+Y4i/oSBy1+Y5OOAk53kcaIVoO1aKxMFHY+pFhM+VU1LxwB8HN1VSJkB6pMObiIDPBakldb61R7kPSDcE= Message-ID: <44A30D9D.5060804@gmail.com> Date: Thu, 29 Jun 2006 07:15:41 +0800 From: "Antonino A. Daplas" User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: Jon Smirl CC: lkml , Alan Cox Subject: Re: [PATCH] move MAX_NR_CONSOLES from tty.h to vt.h References: <9e4733910606271203w4ceb6216g92f5fefee654aaf3@mail.gmail.com> In-Reply-To: <9e4733910606271203w4ceb6216g92f5fefee654aaf3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jon Smirl wrote: > MAX_NR_CONSOLES is more of a function of the VT layer than the TTY > one. Moving this to vt.h allows all of the framebuffer drivers to > remove their dependency on tty.h. Note that console drivers in > video/console still depend on tty.h but fbdev drivers should not > depend on the tty layer. In fact, none of the VT console drivers should have any dependency on tty.h, only vt.c should. I think, the only thing needed by fbcon (and all other drivers in drivers/video/console) in tty.h is fg_console. We can move that to vt_kern.h instead. Tony