From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Volkov Subject: Re: [Linux-fbdev-devel] Where is place of arch independed companion chips? Date: Sun, 31 Jul 2005 16:21:04 +0400 Message-ID: <42ECC230.7070004@varma-el.com> References: <42EB6A12.70100@varma-el.com> <42EC5659.7010300@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42EC5659.7010300@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: Andrey Volkov wrote: > >> Hi Greg, >> >> While I write driver for SM501 CC (which have graphics controller, USB >> MASTER/SLAVE, AC97, UART, SPI and VIDEO CAPTURE onboard), >> I bumped with next ambiguity: >> Where is a place of this chip's Kconfig/drivers in >> kernel config/drivers tree? May be create new node in drivers subtree? >> Or put it under graphics node (since it's main function of this CC)? > > > You will have to split your driver (graphics under drivers/video, usb > under drivers/usb, ac97 under sound, video capture under drivers/media, > etc. Yes, it was first what I try, BUT - all these drivers have common code (as bus driver, in my case) and some of private headers. And problem exactly in this code. This code NOT video/audio....., this code is abstract bus driver, and doesn't fall under some exist kernel tree node :(. -- Regards Andrey Volkov