acpi_timer.c (87e5d3610100e71ea20d162ba8f0bf6260d15090) | acpi_timer.c (3a65df0084658d92c9753f43fab067809157d05d) |
---|---|
1/*- 2 * Copyright (c) 2000, 2001 Michael Smith 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * 27 * $FreeBSD$ 28 */ 29#include "opt_acpi.h" 30#include <sys/param.h> 31#include <sys/bus.h> 32#include <sys/kernel.h> 33#include <sys/sysctl.h> | 1/*- 2 * Copyright (c) 2000, 2001 Michael Smith 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * 27 * $FreeBSD$ 28 */ 29#include "opt_acpi.h" 30#include <sys/param.h> 31#include <sys/bus.h> 32#include <sys/kernel.h> 33#include <sys/sysctl.h> |
34#if __FreeBSD_version >= 500000 |
|
34#include <sys/timetc.h> | 35#include <sys/timetc.h> |
36#else 37#include <sys/time.h> 38#endif |
|
35 36#include <machine/bus_pio.h> 37#include <machine/bus.h> 38#include <machine/resource.h> 39#include <sys/rman.h> 40 41#include "acpi.h" 42 --- 322 unchanged lines hidden --- | 39 40#include <machine/bus_pio.h> 41#include <machine/bus.h> 42#include <machine/resource.h> 43#include <sys/rman.h> 44 45#include "acpi.h" 46 --- 322 unchanged lines hidden --- |