lkml.org 
[lkml]   [2003]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: [PATCH] kill dummy init_dma_* from drivers/ide/pci/
    Date

    [IDE] cs5530: kill dummy init_dma_cs5530()

    drivers/ide/pci/cs5530.c | 13 -------------
    drivers/ide/pci/cs5530.h | 2 --
    2 files changed, 15 deletions(-)

    diff -puN drivers/ide/pci/cs5530.c~ide-cs5530-init_dma drivers/ide/pci/cs5530.c
    --- linux-2.6.0-test6-bk2/drivers/ide/pci/cs5530.c~ide-cs5530-init_dma 2003-10-04 00:59:46.652426952 +0200
    +++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/cs5530.c 2003-10-04 00:59:46.658426040 +0200
    @@ -404,19 +404,6 @@ static void __init init_hwif_cs5530 (ide
    hwif->drives[1].autodma = hwif->autodma;
    }

    -/**
    - * init_dma_cs5530 - set up for DMA
    - * @hwif: interface
    - * @dmabase: DMA base address
    - *
    - * FIXME: this can go away
    - */
    -
    -static void __init init_dma_cs5530 (ide_hwif_t *hwif, unsigned long dmabase)
    -{
    - ide_setup_dma(hwif, dmabase, 8);
    -}
    -
    extern void ide_setup_pci_device(struct pci_dev *, ide_pci_device_t *);


    diff -puN drivers/ide/pci/cs5530.h~ide-cs5530-init_dma drivers/ide/pci/cs5530.h
    --- linux-2.6.0-test6-bk2/drivers/ide/pci/cs5530.h~ide-cs5530-init_dma 2003-10-04 00:59:46.655426496 +0200
    +++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/cs5530.h 2003-10-04 00:59:46.659425888 +0200
    @@ -27,7 +27,6 @@ static ide_pci_host_proc_t cs5530_procs[

    static unsigned int init_chipset_cs5530(struct pci_dev *, const char *);
    static void init_hwif_cs5530(ide_hwif_t *);
    -static void init_dma_cs5530(ide_hwif_t *, unsigned long);

    static ide_pci_device_t cs5530_chipsets[] __devinitdata = {
    { /* 0 */
    @@ -37,7 +36,6 @@ static ide_pci_device_t cs5530_chipsets[
    .init_chipset = init_chipset_cs5530,
    .init_iops = NULL,
    .init_hwif = init_hwif_cs5530,
    - .init_dma = init_dma_cs5530,
    .channels = 2,
    .autodma = AUTODMA,
    .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
    _

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

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.026 / U:0.372 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site