diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-02-05 20:51:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-02-05 20:51:23 +0000 |
commit | 5dd3a9bf5326194c7328b0da0eb256cdb3056ee9 (patch) | |
tree | 9105413cd2b1455b29a571a6c4252de50fe37f19 /sys/arch/loongson/dev/bonitovar.h | |
parent | a0e63efdb88447db80c33fccc16f89ad6b0723dc (diff) |
Blind support for the EMTEC Gdium Liberty netbook. Per-platform configuration
is moved to specific files, and a pointer to the key configuration structure
is now kept in struct sys_config.
bonito(4) interrupt handling is split, to allow PCI+Legacy interrupt systems
(Lemote Yeelong) and PCI-only Legacy-free systems (Gdium) to coexist
peacefully.
Diffstat (limited to 'sys/arch/loongson/dev/bonitovar.h')
-rw-r--r-- | sys/arch/loongson/dev/bonitovar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/loongson/dev/bonitovar.h b/sys/arch/loongson/dev/bonitovar.h index 4e184740808..061950cfa4f 100644 --- a/sys/arch/loongson/dev/bonitovar.h +++ b/sys/arch/loongson/dev/bonitovar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bonitovar.h,v 1.1 2009/12/25 21:28:23 miod Exp $ */ +/* $OpenBSD: bonitovar.h,v 1.2 2010/02/05 20:51:22 miod Exp $ */ /* $NetBSD: bonitovar.h,v 1.4 2008/04/28 20:23:28 martin Exp $ */ /*- @@ -45,6 +45,9 @@ struct bonito_config { uint32_t bc_intEdge; uint32_t bc_intSteer; uint32_t bc_intPol; + + /* PCI Interrupt Assignment for the first bus */ + int (*bc_intr_map)(int, int, int); }; struct bonito_softc { |