tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: com(4) and LSI bug workaround
Hi!
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
Date: Sat, 28 Sep 2013 17:24:27 +0900
> It looks meaningless that the (*sc_vendor_workaround)() hook function
> is inside of MD if (sc->sc_type == COM_TYPE_ARMADAXP) statement.
>
> Isn't it simpler to prepare a MD hook function that returns
> (possible pre-processed) IIR register value that can be used
> to check if the interrupt for the device is pending or not?
I performed operation to a com register into com.c.
I think that it is not so brief to return the value of both IIR(u_char)
and an error moreover.
Thanks,
--
kiyohara
Home |
Main Index |
Thread Index |
Old Index