Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 8 Jan 2002 05:51:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 8 Jan 2002 05:50:57 -0500 Received: from gate.perex.cz ([194.212.165.105]:58377 "EHLO gate.perex.cz") by vger.kernel.org with ESMTP id ; Tue, 8 Jan 2002 05:50:49 -0500 Date: Tue, 8 Jan 2002 11:50:03 +0100 (CET) From: Jaroslav Kysela X-X-Sender: To: Abramo Bagnara cc: Takashi Iwai , Linus Torvalds , "J.A. Magallon" , Alan Cox , Christoph Hellwig , "sound-hackers@zabbo.net" , "linux-kernel@vger.kernel.org" Subject: Re: [s-h] Re: ALSA patch for 2.5.2pre9 kernel In-Reply-To: <3C3ACBC8.E29CE1CB@alsa-project.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Jan 2002, Abramo Bagnara wrote: > Jaroslav Kysela wrote: > > > > On Tue, 8 Jan 2002, Takashi Iwai wrote: > > > > > Agreed. The hw specific header files should be bound with *.c code > > > together. > > > > The problem is that we should export some header files to user space as > > well to allow access to hardware related features. > > Don't you think it's better to split this in "external" headers (placed > in include/sound together with asound.h) and "internal" ones (placed in > drivers/*/)? > > To present kernel space struct layout for specific hardware to user > space does not seem a lot sensible to me (and might also give some > errors unless nasty #ifdef __KERNEL__ tricks). I'm open for all cleanups including this. Although I'm not sure about the right place for shared internal header files. References including the directory structure layout (like #include "../../generic/ac97/ac97_codec.h") are not happiest solution in my eyes and creating a new internal directory with header files definitely breaks the current linux/include directory structure. Jaroslav ----- Jaroslav Kysela SuSE Linux http://www.suse.com ALSA Project http://www.alsa-project.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/