diff options
Diffstat (limited to 'sys/dev/acpi/acpiec.c')
-rw-r--r-- | sys/dev/acpi/acpiec.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/dev/acpi/acpiec.c b/sys/dev/acpi/acpiec.c index 3fb81862c75..2cb642975e6 100644 --- a/sys/dev/acpi/acpiec.c +++ b/sys/dev/acpi/acpiec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpiec.c,v 1.26 2008/11/06 23:41:28 marco Exp $ */ +/* $OpenBSD: acpiec.c,v 1.27 2009/03/10 20:36:10 jordan Exp $ */ /* * Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org> * @@ -78,31 +78,6 @@ struct aml_node *aml_find_name(struct acpi_softc *, struct aml_node *, #define REG_TYPE_EC 3 -#define ACPIEC_MAX_EVENTS 256 - -struct acpiec_event { - struct aml_node *event; -}; - -struct acpiec_softc { - struct device sc_dev; - - /* command/status register */ - bus_space_tag_t sc_cmd_bt; - bus_space_handle_t sc_cmd_bh; - - /* data register */ - bus_space_tag_t sc_data_bt; - bus_space_handle_t sc_data_bh; - - struct acpi_softc *sc_acpi; - struct aml_node *sc_devnode; - u_int32_t sc_gpe; - struct acpiec_event sc_events[ACPIEC_MAX_EVENTS]; - int sc_gotsci; -}; - - int acpiec_reg(struct acpiec_softc *); struct cfattach acpiec_ca = { |