Re: [PATCH 2.6.9-rc3-mm2] [m32r] SIO driver for m32r

From: Hirokazu Takata
Date: Tue Oct 12 2004 - 04:37:01 EST


Hello, Bernd,

From: Bernd Eckenfels <ecki-news2004-05@xxxxxxxxxxxx>
Subject: Re: [PATCH 2.6.9-rc3-mm2] [m32r] SIO driver for m32r
Date: Wed, 06 Oct 2004 09:47:16 +0200
> In article <20041006.151912.840807084.takata.hirokazu@xxxxxxxxxxx> you wrote:
> > +static void sio_error(int *status)
> > +{
> > + printk("SIO0 error[%04x]\n", *status);
> > + do {
> > + sio_init();
> > + } while ((*status = __sio_in(PLD_ESIO0CR)) != 3);
> > +}
>
> is this safe and sane? Wont that lockup the machine on hardware problems?

Hmm.. Do you have any good idea to fix it?

> It
> is also duplicated, with only the port differ.

OK. I will try to merge them.

> Greetings
> Bernd
> --
> eckes privat - http://www.eckes.org/
> Project Freefire - http://www.freefire.org/

Thanks.

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