On 3/24/10, Alexander Graf <ag...@suse.de> wrote: > As soon as virtio-pci.c gets compiled and used on S390 the internal qdev magic > gets confused and tries to give us PCI devices instead of S390 virtio > devices. > > Since we don't have PCI on S390, we can safely not compile virtio-pci at all. > > In order to do this I added a new config option "CONFIG_PCI" that I enabled > for every platform except S390. Thanks to this the change should be a > complete > nop for every other platform.
The name should be CONFIG_VIRTIO_PCI, CONFIG_PCI would enable compilation of pci.c. > If anyone feels like their platform shouldn't support PCI either, just remove > the config option. If you think we should build even less when we don't have > PCI, feel free to come up with a follow-up patch. None of the currently supported Sparc32 boards have PCI. There are some real devices with PCI (JavaStations) though.