diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-01-13 10:23:31 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-01-13 10:23:31 +0100 |
commit | aa0627162b3abdf2a9f8dd68e5b845a8461c75a4 (patch) | |
tree | 950088e60429b7a6cb75af173be7d6b8c9f60c9a /sys/src/9/omap | |
parent | 63f1fc07eb77a5443d693b902dd2b74b56f95057 (diff) |
remove non standard COM3 (eia2) serial port from i8250 uart.
access to non standard serial port COM3 at i/o port 0x200 causes
kernel panic on some machines (Toshiba Sattelite 1415-S115). also,
some machines have gameport at 0x200.
i readded uartisa to the pcf and pccpuf kernel configurations so
one can use plan9.ini to add non standard uarts like:
uart2=type=isa port=0x200 irq=5
Diffstat (limited to 'sys/src/9/omap')
-rw-r--r-- | sys/src/9/omap/devuart.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/src/9/omap/devuart.c b/sys/src/9/omap/devuart.c index af7ed0005..59abbcbe5 100644 --- a/sys/src/9/omap/devuart.c +++ b/sys/src/9/omap/devuart.c @@ -124,33 +124,6 @@ uartdisable(Uart *p) iunlock(&uartalloc); } -void -uartmouse(Uart* p, int (*putc)(Queue*, int), int setb1200) -{ - qlock(p); - if(p->opens++ == 0 && uartenable(p) == nil){ - qunlock(p); - error(Enodev); - } - if(setb1200) - uartctl(p, "b1200"); - p->putc = putc; - p->special = 1; - qunlock(p); -} - -void -uartsetmouseputc(Uart* p, int (*putc)(Queue*, int)) -{ - qlock(p); - if(p->opens == 0 || p->special == 0){ - qunlock(p); - error(Enodev); - } - p->putc = putc; - qunlock(p); -} - static void setlength(int i) { |