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] cmd64x: kill dummy init_dma_cmd64x()

    drivers/ide/pci/cmd64x.c | 5 -----
    drivers/ide/pci/cmd64x.h | 5 -----
    2 files changed, 10 deletions(-)

    diff -puN drivers/ide/pci/cmd64x.c~ide-cmd64x-init_dma drivers/ide/pci/cmd64x.c
    --- linux-2.6.0-test6-bk2/drivers/ide/pci/cmd64x.c~ide-cmd64x-init_dma 2003-10-04 00:59:18.224748616 +0200
    +++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/cmd64x.c 2003-10-04 00:59:18.231747552 +0200
    @@ -742,11 +742,6 @@ static void __init init_hwif_cmd64x (ide
    hwif->drives[1].autodma = hwif->autodma;
    }

    -static void __init init_dma_cmd64x (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 *);

    static int __devinit cmd64x_init_one(struct pci_dev *dev, const struct pci_device_id *id)
    diff -puN drivers/ide/pci/cmd64x.h~ide-cmd64x-init_dma drivers/ide/pci/cmd64x.h
    --- linux-2.6.0-test6-bk2/drivers/ide/pci/cmd64x.h~ide-cmd64x-init_dma 2003-10-04 00:59:18.227748160 +0200
    +++ linux-2.6.0-test6-bk2-root/drivers/ide/pci/cmd64x.h 2003-10-04 00:59:18.232747400 +0200
    @@ -81,7 +81,6 @@ static ide_pci_host_proc_t cmd64x_procs[

    static unsigned int init_chipset_cmd64x(struct pci_dev *, const char *);
    static void init_hwif_cmd64x(ide_hwif_t *);
    -static void init_dma_cmd64x(ide_hwif_t *, unsigned long);

    static ide_pci_device_t cmd64x_chipsets[] __devinitdata = {
    { /* 0 */
    @@ -91,7 +90,6 @@ static ide_pci_device_t cmd64x_chipsets[
    .init_chipset = init_chipset_cmd64x,
    .init_iops = NULL,
    .init_hwif = init_hwif_cmd64x,
    - .init_dma = init_dma_cmd64x,
    .channels = 2,
    .autodma = AUTODMA,
    .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
    @@ -104,7 +102,6 @@ static ide_pci_device_t cmd64x_chipsets[
    .init_chipset = init_chipset_cmd64x,
    .init_iops = NULL,
    .init_hwif = init_hwif_cmd64x,
    - .init_dma = init_dma_cmd64x,
    .channels = 2,
    .autodma = AUTODMA,
    .enablebits = {{0x00,0x00,0x00}, {0x51,0x80,0x80}},
    @@ -117,7 +114,6 @@ static ide_pci_device_t cmd64x_chipsets[
    .init_chipset = init_chipset_cmd64x,
    .init_iops = NULL,
    .init_hwif = init_hwif_cmd64x,
    - .init_dma = init_dma_cmd64x,
    .channels = 2,
    .autodma = AUTODMA,
    .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
    @@ -130,7 +126,6 @@ static ide_pci_device_t cmd64x_chipsets[
    .init_chipset = init_chipset_cmd64x,
    .init_iops = NULL,
    .init_hwif = init_hwif_cmd64x,
    - .init_dma = init_dma_cmd64x,
    .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.021 / U:2.736 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site