lkml.org 
[lkml]   [2022]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v16 4/4] m68k: introduce a virtual m68k machine
    On Tue, May 31, 2022 at 8:05 AM Laurent Vivier <laurent@vivier.eu> wrote:
    > > This select VIRTIO_MMIO can cause a kconfig warning:
    > >
    > > WARNING: unmet direct dependencies detected for VIRTIO_MMIO
    > > Depends on [n]: VIRTIO_MENU [=n] && HAS_IOMEM [=y] && HAS_DMA [=y]
    >
    > In my repo, VIRTIO_MMIO has no dependency on VIRTIO_MENU:
    >
    > ./drivers/virtio/Kconfig
    > config VIRTIO_MMIO
    > tristate "Platform bus driver for memory mapped virtio devices"
    > depends on HAS_IOMEM && HAS_DMA
    >
    > > Selected by [y]:
    > > - VIRT [=y] && M68KCLASSIC [=y] && MMU [=y]
    >

    The dependency is expressed differently here, but this is the
    same as writing 'depends on VIRTIO_MENU':

    menuconfig VIRTIO_MENU
    bool "Virtio drivers"
    default y

    if VIRTIO_MENU

    config VIRTIO_MMIO
    tristate "Platform bus driver for memory mapped virtio devices"

    endif


    Arnd

    \
     
     \ /
      Last update: 2022-05-31 08:21    [W:6.101 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site