From c1023c75e92882327052880e7858bc1199a78767 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 8 May 1999 14:36:48 +0000 Subject: [PATCH] Add compat hooks for DiskOnChip2000 driver. Minor change to loran driver --- sys/i386/isa/isa_compat.h | 7 ++++++- sys/i386/isa/loran.c | 8 +++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/sys/i386/isa/isa_compat.h b/sys/i386/isa/isa_compat.h index b33f3ba1b63..4615b38841e 100644 --- a/sys/i386/isa/isa_compat.h +++ b/sys/i386/isa/isa_compat.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: isa_compat.h,v 1.3 1999/04/18 15:50:35 peter Exp $ + * $Id: isa_compat.h,v 1.4 1999/04/24 04:21:42 kato Exp $ */ #include "vt.h" @@ -88,6 +88,7 @@ #include "isic.h" #include "tina.h" #include "ppc.h" +#include "fla.h" #ifdef PC98 #include "bs.h" #endif @@ -160,6 +161,7 @@ extern struct isa_driver pcfdriver; extern struct isa_driver isicdriver; extern struct isa_driver tinadriver; extern struct isa_driver ppcdriver; +extern struct isa_driver fladriver; #ifdef PC98 extern struct isa_driver bsdriver; #endif @@ -258,6 +260,9 @@ static struct old_isa_driver old_drivers[] = { #if NWT > 0 { DRIVER_TYPE_BIO, &wtdriver }, #endif +#if NFLA > 0 + { DRIVER_TYPE_MISC, &fladriver }, +#endif /* NET */ diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c index cef3f5a9db5..a4a4729d039 100644 --- a/sys/i386/isa/loran.c +++ b/sys/i386/isa/loran.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: loran.c,v 1.16 1999/04/28 10:52:39 dt Exp $ + * $Id: loran.c,v 1.17 1999/05/06 22:13:04 peter Exp $ * * This device-driver helps the userland controlprogram for a LORAN-C * receiver avoid monopolizing the CPU. @@ -58,12 +58,10 @@ struct datapoint { dphead_t *home; /* Fields used only in userland */ + void (*proc)(struct datapoint *); void *ident; int index; - double ival; - double qval; - double sval; - double mval; + char *name; };