diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-02-05 04:09:42 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-02-05 04:09:42 +0000 |
commit | 8db636ec47b8a7da799dedada1afff35831baa0e (patch) | |
tree | 90b52fad5e4d63a92f2f4a9ea29e545506e55ab5 /sys | |
parent | e71081e262af00515e5bd514d9ff1465cc4c0e63 (diff) |
do not comprobe() that hoses it
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/gsc/com_gsc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/hppa/gsc/com_gsc.c b/sys/arch/hppa/gsc/com_gsc.c index ea7a3363a26..4ec58bd5233 100644 --- a/sys/arch/hppa/gsc/com_gsc.c +++ b/sys/arch/hppa/gsc/com_gsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_gsc.c,v 1.10 2002/02/03 01:47:54 mickey Exp $ */ +/* $OpenBSD: com_gsc.c,v 1.11 2002/02/05 04:09:41 mickey Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -67,9 +67,10 @@ com_gsc_probe(parent, match, aux) if (ga->ga_type.iodc_type != HPPA_TYPE_FIO || (ga->ga_type.iodc_sv_model != HPPA_FIO_GRS232 && (ga->ga_type.iodc_sv_model != HPPA_FIO_RS232))) - return 0; + return (0); - return comprobe1(ga->ga_iot, ga->ga_hpa + IOMOD_DEVOFFSET); + return (1); + /* HOZER comprobe1(ga->ga_iot, ga->ga_hpa + IOMOD_DEVOFFSET); */ } void |