regs.cx = 0x0101;
regs.cx = APM_VERSION;
apm_set_ver(self)	struct apm_softc *self;{	struct apmregs regs;	int error;	bzero(&regs, sizeof(regs));	regs.cx = 0x0101;	/* APM Version 1.1 */		if (apm_v11_enabled && (error =	    apmcall(APM_DRIVER_VERSION, APM_DEV_APM_BIOS, &regs)) == 0) {		apm_majver = APM_CONN_MAJOR(&regs);		apm_minver = APM_CONN_MINOR(&regs);	} else {		apm_majver = 1;		apm_minver = 0;	}	printf(": Power Management spec V%d.%d", apm_majver, apm_minver);	if (apm_flags & APM_IDLE_SLOWS) {		/* not relevant much */		DPRINTF((" (slowidle)"));		apm_dobusy = 1;	} else		apm_dobusy = 0;#ifdef DIAGNOSTIC	if (apm_flags & APM_BIOS_PM_DISABLED)		printf(" (BIOS mgmt disabled)");	if (apm_flags & APM_BIOS_PM_DISENGAGED)		printf(" (BIOS managing devices)");#endif	printf("\n");}