From 8db6d0d6fb4e692a2fc4081b41b5d487f05bc292 Mon Sep 17 00:00:00 2001 From: glass Date: Wed, 16 Mar 1994 04:35:36 +0000 Subject: [PATCH] do nothing obio_probe_byte() --- sys/arch/sun3/dev/if_le_subr.c | 5 +++-- sys/arch/sun3/dev/obio.c | 10 +++++++++- sys/arch/sun3/sun3/obio.c | 10 +++++++++- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/sys/arch/sun3/dev/if_le_subr.c b/sys/arch/sun3/dev/if_le_subr.c index b1969d1463b4..d904ef039bb6 100644 --- a/sys/arch/sun3/dev/if_le_subr.c +++ b/sys/arch/sun3/dev/if_le_subr.c @@ -28,7 +28,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Header: /cvsroot/src/sys/arch/sun3/dev/Attic/if_le_subr.c,v 1.3 1994/02/23 08:28:42 glass Exp $ + * $Header: /cvsroot/src/sys/arch/sun3/dev/Attic/if_le_subr.c,v 1.4 1994/03/16 04:35:36 glass Exp $ + * gwr: uncomment obio_probe_byte */ #include @@ -111,5 +112,5 @@ int le_machdep_match(parent, cf, args) struct obio_cf_loc *obio_loc = (struct obio_cf_loc *) CFDATA_LOC(cf); le_addr = OBIO_DEFAULT_PARAM(caddr_t, obio_loc->obio_addr, OBIO_AMD_ETHER); - return /* !obio_probe_byte(le_addr)*/ 1; + return !obio_probe_byte(le_addr); } diff --git a/sys/arch/sun3/dev/obio.c b/sys/arch/sun3/dev/obio.c index 0b8e4a8311cd..c17cf57f8902 100644 --- a/sys/arch/sun3/dev/obio.c +++ b/sys/arch/sun3/dev/obio.c @@ -28,7 +28,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Header: /cvsroot/src/sys/arch/sun3/dev/Attic/obio.c,v 1.6 1994/03/01 08:07:15 glass Exp $ + * $Header: /cvsroot/src/sys/arch/sun3/dev/Attic/obio.c,v 1.7 1994/03/16 04:35:37 glass Exp $ + * Added stub for obio_probe_byte() -gwr */ #include #include @@ -153,3 +154,10 @@ caddr_t obio_alloc(obio_addr, obio_size, obio_flags) return (caddr_t) va; } +int +obio_probe_byte(oba) + caddr_t oba; /* OBIO address to probe */ +{ + /* XXX - Not yet... */ + return 0; +} diff --git a/sys/arch/sun3/sun3/obio.c b/sys/arch/sun3/sun3/obio.c index 1416fdf4faca..e98da6e66304 100644 --- a/sys/arch/sun3/sun3/obio.c +++ b/sys/arch/sun3/sun3/obio.c @@ -28,7 +28,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Header: /cvsroot/src/sys/arch/sun3/sun3/obio.c,v 1.6 1994/03/01 08:07:15 glass Exp $ + * $Header: /cvsroot/src/sys/arch/sun3/sun3/obio.c,v 1.7 1994/03/16 04:35:37 glass Exp $ + * Added stub for obio_probe_byte() -gwr */ #include #include @@ -153,3 +154,10 @@ caddr_t obio_alloc(obio_addr, obio_size, obio_flags) return (caddr_t) va; } +int +obio_probe_byte(oba) + caddr_t oba; /* OBIO address to probe */ +{ + /* XXX - Not yet... */ + return 0; +}