ia64/linux-2.6.18-xen.hg

diff drivers/serial/suncore.h @ 0:831230e53067

Import 2.6.18 from kernel.org tarball.
author Ian Campbell <ian.campbell@xensource.com>
date Wed Apr 11 14:15:44 2007 +0100 (2007-04-11)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/drivers/serial/suncore.h	Wed Apr 11 14:15:44 2007 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +/* suncore.h
     1.5 + *
     1.6 + * Generic SUN serial/kbd/ms layer.  Based entirely
     1.7 + * upon drivers/sbus/char/sunserial.h which is:
     1.8 + *
     1.9 + * Copyright (C) 1997  Eddie C. Dost  (ecd@skynet.be)
    1.10 + *
    1.11 + * Port to new UART layer is:
    1.12 + *
    1.13 + * Copyright (C) 2002 David S. Miller (davem@redhat.com)
    1.14 + */
    1.15 +
    1.16 +#ifndef _SERIAL_SUN_H
    1.17 +#define _SERIAL_SUN_H
    1.18 +
    1.19 +/* Serial keyboard defines for L1-A processing... */
    1.20 +#define SUNKBD_RESET		0xff
    1.21 +#define SUNKBD_L1		0x01
    1.22 +#define SUNKBD_UP		0x80
    1.23 +#define SUNKBD_A		0x4d
    1.24 +
    1.25 +extern unsigned int suncore_mouse_baud_cflag_next(unsigned int, int *);
    1.26 +extern int suncore_mouse_baud_detection(unsigned char, int);
    1.27 +
    1.28 +extern int sunserial_current_minor;
    1.29 +
    1.30 +extern void sunserial_console_termios(struct console *);
    1.31 +
    1.32 +#endif /* !(_SERIAL_SUN_H) */