From f05b2ac0bc4626e854afc6e6a5d1b88071adbd7c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 21 Apr 2004 16:01:48 +0000 Subject: Remove duplicate white lines. --- c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c') diff --git a/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c b/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c index 5149822229..2cd69e4f42 100644 --- a/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c +++ b/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c @@ -74,7 +74,6 @@ static void mdelay( unsigned long t ) Wait_X_ms( t ); } - static void* termios_ttyp_paux = NULL; static void @@ -94,11 +93,9 @@ static int isr_is_on(const rtems_irq_connect_data *irq) return BSP_irq_enabled_at_i8259s( irq->name ); } - static rtems_irq_connect_data ps2_isr_data = { AUX_IRQ, ps2_mouse_interrupt, isr_on, isr_off, isr_is_on }; - /* * Wait for keyboard controller input buffer to drain. * @@ -161,7 +158,6 @@ static int do_acknowledge(unsigned char scancode) return 1; } - static inline void handle_mouse_event(unsigned char scancode) { if (mouse_reply_expected) { @@ -228,7 +224,6 @@ static unsigned char handle_kbd_event(void) return status; } - static void ps2_mouse_interrupt() { handle_kbd_event(); @@ -404,7 +399,6 @@ static unsigned char get_from_queue(void) return result; } - static int queue_empty(void) { return queue->head == queue->tail; @@ -439,7 +433,6 @@ static int open_aux() } queue->head = queue->tail = 0; /* Flush input queue */ - status = BSP_install_rtems_irq_handler( &ps2_isr_data ); if( !status ) { @@ -578,7 +571,6 @@ paux_initialize( rtems_device_major_number major, return RTEMS_SUCCESSFUL; } /* tty_initialize */ - static int paux_last_close(int major, int minor, void *arg) { release_aux(); @@ -595,7 +587,6 @@ static int write_aux_echo( int minor, const char * buffer, int count ) return 0; } - /* * Some initialization if necessary */ @@ -607,7 +598,6 @@ paux_first_open( rtems_device_minor_number major, return RTEMS_SUCCESSFUL; } - /* * paux device driver OPEN entry point */ @@ -645,7 +635,6 @@ paux_close(rtems_device_major_number major, return (rtems_termios_close (arg)); } - /* * paux device driver READ entry point. * Read characters from the PS/2 mouse. @@ -658,7 +647,6 @@ paux_read(rtems_device_major_number major, return rtems_termios_read (arg); } /* tty_read */ - /* * paux device driver WRITE entry point. * Write characters to the PS/2 mouse. @@ -675,7 +663,6 @@ paux_write(rtems_device_major_number major, return RTEMS_SUCCESSFUL; } /* tty_write */ - /* * Handle ioctl request. */ -- cgit v1.2.3