Don't disable the RX/TX on close in polled mode.

Fixed a comment.
This commit is contained in:
Joel Sherrill
1998-08-13 15:52:40 +00:00
parent 579fc6a3a3
commit 70502bc4c5
2 changed files with 6 additions and 4 deletions

View File

@@ -330,8 +330,10 @@ MC68681_STATIC int mc68681_close(
* Disable interrupts from this channel and then disable it totally.
*/
#if 0
(*setReg)( pMC68681_port, MC68681_COMMAND, MC68681_MODE_REG_DISABLE_TX );
(*setReg)( pMC68681_port, MC68681_COMMAND, MC68681_MODE_REG_DISABLE_RX );
#endif
return(RTEMS_SUCCESSFUL);
}
@@ -728,7 +730,7 @@ MC68681_STATIC unsigned int mc68681_build_imr(
/*
* mc68681_enable_interrupts
*
* This function initializes the hardware for this port to use interrupts.
* This function enables specific interrupt sources on the DUART.
*/
MC68681_STATIC void mc68681_enable_interrupts(
@@ -752,4 +754,3 @@ MC68681_STATIC void mc68681_enable_interrupts(
mc68681_build_imr(minor, imr_mask)
);
}

View File

@@ -330,8 +330,10 @@ MC68681_STATIC int mc68681_close(
* Disable interrupts from this channel and then disable it totally.
*/
#if 0
(*setReg)( pMC68681_port, MC68681_COMMAND, MC68681_MODE_REG_DISABLE_TX );
(*setReg)( pMC68681_port, MC68681_COMMAND, MC68681_MODE_REG_DISABLE_RX );
#endif
return(RTEMS_SUCCESSFUL);
}
@@ -728,7 +730,7 @@ MC68681_STATIC unsigned int mc68681_build_imr(
/*
* mc68681_enable_interrupts
*
* This function initializes the hardware for this port to use interrupts.
* This function enables specific interrupt sources on the DUART.
*/
MC68681_STATIC void mc68681_enable_interrupts(
@@ -752,4 +754,3 @@ MC68681_STATIC void mc68681_enable_interrupts(
mc68681_build_imr(minor, imr_mask)
);
}