Move the com_scr register address definition over with the other seven.
Approved by: bde
This commit is contained in:
parent
4a2eca23ca
commit
c8423e9702
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103795
@ -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) */
|
||||
|
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user