lkml.org 
[lkml]   [2008]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] Let HP iLO driver depend on PCI
    Subject: [PATCH] Let HP iLO driver depend on PCI

    From: Heiko Carstens <heiko.carstens@de.ibm.com>

    "HP iLO driver" causes this on s390:

    drivers/misc/hpilo.c: In function 'doorbell_set':
    drivers/misc/hpilo.c:147: error: implicit declaration of function 'iowrite8'
    drivers/misc/hpilo.c: In function 'ilo_ccb_close':
    drivers/misc/hpilo.c:204: error: implicit declaration of function 'iowrite32'
    drivers/misc/hpilo.c:204: error: implicit declaration of function 'ioread32'
    drivers/misc/hpilo.c:222: error: implicit declaration of function 'memset_io'
    drivers/misc/hpilo.c:225: error: implicit declaration of function 'pci_free_consistent'
    drivers/misc/hpilo.c: In function 'ilo_ccb_open':
    drivers/misc/hpilo.c:244: error: implicit declaration of function 'pci_alloc_consistent'
    drivers/misc/hpilo.c:245: warning: assignment makes pointer from integer without a cast
    drivers/misc/hpilo.c:296: error: implicit declaration of function 'memcpy_toio'
    drivers/misc/hpilo.c: In function 'ilo_unmap_device':
    drivers/misc/hpilo.c:575: error: implicit declaration of function 'pci_iounmap'
    drivers/misc/hpilo.c: In function 'ilo_map_device':
    drivers/misc/hpilo.c:585: error: implicit declaration of function 'pci_iomap'
    drivers/misc/hpilo.c:585: warning: assignment makes pointer from integer without a cast
    drivers/misc/hpilo.c:592: warning: assignment makes pointer from integer without a cast
    drivers/misc/hpilo.c:599: warning: assignment makes pointer from integer without a cast
    make[2]: *** [drivers/misc/hpilo.o] Error 1

    Just let it depend on PCI.

    Cc: David Altobelli <david.altobelli@hp.com>
    Cc: Greg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
    ---

    Sent already two weeks ago to Greg because it caused the same
    build bug on linux-next.

    drivers/misc/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    Index: linux-2.6/drivers/misc/Kconfig
    ===================================================================
    --- linux-2.6.orig/drivers/misc/Kconfig
    +++ linux-2.6/drivers/misc/Kconfig
    @@ -425,6 +425,7 @@ config SGI_XP
    config HP_ILO
    tristate "Channel interface driver for HP iLO/iLO2 processor"
    default n
    + depends on PCI
    help
    The channel interface driver allows applications to communicate
    with iLO/iLO2 management processors present on HP ProLiant

    \
     
     \ /
      Last update: 2008-07-25 04:23    [W:0.023 / U:0.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site