Received: from eggs.gnu.org ([208.118.235.92]:48694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5vIp-0008A2-0R for qemu-devel@nongnu.org; Fri, 09 Mar 2012 03:35:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5vIQ-0003AP-IE for qemu-devel@nongnu.org; Fri, 09 Mar 2012 03:35:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5vIQ-0003A6-AF for qemu-devel@nongnu.org; Fri, 09 Mar 2012 03:35:30 -0500 From: Markus Armbruster References: <1331198182-11516-1-git-send-email-kraxel@redhat.com> <4F5924C4.3020303@suse.de> <4F59A846.9080300@redhat.com> Date: Fri, 09 Mar 2012 09:35:25 +0100 In-Reply-To: <4F59A846.9080300@redhat.com> (Gerd Hoffmann's message of "Fri, 09 Mar 2012 07:50:46 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [RfC PATCH 0/2] usb: reorganize source files. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Andreas =?utf-8?Q?F=C3=A4rber?= , Anthony Liguori , qemu-devel@nongnu.org Gerd Hoffmann writes: > Hi, > >> For another, dev-foo.c is not natural English for a certain type of >> device - foo-dev.c would be better but I'd prefer without "dev", i.e., >> hw/usb/{audio,ccid,...}.c. And then of course only devices should go >> into hw/. > > I want a prefix because with prefixing you get the files nicely grouped > in directory listings, without creating another directory level, which > would IMHO be overkill for the number of files we have here. > > 'dev-*' is used for emulated usb devices (mouse, stick, ...), 'hcd-*' is > used for emulated usb host adapters (uhci, ehci, ...), 'host-*' is used > for host device pass-through code. Which are also devices, depending on your point of view :) > 'dev-' isn't the greated pick as it is somewhat generic indeed. I've > also considered 'emu-' (to contrast with host-*), but it has pretty much > the same issue. Other suggestions? Looks like all your dev- actually start with dev-usb-. If you drop the dev- prefix and keep the other prefixes, you get the grouping you want. Regardless, collecting the usb devices in one place is an improvement. Let's do it.