summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-09 23:30:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-09 23:30:02 +0000
commit693b5b8850764abdaefc76938eaa155d0e4447ef (patch)
treecfb10febeed969cd2903509fb5045fab887ff298 /c/src
parentAdded new baud rate to number function and default serial probe routine. (diff)
downloadrtems-693b5b8850764abdaefc76938eaa155d0e4447ef.tar.bz2
Switched to default probe routine.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libchip/serial/mc68681.c19
-rw-r--r--c/src/libchip/serial/mc68681.c19
2 files changed, 4 insertions, 34 deletions
diff --git a/c/src/lib/libchip/serial/mc68681.c b/c/src/lib/libchip/serial/mc68681.c
index ade398bb06..f95be61d15 100644
--- a/c/src/lib/libchip/serial/mc68681.c
+++ b/c/src/lib/libchip/serial/mc68681.c
@@ -33,7 +33,7 @@
console_fns mc68681_fns =
{
- mc68681_probe, /* deviceProbe */
+ libchip_serial_default_probe, /* deviceProbe */
mc68681_open, /* deviceFirstOpen */
mc68681_flush, /* deviceLastClose */
NULL, /* deviceRead */
@@ -46,7 +46,7 @@ console_fns mc68681_fns =
console_fns mc68681_fns_polled =
{
- mc68681_probe, /* deviceProbe */
+ libchip_serial_default_probe, /* deviceProbe */
mc68681_open, /* deviceFirstOpen */
mc68681_close, /* deviceLastClose */
mc68681_inbyte_nonblocking_polled, /* deviceRead */
@@ -64,21 +64,6 @@ extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
*/
/*
- * mc68681_probe
- *
- * Default probe routine which simply say the port is present.
- */
-
-MC68681_STATIC boolean mc68681_probe(int minor)
-{
- /*
- * If the configuration dependent probe has located the device then
- * assume it is there
- */
- return(TRUE);
-}
-
-/*
* mc68681_baud_rate
*
* This routine returns the proper ACR bit and baud rate field values
diff --git a/c/src/libchip/serial/mc68681.c b/c/src/libchip/serial/mc68681.c
index ade398bb06..f95be61d15 100644
--- a/c/src/libchip/serial/mc68681.c
+++ b/c/src/libchip/serial/mc68681.c
@@ -33,7 +33,7 @@
console_fns mc68681_fns =
{
- mc68681_probe, /* deviceProbe */
+ libchip_serial_default_probe, /* deviceProbe */
mc68681_open, /* deviceFirstOpen */
mc68681_flush, /* deviceLastClose */
NULL, /* deviceRead */
@@ -46,7 +46,7 @@ console_fns mc68681_fns =
console_fns mc68681_fns_polled =
{
- mc68681_probe, /* deviceProbe */
+ libchip_serial_default_probe, /* deviceProbe */
mc68681_open, /* deviceFirstOpen */
mc68681_close, /* deviceLastClose */
mc68681_inbyte_nonblocking_polled, /* deviceRead */
@@ -64,21 +64,6 @@ extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
*/
/*
- * mc68681_probe
- *
- * Default probe routine which simply say the port is present.
- */
-
-MC68681_STATIC boolean mc68681_probe(int minor)
-{
- /*
- * If the configuration dependent probe has located the device then
- * assume it is there
- */
- return(TRUE);
-}
-
-/*
* mc68681_baud_rate
*
* This routine returns the proper ACR bit and baud rate field values