summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-18 18:35:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-18 18:35:07 +0000
commit3652929e616f7c1ee75ecba6cafddb0a53d563fc (patch)
treeda78b388f220b089aa3ffa9cc2d24a231c42e345
parent91f16d5c4085b4153d2c8fee7951f8b94ddb5683 (diff)
downloadrtems-3652929e616f7c1ee75ecba6cafddb0a53d563fc.tar.bz2
Removed use of data port for z8530.
Tested all four ports. MC68681 as both polled and interrupt. Z8530 as polled only.
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/console/config.c14
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c14
2 files changed, 14 insertions, 14 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/console/config.c b/c/src/lib/libbsp/powerpc/dmv177/console/config.c
index ec2f908567..1f5bae0da2 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/console/config.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/console/config.c
@@ -145,6 +145,7 @@ boolean dmv177_z85c30_probe(int minor);
console_tbl Console_Port_Tbl[] = {
#if (0)
+#endif
{
"/dev/com0", /* sDeviceName */
SERIAL_MC68681, /* deviceType */
@@ -183,7 +184,6 @@ console_tbl Console_Port_Tbl[] = {
(unsigned32)dmv177_mc68681_baud_table, /* ulClock */
DMV170_DUART_IRQ /* ulIntVector */
},
-#endif
{
"/dev/com3", /* sDeviceName */
SERIAL_Z85C30, /* deviceType */
@@ -195,11 +195,11 @@ console_tbl Console_Port_Tbl[] = {
(void *)9600, /* baud rate */ /* pDeviceParams */
Z85C30_CTRL_A, /* ulCtrlPort1 */
Z85C30_CTRL_A, /* ulCtrlPort2 */
- Z85C30_DATA_A, /* ulDataPort */
+ 0, /* ulDataPort */
z85c30_get_register, /* getRegister */
z85c30_set_register, /* setRegister */
- z85c30_get_data, /* getData */
- z85c30_set_data, /* setData */
+ NULL, /* getData */
+ NULL, /* setData */
0, /* filled in by probe */ /* ulClock */
DMV170_SCC_IRQ /* ulIntVector */
},
@@ -214,11 +214,11 @@ console_tbl Console_Port_Tbl[] = {
(void *)9600, /* baud rate */ /* pDeviceParams */
Z85C30_CTRL_B, /* ulCtrlPort1 */
Z85C30_CTRL_A, /* ulCtrlPort2 */
- Z85C30_DATA_B, /* ulDataPort */
+ 0, /* ulDataPort */
z85c30_get_register, /* getRegister */
z85c30_set_register, /* setRegister */
- z85c30_get_data, /* getData */
- z85c30_set_data, /* setData */
+ NULL, /* getData */
+ NULL, /* setData */
0, /* filled in by probe */ /* ulClock */
DMV170_SCC_IRQ /* ulIntVector */
}
diff --git a/c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c b/c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c
index ec2f908567..1f5bae0da2 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/console/conscfg.c
@@ -145,6 +145,7 @@ boolean dmv177_z85c30_probe(int minor);
console_tbl Console_Port_Tbl[] = {
#if (0)
+#endif
{
"/dev/com0", /* sDeviceName */
SERIAL_MC68681, /* deviceType */
@@ -183,7 +184,6 @@ console_tbl Console_Port_Tbl[] = {
(unsigned32)dmv177_mc68681_baud_table, /* ulClock */
DMV170_DUART_IRQ /* ulIntVector */
},
-#endif
{
"/dev/com3", /* sDeviceName */
SERIAL_Z85C30, /* deviceType */
@@ -195,11 +195,11 @@ console_tbl Console_Port_Tbl[] = {
(void *)9600, /* baud rate */ /* pDeviceParams */
Z85C30_CTRL_A, /* ulCtrlPort1 */
Z85C30_CTRL_A, /* ulCtrlPort2 */
- Z85C30_DATA_A, /* ulDataPort */
+ 0, /* ulDataPort */
z85c30_get_register, /* getRegister */
z85c30_set_register, /* setRegister */
- z85c30_get_data, /* getData */
- z85c30_set_data, /* setData */
+ NULL, /* getData */
+ NULL, /* setData */
0, /* filled in by probe */ /* ulClock */
DMV170_SCC_IRQ /* ulIntVector */
},
@@ -214,11 +214,11 @@ console_tbl Console_Port_Tbl[] = {
(void *)9600, /* baud rate */ /* pDeviceParams */
Z85C30_CTRL_B, /* ulCtrlPort1 */
Z85C30_CTRL_A, /* ulCtrlPort2 */
- Z85C30_DATA_B, /* ulDataPort */
+ 0, /* ulDataPort */
z85c30_get_register, /* getRegister */
z85c30_set_register, /* setRegister */
- z85c30_get_data, /* getData */
- z85c30_set_data, /* setData */
+ NULL, /* getData */
+ NULL, /* setData */
0, /* filled in by probe */ /* ulClock */
DMV170_SCC_IRQ /* ulIntVector */
}