Re: Patch for "mesh: target 0 aborted"

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Mon Jun 26 2000 - 04:27:14 EST


On Saturday, 24 Jun 2000, Momchil Velikov wrote:

> linux still does not boot on PMAC 8500 without this patch.
>
> The patch is against ac21 (linux-pmac-devel from rsync).
>
> It was sent to me several months ago by Thomas Capricelli.

[patch included inline]

> --- mesh.c.orig Sat Jun 24 20:05:36 2000
> +++ mesh.c Sat Jun 24 20:05:44 2000
> @@ -224,13 +224,6 @@
> struct Scsi_Host *mesh_host;
> void *dma_cmd_space;
>
> - if (_machine == _MACH_Pmac) {
> - use_active_neg = (find_devices("mac-io") ? 0 : SEQ_ACTIVE_NEG);
> - } else {
> - /* CHRP mac-io */
> - use_active_neg = SEQ_ACTIVE_NEG;
> - }
> -
> nmeshes = 0;
> prev_statep = &all_meshes;
> /*
> @@ -317,6 +310,7 @@
> ++nmeshes;
> }
>
> + use_active_neg = (find_devices("mac-io") ? 0 : SEQ_ACTIVE_NEG);
> if ((_machine == _MACH_Pmac) && (nmeshes > 0))
> register_reboot_notifier(&mesh_notifier);

Why these changes? Since you have a PowerMac, _machine == _MACH_Pmac and this
part doesn't change anything for you but will break my CHRP box.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:08 EST