qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RfC PATCH 0/2] usb: reorganize source files.


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [RfC PATCH 0/2] usb: reorganize source files.
Date: Fri, 09 Mar 2012 07:50:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

  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.

'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?

cheers,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]