1 /* $NetBSD: spicvar.h,v 1.5 2008/05/04 16:13:35 xtraeme Exp $ */
3 #include <dev/sysmon/sysmonvar.h>
8 bus_space_tag_t sc_iot
;
9 bus_space_handle_t sc_ioh
;
11 struct callout sc_poll
;
16 device_t sc_wsmousedev
;
18 #define SPIC_PSWITCH_LID 0
19 #define SPIC_PSWITCH_SUSPEND 1
20 #define SPIC_PSWITCH_HIBERNATE 2
21 #define SPIC_NPSWITCH 3
22 struct sysmon_pswitch sc_smpsw
[SPIC_NPSWITCH
];
25 void spic_attach(struct spic_softc
*);
26 bool spic_suspend(device_t
, pmf_qual_t
);
27 bool spic_resume(device_t
, pmf_qual_t
);
29 int spic_intr(void *);