Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems with IOblix serial ports



On Thu, 20 May 2010 14:41:44 -0600 (MDT)
"Michael L. Hitch" <mhitch%lightning.msu.montana.edu@localhost> wrote:

> [...]
>    I think a fix would be to conditionally set supio_arg based on 
> iobzd->arg (i.e. set supio_arg to 0 if iobzd->arg is 0, othersize set
> it to the clock value).

Yes. Maybe John wants to try it? When the following patch works, somebody
can commit it:

--- ioblix_zbus.c       2 Feb 2010 19:03:31 -0000       1.15
+++ ioblix_zbus.c       21 May 2010 07:32:33 -0000
@@ -130,7 +130,7 @@
        while (iobzd->name) {
                supa.supio_name = iobzd->name;
                supa.supio_iobase = iobzd->off;
-               supa.supio_arg = iobzclock /* XXX iobzd->arg */;
+               supa.supio_arg = iobzd->arg ? iobzclock : 0 /* XXX iobzd->arg 
*/;
                config_found(self, &supa, iobzprint); /* XXX */
                ++iobzd;
        }

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index