diff options
| author | David Greenman <dg@FreeBSD.org> | 1994-01-31 06:12:18 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1994-01-31 06:12:18 +0000 |
| commit | d6eb5914338d75c0b630f1c469f7db7c50ae2ac5 (patch) | |
| tree | beeba8dbc36782e11c5c087407c26165e193d87f /sys/dev/sio/sio.c | |
| parent | 43411a3db4a26fd2935a22ac3733955ec3d3dd51 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
| -rw-r--r-- | sys/dev/sio/sio.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 9b2ddfebee1f..21c9f90dfdf0 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.21 1994/01/02 10:17:29 ache Exp $ + * $Id: sio.c,v 1.22 1994/01/11 18:31:45 ache Exp $ */ #include "sio.h" @@ -83,6 +83,7 @@ #define COM_ISMULTIPORT(dev) ((dev)->id_flags & 0x01) #define COM_MPMASTER(dev) (((dev)->id_flags >> 8) & 0x0ff) #endif /* COM_MULTIPORT */ +#define COM_NOFIFO(dev) ((dev)->id_flags & 0x02) #ifndef FIFO_TRIGGER /* @@ -475,8 +476,12 @@ sioattach(isdp) printf(" 16550?"); break; case FIFO_TRIGGER_14: - com->hasfifo = TRUE; printf(" 16550A"); + if (COM_NOFIFO(isdp)) { + printf(" fifo software disabled"); + } else { + com->hasfifo = TRUE; + } break; } outb(iobase + com_fifo, 0); |
