Re: [PATCH] virtio-blk: Fix kconfig option

From: Asias He
Date: Wed Sep 05 2012 - 00:23:40 EST


On 09/04/2012 02:23 PM, Rusty Russell wrote:
> Kent Overstreet <koverstreet@xxxxxxxxxx> writes:
>
>> CONFIG_VIRTIO isn't exposed, everything else is supposed to select it
>> instead.
>
> This is a slight mis-understanding. It's supposed to be selected by
> the particular driver, probably virtio_pci in your case.

virtio_mmio selects virtio as well.

drivers/virtio/Kconfig
config VIRTIO_MMIO
select VIRTIO
config VIRTIO_PCI
select VIRTIO

How about this:
config VIRTIO_BLK
depends on EXPERIMENTAL && (VIRTIO_PCI || VIRTIO_MMIO)

--
Asias
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/