forked from Imagelibrary/rtems
2009-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/ps2_mouse.c: Fix inconsistent spacing.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* console/ps2_mouse.c: Fix inconsistent spacing.
|
||||
|
||||
2009-06-12 Chris Johns <chrisj@rtems.org>
|
||||
|
||||
* ide/ide.c: Format the data output in DEBUG mode.
|
||||
|
||||
@@ -438,7 +438,7 @@ static int release_aux(void)
|
||||
|
||||
static int open_aux(void)
|
||||
{
|
||||
rtems_status_code status;
|
||||
int status;
|
||||
|
||||
if (aux_count++) {
|
||||
return 0;
|
||||
@@ -446,14 +446,12 @@ static int open_aux(void)
|
||||
queue->head = queue->tail = 0; /* Flush input queue */
|
||||
|
||||
status = BSP_install_rtems_irq_handler( &ps2_isr_data );
|
||||
if( !status )
|
||||
{
|
||||
if( !status ) {
|
||||
printk("Error installing ps2-mouse interrupt handler!\n" );
|
||||
rtems_fatal_error_occurred( status );
|
||||
}
|
||||
|
||||
kbd_write_command_w(KBD_CCMD_MOUSE_ENABLE); /* Enable the
|
||||
auxiliary port on
|
||||
kbd_write_command_w(KBD_CCMD_MOUSE_ENABLE); /* Enable the auxiliary port on
|
||||
controller. */
|
||||
aux_write_ack(AUX_ENABLE_DEV); /* Enable aux device */
|
||||
kbd_write_cmd(AUX_INTS_ON); /* Enable controller ints */
|
||||
|
||||
Reference in New Issue
Block a user