diff options
author | phk <phk@FreeBSD.org> | 1999-05-08 14:36:48 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-05-08 14:36:48 +0000 |
commit | 23385f9acd8c1f141547e790efb244179bb22a3d (patch) | |
tree | d8de250716d866db7d6e79901e53f2c23d3cd776 | |
parent | 41db63d93aff1cb9a9b829a9b4cf815100d50951 (diff) | |
download | FreeBSD-src-23385f9acd8c1f141547e790efb244179bb22a3d.zip FreeBSD-src-23385f9acd8c1f141547e790efb244179bb22a3d.tar.gz |
Add compat hooks for DiskOnChip2000 driver.
Minor change to loran driver
-rw-r--r-- | sys/i386/isa/isa_compat.h | 7 | ||||
-rw-r--r-- | 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 b33f3ba..4615b38 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 cef3f5a..a4a4729 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; }; |