1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

- If APM_BROKEN_STATCLOCK is defined, make sure the statcloock is

disabled, don't rely on the flags to set it.
This commit is contained in:
Nate Williams 1997-10-22 23:04:07 +00:00
parent 7a54ede12f
commit 7dca87cc4b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30650
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,7 @@
*
* Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
* $Id: apm.c,v 1.59 1997/06/19 00:25:03 wollman Exp $
* $Id: apm.c,v 1.60 1997/09/21 21:33:10 gibbs Exp $
*/
#include <sys/param.h>
@ -592,7 +592,9 @@ apmprobe(struct isa_device *dvp)
printf("apm: 32-bit connection error.\n");
return 0;
}
#ifndef APM_BROKEN_STATCLOCK
if (dvp->id_flags & 0x20)
#endif
statclock_disable = 1;
return -1;
}

View File

@ -15,7 +15,7 @@
*
* Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
* $Id: apm.c,v 1.59 1997/06/19 00:25:03 wollman Exp $
* $Id: apm.c,v 1.60 1997/09/21 21:33:10 gibbs Exp $
*/
#include <sys/param.h>
@ -592,7 +592,9 @@ apmprobe(struct isa_device *dvp)
printf("apm: 32-bit connection error.\n");
return 0;
}
#ifndef APM_BROKEN_STATCLOCK
if (dvp->id_flags & 0x20)
#endif
statclock_disable = 1;
return -1;
}