No empty .Rs/.Re
[netbsd-mini2440.git] / sys / dev / ic / spicvar.h
blob76a1567aaf1199dad04b8b15ec6bdc73f0318033
1 /* $NetBSD: spicvar.h,v 1.5 2008/05/04 16:13:35 xtraeme Exp $ */
3 #include <dev/sysmon/sysmonvar.h>
5 struct spic_softc {
6 device_t sc_dev;
8 bus_space_tag_t sc_iot;
9 bus_space_handle_t sc_ioh;
11 struct callout sc_poll;
13 int sc_buttons;
14 char sc_enabled;
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 *);