Date: Mon, 4 May 2009 08:36:47 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r191780 - head/sys/i386/bios Message-ID: <200905040836.n448alNp038683@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Mon May 4 08:36:47 2009 New Revision: 191780 URL: http://svn.freebsd.org/changeset/base/191780 Log: There is no atrtc driver in pc98, so hide atrtcclock_disable variable usage in APM driver for this platform. This should fix pc98 build. Modified: head/sys/i386/bios/apm.c Modified: head/sys/i386/bios/apm.c ============================================================================== --- head/sys/i386/bios/apm.c Mon May 4 08:06:52 2009 (r191779) +++ head/sys/i386/bios/apm.c Mon May 4 08:36:47 2009 (r191780) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905040836.n448alNp038683>