Re: PATCH: 2.1.96/drivers/scsi/fdomain.c

Alan Crosswell (alan@watsun.cc.columbia.edu)
Fri, 17 Apr 98 13:59:27 EDT


>
> Pretty much. Actually it looks like the function fdomain_16x0_intr changed
> it's name to do_fdomain_16x0_intr so the patch should look more like the one
> below. If nothing else, this patch is needed to compile the pcmcia utilities.
>
>
> diff -urN linux/drivers/scsi/fdomain.c-ori linux/drivers/scsi/fdomain.c
> --- linux/drivers/scsi/fdomain.c-ori Tue Apr 14 20:18:23 1998
> +++ linux/drivers/scsi/fdomain.c Tue Apr 14 20:18:49 1998
> @@ -402,7 +402,7 @@
> static int FIFO_Size = 0x2000; /* 8k FIFO for
> pre-tmc18c30 chips */
>
> -extern void fdomain_16x0_intr( int irq, void *dev_id,
> +extern void do_fdomain_16x0_intr( int irq, void *dev_id,
> struct pt_regs * regs );
>
> static unsigned long addresses[] = {
>
> --
> Matthew Harrell Any sufficiently advanced bug is
> Simulation Technology Division, SAIC indistinguishable from a feature.
> mharrell@std.saic.com
>

Read the code and you will see that do_fdomain... calls fdomain.... after
wrapping it with some SMP stuff. If it were just simply being renamed
I don't think anyone would have wasted his time doing so!
/a

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu