Re: Patch for "mesh: target 0 aborted"

From: Momchil Velikov (velco@fadata.bg)
Date: Mon Jun 26 2000 - 06:06:41 EST


Geert Uytterhoeven wrote:
>
> 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.

Well, I didn't look at that at all ...
But, yes, for me that change doesn't make any sense.

Regards,
-velco

-
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