diff options
author | mav <mav@FreeBSD.org> | 2009-05-04 08:36:47 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-05-04 08:36:47 +0000 |
commit | 92d6358872d13b55a1ffe85735ca7e1131e7790f (patch) | |
tree | 8724bdcc2639c7df961c95eb807e6944dc465e0b /sys/i386/bios | |
parent | 3509620e9e39fa7d520a65271ee86a83848412df (diff) | |
download | FreeBSD-src-92d6358872d13b55a1ffe85735ca7e1131e7790f.zip FreeBSD-src-92d6358872d13b55a1ffe85735ca7e1131e7790f.tar.gz |
There is no atrtc driver in pc98, so hide atrtcclock_disable variable usage
in APM driver for this platform. This should fix pc98 build.
Diffstat (limited to 'sys/i386/bios')
-rw-r--r-- | sys/i386/bios/apm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index 0d8532f..9449508 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -1155,8 +1155,10 @@ apm_attach(device_t dev) mtx_init(&sc->mtx, device_get_nameunit(dev), "apm", MTX_DEF); cv_init(&sc->cv, "cbb cv"); +#ifdef PC98 if (device_get_flags(dev) & 0x20) atrtcclock_disable = 1; +#endif sc->initialized = 0; |