path: root/include/ps2mult.h
diff options
authorwdenk <wdenk>2004-01-20 23:12:12 +0000
committerwdenk <wdenk>2004-01-20 23:12:12 +0000
commitc837dcb1a316745092567bfe4fb266d0941884ff (patch)
tree8b275e8c982d1b0a411ff33c08c86cd3d343eed6 /include/ps2mult.h
parentb0aef11c9f1f98d018adaa484f1e048fa626801e (diff)
* The PS/2 mux on the BMS2003 board needs 450 ms after power on
before we can access it; add delay in case we are faster (with no CF card inserted) * Cleanup of some init functions * Make sure SCC Ethernet is always stopped by the time we boot Linux to avoid Linux crashes by early packets coming in. * Accelerate flash accesses on LWMON board by using buffered writes
Diffstat (limited to 'include/ps2mult.h')
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ps2mult.h b/include/ps2mult.h
index 8da20fc442..e68581751c 100644
--- a/include/ps2mult.h
+++ b/include/ps2mult.h
@@ -21,6 +21,10 @@
#define PS2BUF_SIZE 512 /* power of 2, please */
+#define CONFIG_PS2MULT_DELAY (CFG_HZ/2) /* Initial delay */
/* PS/2 controller interface (include/asm/keyboard.h)
extern int ps2mult_init (void);
@@ -30,6 +34,7 @@ extern u_char ps2mult_read_status(void);
extern void ps2mult_write_output(u_char val);
extern void ps2mult_write_command(u_char val);
+extern void ps2mult_early_init (void);
extern void ps2mult_callback (int in_cnt);
/* Simple serial interface
OpenPOWER on IntegriCloud