Changeset 537 for trunk/hal/tsar_mips32
- Timestamp:
- Sep 21, 2018, 10:21:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_mtty.c
r534 r537 78 78 79 79 // enable interruptions for RX but not for TX 80 reg_xp = XPTR( tty_cxy , tty_ptr + (channel * MTTY_SPAN) +MTTY_CONFIG );80 reg_xp = XPTR( tty_cxy , tty_ptr + MTTY_CONFIG ); 81 81 hal_remote_sw( reg_xp , MTTY_CONFIG_RX_ENABLE ); 82 82 … … 133 133 // get TTY channel index and channel base address 134 134 uint32_t channel = hal_remote_lw( XPTR( dev_cxy , &dev_ptr->channel ) ); 135 uint32_t * base = tty_ptr + MTTY_SPAN * channel;135 uint32_t * base = tty_ptr; 136 136 137 137 /////////////////////// … … 298 298 299 299 // get channel base address 300 base = tty_ptr + MTTY_SPAN * channel;300 base = tty_ptr; 301 301 302 302 // get extended pointer on TTY registers
Note: See TracChangeset
for help on using the changeset viewer.