diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-09 23:30:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-09 23:30:02 +0000 |
commit | 693b5b8850764abdaefc76938eaa155d0e4447ef (patch) | |
tree | cfb10febeed969cd2903509fb5045fab887ff298 /c/src/lib/libchip/serial | |
parent | Added new baud rate to number function and default serial probe routine. (diff) | |
download | rtems-693b5b8850764abdaefc76938eaa155d0e4447ef.tar.bz2 |
Switched to default probe routine.
Diffstat (limited to 'c/src/lib/libchip/serial')
-rw-r--r-- | c/src/lib/libchip/serial/mc68681.c | 19 |
1 files changed, 2 insertions, 17 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 |