[lkml]   [2003]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: PATCH: Fix floppy on sparc64 to new irq code
    As Thierry Vignaud kindly pointed out, the patch only applies cleanly if
    your arch is sparc64. So here's a resend:

    --- linux-2.6.0-test1/include/asm-sparc64/floppy.h 2003-07-13 23:39:23.000000000 -0400
    +++ linux-2.6.0-test1-mathieu/include/asm-sparc64/floppy.h 2003-07-18 17:18:43.000000000 -0400
    @@ -214,7 +214,7 @@

    /* Our low-level entry point in arch/sparc/kernel/entry.S */
    -extern void floppy_hardint(int irq, void *unused, struct pt_regs *regs);
    +extern irqreturn_t floppy_hardint(int irq, void *unused, struct pt_regs *regs);

    static int sun_fd_request_irq(void)
    @@ -277,7 +277,7 @@
    static struct sun_pci_dma_op sun_pci_dma_current = { -1U, 0, 0, NULL};
    static struct sun_pci_dma_op sun_pci_dma_pending = { -1U, 0, 0, NULL};

    -extern void floppy_interrupt(int irq, void *dev_id, struct pt_regs *regs);
    +extern irqreturn_t floppy_interrupt(int irq, void *dev_id, struct pt_regs *regs);

    static unsigned char sun_pci_fd_inb(unsigned long port)

    On Fri, Jul 18, 2003 at 05:27:50PM -0400, Mathieu Chouquet-Stringer wrote:
    > I haven't heard anything so here's the patch again (and the other one had a
    > superfluous ampersand anyway). Without it you can't compile
    > drivers/block/floppy.c on sparc64. It applies cleanly on top of 2.6.0-test1
    > or the current bk.

    Mathieu Chouquet-Stringer E-Mail :
    Never attribute to malice that which can be adequately
    explained by stupidity.
    -- Hanlon's Razor --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:46    [W:0.023 / U:200.648 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site