|
|
| version 1.3, 2004/05/19 22:52:56 | version 1.4, 2004/05/26 19:10:00 |
|---|---|
| Line 59 static device_t acpi_dev; | Line 59 static device_t acpi_dev; |
| #include <i386/bios/apm.h> | #include <i386/bios/apm.h> |
| #endif | #endif |
| #if 0 | |
| static struct apm_softc apm_softc; | static struct apm_softc apm_softc; |
| static d_open_t apmopen; | static d_open_t apmopen; |
| Line 66 static d_close_t apmclose; | Line 67 static d_close_t apmclose; |
| static d_write_t apmwrite; | static d_write_t apmwrite; |
| static d_ioctl_t apmioctl; | static d_ioctl_t apmioctl; |
| static d_poll_t apmpoll; | static d_poll_t apmpoll; |
| #endif | |
| #define CDEV_MAJOR 39 | #define CDEV_MAJOR 39 |
| static struct cdevsw apm_cdevsw = { | static struct cdevsw apm_cdevsw = { |
| Line 83 static struct cdevsw apm_cdevsw = { | Line 85 static struct cdevsw apm_cdevsw = { |
| }; | }; |
| #if 0 | |
| static int | static int |
| acpi_capm_convert_battstate(struct acpi_battinfo *battp) | acpi_capm_convert_battstate(struct acpi_battinfo *battp) |
| { | { |
| Line 316 apmpoll(dev_t dev, int events, d_thread_ | Line 320 apmpoll(dev_t dev, int events, d_thread_ |
| { | { |
| return (0); | return (0); |
| } | } |
| #endif | |
| static void | static void |
| acpi_capm_init(struct acpi_softc *sc) | acpi_capm_init(struct acpi_softc *sc) |