blob: 063a594ddb023874cccacf11b5980c51e250aa56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/* $NetBSD: spicvar.h,v 1.2 2006/06/20 15:35:11 jmcneill Exp $ */
#include <dev/sysmon/sysmonvar.h>
struct spic_softc {
struct device sc_dev;
bus_space_tag_t sc_iot;
bus_space_handle_t sc_ioh;
struct callout sc_poll;
int sc_buttons;
char sc_enabled;
struct device *sc_wsmousedev;
#define SPIC_PSWITCH_LID 0
#define SPIC_PSWITCH_SUSPEND 1
#define SPIC_PSWITCH_HIBERNATE 2
#define SPIC_NPSWITCH 3
struct sysmon_pswitch sc_smpsw[SPIC_NPSWITCH];
};
void spic_attach(struct spic_softc *);
int spic_intr(void *);
|