qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/5] Re-factor nic model listing


From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH 1/5] Re-factor nic model listing
Date: Fri, 14 Nov 2008 02:31:47 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Paul Brook wrote:
> > > On Thursday 13 November 2008, Mark McLoughlin wrote:
> > >>      .desc = "ARM Versatile/PB (ARM926EJ-S)",
> > >>      .init = vpb_init,
> > >>      .use_scsi = 1,
> > >> +    .nic_models = pci_nic_models,
> > >
> > > This is wrong, an I'd expect a lot of the other non-PC machines are too.
> >
> > What's the issue?  This board seems to have a PCI bridge attached to it
> > so why can't it support any PCI nic?  Is this just not something that
> > occurs naturally?
> 
> For the same reason you mentioned separately: The abstraction is all wrong. 
> These boards also support various non-pci NICs. Admittedly this is a 
> pre-existing bug, but if we're changing things it makes sense to get it 
> right.

Doesn't it make sense to add pci_nic_models _automatically_ to any
board with a PCI interface, and have nic_models just for additional
NICs which aren't implied by having a PCI interface?

-- Jamie




reply via email to

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