sunsu.c (d4bbf7e7759afc172e2bfbc5c416324590049cdd) | sunsu.c (6816383a09b5be8d35f14f4c25dedb64498e4959) |
---|---|
1/* 2 * su.c: Small serial driver for keyboard/mouse interface on sparc32/PCI 3 * 4 * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be) 5 * Copyright (C) 1998-1999 Pete Zaitcev (zaitcev@yahoo.com) 6 * 7 * This is mainly a variation of 8250.c, credits go to authors mentioned 8 * therein. In fact this driver should be merged into the generic 8250.c --- 33 unchanged lines hidden (view full) --- 42#include <asm/irq.h> 43#include <asm/prom.h> 44 45#if defined(CONFIG_SERIAL_SUNSU_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) 46#define SUPPORT_SYSRQ 47#endif 48 49#include <linux/serial_core.h> | 1/* 2 * su.c: Small serial driver for keyboard/mouse interface on sparc32/PCI 3 * 4 * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be) 5 * Copyright (C) 1998-1999 Pete Zaitcev (zaitcev@yahoo.com) 6 * 7 * This is mainly a variation of 8250.c, credits go to authors mentioned 8 * therein. In fact this driver should be merged into the generic 8250.c --- 33 unchanged lines hidden (view full) --- 42#include <asm/irq.h> 43#include <asm/prom.h> 44 45#if defined(CONFIG_SERIAL_SUNSU_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) 46#define SUPPORT_SYSRQ 47#endif 48 49#include <linux/serial_core.h> |
50#include <linux/sunserialcore.h> |
|
50 | 51 |
51#include "suncore.h" 52 | |
53/* We are on a NS PC87303 clocked with 24.0 MHz, which results 54 * in a UART clock of 1.8462 MHz. 55 */ 56#define SU_BASE_BAUD (1846200 / 16) 57 58enum su_type { SU_PORT_NONE, SU_PORT_MS, SU_PORT_KBD, SU_PORT_PORT }; 59static char *su_typev[] = { "su(???)", "su(mouse)", "su(kbd)", "su(serial)" }; 60 --- 1548 unchanged lines hidden --- | 52/* We are on a NS PC87303 clocked with 24.0 MHz, which results 53 * in a UART clock of 1.8462 MHz. 54 */ 55#define SU_BASE_BAUD (1846200 / 16) 56 57enum su_type { SU_PORT_NONE, SU_PORT_MS, SU_PORT_KBD, SU_PORT_PORT }; 58static char *su_typev[] = { "su(???)", "su(mouse)", "su(kbd)", "su(serial)" }; 59 --- 1548 unchanged lines hidden --- |