Changeset 73c421b in rtems


Ignore:
Timestamp:
Jun 17, 2009, 10:05:39 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
c0075af
Parents:
202f93f
Message:

2009-06-17 Joel Sherrill <joel.sherrill@…>

  • console/ps2_mouse.c: Fix inconsistent spacing.
Location:
c/src/lib/libbsp/i386/pc386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    r202f93f r73c421b  
     12009-06-17      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * console/ps2_mouse.c: Fix inconsistent spacing.
     4
    152009-06-12      Chris Johns <chrisj@rtems.org> 
    26
  • c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c

    r202f93f r73c421b  
    439439static int open_aux(void)
    440440{
    441   rtems_status_code status;
    442 
    443         if (aux_count++) {
    444                 return 0;
    445         }
    446         queue->head = queue->tail = 0;          /* Flush input queue */
    447 
    448    status = BSP_install_rtems_irq_handler( &ps2_isr_data );
    449    if( !status )
    450         {
    451           printk("Error installing ps2-mouse interrupt handler!\n" );
    452           rtems_fatal_error_occurred( status );
    453         }
    454 
    455         kbd_write_command_w(KBD_CCMD_MOUSE_ENABLE);     /* Enable the
    456                                                            auxiliary port on
    457                                                            controller. */
    458         aux_write_ack(AUX_ENABLE_DEV); /* Enable aux device */
    459         kbd_write_cmd(AUX_INTS_ON); /* Enable controller ints */
    460         return 0;
     441  int status;
     442
     443  if (aux_count++) {
     444    return 0;
     445  }
     446  queue->head = queue->tail = 0;                /* Flush input queue */
     447
     448  status = BSP_install_rtems_irq_handler( &ps2_isr_data );
     449  if( !status ) {
     450    printk("Error installing ps2-mouse interrupt handler!\n" );
     451    rtems_fatal_error_occurred( status );
     452  }
     453
     454  kbd_write_command_w(KBD_CCMD_MOUSE_ENABLE); /* Enable the auxiliary port on
     455                                                 controller. */
     456  aux_write_ack(AUX_ENABLE_DEV); /* Enable aux device */
     457  kbd_write_cmd(AUX_INTS_ON); /* Enable controller ints */
     458  return 0;
    461459}
    462460
Note: See TracChangeset for help on using the changeset viewer.