Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/asmc/asmcvar.h
| Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | |||||
| /* | /* | ||||
| * Interrupt port. | * Interrupt port. | ||||
| */ | */ | ||||
| #define ASMC_INTPORT_READ(sc) bus_read_1(sc->sc_ioport, 0x1f) | #define ASMC_INTPORT_READ(sc) bus_read_1(sc->sc_ioport, 0x1f) | ||||
| /* Number of keys */ | /* Number of keys */ | ||||
| #define ASMC_NKEYS "#KEY" /* RO; 4 bytes */ | #define ASMC_NKEYS "#KEY" /* RO; 4 bytes */ | ||||
| /* Query the ASMC revision */ | |||||
| #define ASMC_KEY_REV "REV " /* RO: 6 bytes */ | |||||
| /* | /* | ||||
| * Fan control via SMC. | * Fan control via SMC. | ||||
| */ | */ | ||||
| #define ASMC_KEY_FANCOUNT "FNum" /* RO; 1 byte */ | #define ASMC_KEY_FANCOUNT "FNum" /* RO; 1 byte */ | ||||
| #define ASMC_KEY_FANMANUAL "FS! " /* RW; 2 bytes */ | #define ASMC_KEY_FANMANUAL "FS! " /* RW; 2 bytes */ | ||||
| #define ASMC_KEY_FANID "F%dID" /* RO; 16 bytes */ | #define ASMC_KEY_FANID "F%dID" /* RO; 16 bytes */ | ||||
| #define ASMC_KEY_FANSPEED "F%dAc" /* RO; 2 bytes */ | #define ASMC_KEY_FANSPEED "F%dAc" /* RO; 2 bytes */ | ||||
| #define ASMC_KEY_FANMINSPEED "F%dMn" /* RO; 2 bytes */ | #define ASMC_KEY_FANMINSPEED "F%dMn" /* RO; 2 bytes */ | ||||
| ▲ Show 20 Lines • Show All 939 Lines • Show Last 20 Lines | |||||