1 /* $NetBSD: spicvar.h,v 1.4 2008/02/29 06:17:36 dyoung 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_FN_PROTO
);
27 bool spic_resume(device_t PMF_FN_PROTO
);
29 int spic_intr(void *);