Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-09-03 Thread Blue Swirl
On Thu, Sep 1, 2011 at 9:49 PM, Anthony Liguori wrote: > On 09/01/2011 02:39 AM, Markus Armbruster wrote: >> >> Blue Swirl  writes: >> >>> On Wed, Aug 31, 2011 at 4:06 PM, Anthony Liguori >>>  wrote: On 08/31/2011 09:35 AM, malc wrote: > > On Wed, 31 Aug 2011, Anthony Liguori wro

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-09-01 Thread Anthony Liguori
On 09/01/2011 02:39 AM, Markus Armbruster wrote: Blue Swirl writes: On Wed, Aug 31, 2011 at 4:06 PM, Anthony Liguori wrote: On 08/31/2011 09:35 AM, malc wrote: On Wed, 31 Aug 2011, Anthony Liguori wrote: Upper case field names are not okay. If you think coding style isn't clear, that's

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-09-01 Thread bifferos
--- On Thu, 1/9/11, Avi Kivity wrote: > On 08/31/2011 04:05 AM, bifferos > wrote: > > +    pci_register_bar(&s->dev, 0, > 0x100, PCI_BASE_ADDRESS_SPACE_IO, r6040_map); > pci_register_bar() has been converted to the memory > API.  Please rebase to the latest qemu.git master and > read docs/memory.

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-09-01 Thread Gerd Hoffmann
On 08/31/11 18:06, Anthony Liguori wrote: On 08/31/2011 09:35 AM, malc wrote: On Wed, 31 Aug 2011, Anthony Liguori wrote: Upper case field names are not okay. If you think coding style isn't clear, that's a bug in coding style. There's no benefit to going through and changing existing code

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-09-01 Thread Avi Kivity
On 08/31/2011 04:05 AM, bifferos wrote: +pci_register_bar(&s->dev, 0, 0x100, PCI_BASE_ADDRESS_SPACE_IO, r6040_map); + pci_register_bar() has been converted to the memory API. Please rebase to the latest qemu.git master and read docs/memory.txt and memory.h. -- error compiling committee

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-09-01 Thread Markus Armbruster
Blue Swirl writes: > On Wed, Aug 31, 2011 at 4:06 PM, Anthony Liguori > wrote: >> On 08/31/2011 09:35 AM, malc wrote: >>> >>> On Wed, 31 Aug 2011, Anthony Liguori wrote: >>> Upper case field names are not okay.  If you think coding style isn't clear, that's a bug in coding style.

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread bifferos
--- On Wed, 31/8/11, Blue Swirl wrote: > I agree about importance of consistency, though I'd even go > further and reformat globally. New code gets introduced > based on copying old code so the pain goes on. I think this is the most important point. I've worked on many projects where coding s

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Blue Swirl
On Wed, Aug 31, 2011 at 7:23 PM, Anthony Liguori wrote: > On 08/31/2011 02:12 PM, Edgar E. Iglesias wrote: >> >> On Wed, Aug 31, 2011 at 01:48:34PM -0500, Anthony Liguori wrote: etc, etc. IMO, those bring codingstyle issues into the pretty much neglectable space. >>> >>> I don't thi

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Anthony Liguori
On 08/31/2011 02:12 PM, Edgar E. Iglesias wrote: On Wed, Aug 31, 2011 at 01:48:34PM -0500, Anthony Liguori wrote: etc, etc. IMO, those bring codingstyle issues into the pretty much neglectable space. I don't think we lack contributors. Documentation and tests are really about discipline. If

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Edgar E. Iglesias
On Wed, Aug 31, 2011 at 09:12:06PM +0200, Edgar E. Iglesias wrote: > On Wed, Aug 31, 2011 at 01:48:34PM -0500, Anthony Liguori wrote: > > On 08/31/2011 12:59 PM, Edgar E. Iglesias wrote: > > >On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote: > > >>On 08/31/2011 09:35 AM, malc wrote:

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Edgar E. Iglesias
On Wed, Aug 31, 2011 at 01:48:34PM -0500, Anthony Liguori wrote: > On 08/31/2011 12:59 PM, Edgar E. Iglesias wrote: > >On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote: > >>On 08/31/2011 09:35 AM, malc wrote: > >>>On Wed, 31 Aug 2011, Anthony Liguori wrote: > >>> > Upper case fie

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Edgar E. Iglesias
On Wed, Aug 31, 2011 at 06:46:37PM +, Blue Swirl wrote: > On Wed, Aug 31, 2011 at 5:59 PM, Edgar E. Iglesias > wrote: > > On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote: > >> On 08/31/2011 09:35 AM, malc wrote: > >> >On Wed, 31 Aug 2011, Anthony Liguori wrote: > >> > > >> >>Up

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread malc
On Wed, 31 Aug 2011, Blue Swirl wrote: > On Wed, Aug 31, 2011 at 4:24 PM, malc wrote: > > On Wed, 31 Aug 2011, Anthony Liguori wrote: > > > >> On 08/31/2011 09:35 AM, malc wrote: > >> > On Wed, 31 Aug 2011, Anthony Liguori wrote: > >> > > >> > > Upper case field names are not okay.  If you think

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Blue Swirl
On Wed, Aug 31, 2011 at 5:59 PM, Edgar E. Iglesias wrote: > On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote: >> On 08/31/2011 09:35 AM, malc wrote: >> >On Wed, 31 Aug 2011, Anthony Liguori wrote: >> > >> >>Upper case field names are not okay.  If you think coding style isn't >> >>

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Anthony Liguori
On 08/31/2011 12:59 PM, Edgar E. Iglesias wrote: On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote: On 08/31/2011 09:35 AM, malc wrote: On Wed, 31 Aug 2011, Anthony Liguori wrote: Upper case field names are not okay. If you think coding style isn't clear, that's a bug in coding

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Blue Swirl
On Wed, Aug 31, 2011 at 4:24 PM, malc wrote: > On Wed, 31 Aug 2011, Anthony Liguori wrote: > >> On 08/31/2011 09:35 AM, malc wrote: >> > On Wed, 31 Aug 2011, Anthony Liguori wrote: >> > >> > > Upper case field names are not okay.  If you think coding style isn't >> > > clear, >> > > that's a bug i

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Blue Swirl
On Wed, Aug 31, 2011 at 4:06 PM, Anthony Liguori wrote: > On 08/31/2011 09:35 AM, malc wrote: >> >> On Wed, 31 Aug 2011, Anthony Liguori wrote: >> >>> Upper case field names are not okay.  If you think coding style isn't >>> clear, >>> that's a bug in coding style. >> >> Sez hu? Coding style is ga

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Edgar E. Iglesias
On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote: > On 08/31/2011 09:35 AM, malc wrote: > >On Wed, 31 Aug 2011, Anthony Liguori wrote: > > > >>Upper case field names are not okay. If you think coding style isn't clear, > >>that's a bug in coding style. > > > >Sez hu? Coding style is

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread malc
On Wed, 31 Aug 2011, Anthony Liguori wrote: > On 08/31/2011 09:35 AM, malc wrote: > > On Wed, 31 Aug 2011, Anthony Liguori wrote: > > > > > Upper case field names are not okay. If you think coding style isn't > > > clear, > > > that's a bug in coding style. > > > > Sez hu? Coding style is garba

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Anthony Liguori
On 08/31/2011 09:35 AM, malc wrote: On Wed, 31 Aug 2011, Anthony Liguori wrote: Upper case field names are not okay. If you think coding style isn't clear, that's a bug in coding style. Sez hu? Coding style is garbage that should be thrown out of the window. As for looking, yeah, i'm looking

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread malc
On Wed, 31 Aug 2011, Anthony Liguori wrote: > On 08/31/2011 08:51 AM, malc wrote: > > On Wed, 31 Aug 2011, Anthony Liguori wrote: > > > > > On 08/31/2011 08:39 AM, malc wrote: > > > > On Wed, 31 Aug 2011, Anthony Liguori wrote: > > > > > > > > > On 08/31/2011 08:17 AM, malc wrote: > > > > > > On

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Anthony Liguori
On 08/31/2011 08:51 AM, malc wrote: On Wed, 31 Aug 2011, Anthony Liguori wrote: On 08/31/2011 08:39 AM, malc wrote: On Wed, 31 Aug 2011, Anthony Liguori wrote: On 08/31/2011 08:17 AM, malc wrote: On Tue, 30 Aug 2011, Anthony Liguori wrote: On 08/30/2011 08:30 PM, malc wrote: On Tue, 30 A

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread malc
On Wed, 31 Aug 2011, Anthony Liguori wrote: > On 08/31/2011 08:39 AM, malc wrote: > > On Wed, 31 Aug 2011, Anthony Liguori wrote: > > > > > On 08/31/2011 08:17 AM, malc wrote: > > > > On Tue, 30 Aug 2011, Anthony Liguori wrote: > > > > > > > > > On 08/30/2011 08:30 PM, malc wrote: > > > > > > On

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Anthony Liguori
On 08/31/2011 08:39 AM, malc wrote: On Wed, 31 Aug 2011, Anthony Liguori wrote: On 08/31/2011 08:17 AM, malc wrote: On Tue, 30 Aug 2011, Anthony Liguori wrote: On 08/30/2011 08:30 PM, malc wrote: On Tue, 30 Aug 2011, Anthony Liguori wrote: This won't even come close to passing checkpatch.

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread malc
On Wed, 31 Aug 2011, Anthony Liguori wrote: > On 08/31/2011 08:17 AM, malc wrote: > > On Tue, 30 Aug 2011, Anthony Liguori wrote: > > > > > On 08/30/2011 08:30 PM, malc wrote: > > > > On Tue, 30 Aug 2011, Anthony Liguori wrote: > > > > > > > > > This won't even come close to passing checkpatch.p

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread bifferos
--- On Wed, 31/8/11, malc wrote: > From: malc > Subject: Re: [Qemu-devel] [PATCH] Add support for r6040 NIC > To: "Anthony Liguori" > Cc: qemu-devel@nongnu.org, "bifferos" > Date: Wednesday, 31 August, 2011, 14:17 > On Tue, 30 Aug 2011, Anthony Liguori

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread Anthony Liguori
On 08/31/2011 08:17 AM, malc wrote: On Tue, 30 Aug 2011, Anthony Liguori wrote: On 08/30/2011 08:30 PM, malc wrote: On Tue, 30 Aug 2011, Anthony Liguori wrote: This won't even come close to passing checkpatch.pl Have you actually tried? Sigh. I was hoping checkpatch.pl was more useful t

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-31 Thread malc
On Tue, 30 Aug 2011, Anthony Liguori wrote: > On 08/30/2011 08:30 PM, malc wrote: > > On Tue, 30 Aug 2011, Anthony Liguori wrote: > > > > > This won't even come close to passing checkpatch.pl > > > > Have you actually tried? > > Sigh. I was hoping checkpatch.pl was more useful than it appears

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-30 Thread Anthony Liguori
On 08/30/2011 08:30 PM, malc wrote: On Tue, 30 Aug 2011, Anthony Liguori wrote: This won't even come close to passing checkpatch.pl Have you actually tried? Sigh. I was hoping checkpatch.pl was more useful than it appears to be. At any rate, the patch doesn't follow CODING_STYLE. Regards

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-30 Thread malc
On Tue, 30 Aug 2011, Anthony Liguori wrote: > This won't even come close to passing checkpatch.pl Have you actually tried? > > Regards, > > Anthony Liguori > > On 08/30/2011 08:05 PM, bifferos wrote: > > > > Signed-off-by: Mark Kelly > > diff --git a/Makefile.objs b/Makefile.objs > > index 6

Re: [Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-30 Thread Anthony Liguori
This won't even come close to passing checkpatch.pl Regards, Anthony Liguori On 08/30/2011 08:05 PM, bifferos wrote: Signed-off-by: Mark Kelly diff --git a/Makefile.objs b/Makefile.objs index 6991a9f..7d87503 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -240,6 +240,7 @@ hw-obj-$(CONFIG_P

[Qemu-devel] [PATCH] Add support for r6040 NIC

2011-08-30 Thread bifferos
Signed-off-by: Mark Kelly diff --git a/Makefile.objs b/Makefile.objs index 6991a9f..7d87503 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -240,6 +240,7 @@ hw-obj-$(CONFIG_PCNET_PCI) += pcnet-pci.o hw-obj-$(CONFIG_PCNET_COMMON) += pcnet.o hw-obj-$(CONFIG_E1000_PCI) += e1000.o hw-obj-$(CONFI