Files
OpenCellular/include
Louis Yung-Chieh Lo 7e8d739b38 Fix the missing IRQ problem.
The problem comes from the different assumption of interrupt mode in EC and
the PCH. The PCH assumes IRQ1 is edge-triggered and triggered at a rising edge.
However, the auto-IRQ functino of EC is level-triggered and uses low-active to
assert an IRQ. This makes the deadlock so that the kernel never gets an
interrupt until a byte is manually pulled from host.

So, the solution is manually firing an IRQ_1 to host after EC puts a byte to
port 0x60. Note that the auto IRQ needs to be disabled in order to avoid
the interference with manual IRQ generation.

This CL also moves chip specific code to lm4/lpc.c and handle some minor
keyboard commands.

BUG=none
TEST=on hacked baord.

Change-Id: Ib57f5a4d749cb019e4c3c00da110054c4f335c7b
2012-02-02 20:51:45 +08:00
..
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-13 10:34:09 -08:00
2011-12-08 16:18:20 -08:00
2011-12-07 19:10:02 +00:00
2012-02-02 20:51:45 +08:00
2012-01-11 11:37:55 -08:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-02-02 20:51:45 +08:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-25 18:23:48 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-26 22:07:00 +00:00
2012-01-19 10:54:37 +08:00
2012-01-31 22:29:13 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-17 12:19:47 -08:00