diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2007-04-22 20:52:28 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2007-04-22 20:52:28 +0000 |
commit | 6e8ae5cffc66ba546944fe0870020a092bdf7d81 (patch) | |
tree | 1eeb4489200254ee17ce8b3814cb19ee2043c63e /sys/dev/acpi/acpidev.h | |
parent | ef87ec7354a7ae7113394a2113b2577f6b76d24c (diff) |
Add a TAILQ, aml_nodelist, of devices depending on the dock device to
struct acpidock_softc and stuff devices into it during attach.
This list is not yet used, but I have code ready to handle the ACPI side
of this. However, it still doesn't handle that there may in fact be
multiple dock devices in a machine (e.g. on pre-60 series ThinkPads), but
I need to figure out how to do so properly first. In the mean time I want
this in the tree so I don't lose the code.
Diffstat (limited to 'sys/dev/acpi/acpidev.h')
-rw-r--r-- | sys/dev/acpi/acpidev.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpidev.h b/sys/dev/acpi/acpidev.h index 0193bf8c03c..5f91459af96 100644 --- a/sys/dev/acpi/acpidev.h +++ b/sys/dev/acpi/acpidev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpidev.h,v 1.21 2007/03/22 16:55:31 deraadt Exp $ */ +/* $OpenBSD: acpidev.h,v 1.22 2007/04/22 20:52:27 mk Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> @@ -294,6 +294,9 @@ struct acpidock_softc { struct acpi_softc *sc_acpi; struct aml_node *sc_devnode; + TAILQ_HEAD(, aml_nodelist) sc_deps_h; + struct aml_nodelist *sc_deps; + struct ksensor sc_sens[1]; struct ksensordev sc_sensdev; |