diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-05-08 21:59:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-05-08 21:59:57 +0000 |
commit | c60925a8da6f5ba6b3c5a172c87f11377364205e (patch) | |
tree | 95f9bb1dd0b2b987e34b70d89d19f31684265de3 /sys/arch/loongson/include/autoconf.h | |
parent | 82e9f80967a1e3668ead006f748d60ca2293f5b9 (diff) |
Huge work-in-progress commit to support Loongson 2E-based evaluation boards
with a VIA 686 southbridge.
Features:
- 686 setup code (no thanks to PMON for not initializing the beast).
- work in progress ISA interrupt handling code.
- support for vga(4) compatible devices as console, in PC-compatible text mode.
- move legacy (ISA) support code out of bonito(4) to make things clearer.
- support more than 256MB on 2E-based systems.
Tested on a generic 2E-based evaluation board by someone who wishes to remain
anonymous; you know who you are, thank you very much for testing.
Diffstat (limited to 'sys/arch/loongson/include/autoconf.h')
-rw-r--r-- | sys/arch/loongson/include/autoconf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/autoconf.h b/sys/arch/loongson/include/autoconf.h index f4b61339d84..0a347e49020 100644 --- a/sys/arch/loongson/include/autoconf.h +++ b/sys/arch/loongson/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.6 2010/02/16 21:31:35 miod Exp $ */ +/* $OpenBSD: autoconf.h,v 1.7 2010/05/08 21:59:56 miod Exp $ */ /* * Copyright (c) 2001-2003 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -36,6 +36,7 @@ #include <machine/bus.h> struct bonito_config; +struct mips_isa_chipset; /* * List of legacy I/O ranges. @@ -54,6 +55,7 @@ struct platform { char *product; const struct bonito_config *bonito_config; + struct mips_isa_chipset *isa_chipset; const struct legacy_io_range *legacy_io_ranges; void (*setup)(void); @@ -65,6 +67,7 @@ struct platform { }; extern const struct platform *sys_platform; +extern uint loongson_ver; struct mainbus_attach_args { const char *maa_name; |