Hi!
From: Izumi Tsutsui <tsut...@ceres.dti.ne.jp> 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