diff options
author | phk <phk@FreeBSD.org> | 2002-09-22 08:51:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-22 08:51:31 +0000 |
commit | 6d7819a5d47018cd38813f604f06d909988df586 (patch) | |
tree | 1aa15bb4666f4919a5c236acddf9c63f21a54313 /sys/dev | |
parent | 2ecda740f8b6d56c6faf3fe047467e2506ac5568 (diff) | |
download | FreeBSD-src-6d7819a5d47018cd38813f604f06d909988df586.zip FreeBSD-src-6d7819a5d47018cd38813f604f06d909988df586.tar.gz |
Move the com_scr register address definition over with the other seven.
Approved by: bde
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ns16550.h | 1 | ||||
-rw-r--r-- | sys/dev/sio/sio.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/ns16550.h b/sys/dev/ic/ns16550.h index 2d93e76..e0a448c 100644 --- a/sys/dev/ic/ns16550.h +++ b/sys/dev/ic/ns16550.h @@ -48,3 +48,4 @@ #define com_mcr 4 /* modem control register (R/W) */ #define com_lsr 5 /* line status register (R/W) */ #define com_msr 6 /* modem status register (R/W) */ +#define com_scr 7 /* scratch register for 16450 up (R/W) */ diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index d98ef89..df62c90 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -119,8 +119,6 @@ #define COM_IIR_TXRDYBUG(flags) ((flags) & COM_C_IIR_TXRDYBUG) #define COM_FIFOSIZE(flags) (((flags) & 0xff000000) >> 24) -#define com_scr 7 /* scratch register for 16450-16550 (R/W) */ - #define sio_getreg(com, off) \ (bus_space_read_1((com)->bst, (com)->bsh, (off))) #define sio_setreg(com, off, value) \ |