Deleted Added
full compact
dpms.c (197383) dpms.c (197444)
1/*-
2 * Copyright (c) 2008 Yahoo!, Inc.
3 * All rights reserved.
4 * Written by: John Baldwin <jhb@FreeBSD.org>
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:

--- 45 unchanged lines hidden (view full) ---

54 * SUCH DAMAGE.
55 */
56
57/*
58 * Support for managing the display via DPMS for suspend/resume.
59 */
60
61#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2008 Yahoo!, Inc.
3 * All rights reserved.
4 * Written by: John Baldwin <jhb@FreeBSD.org>
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:

--- 45 unchanged lines hidden (view full) ---

54 * SUCH DAMAGE.
55 */
56
57/*
58 * Support for managing the display via DPMS for suspend/resume.
59 */
60
61#include <sys/cdefs.h>
62__FBSDID("$FreeBSD: head/sys/dev/dpms/dpms.c 197383 2009-09-21 08:17:57Z delphij $");
62__FBSDID("$FreeBSD: head/sys/dev/dpms/dpms.c 197444 2009-09-23 20:49:14Z jkim $");
63
64#include <sys/param.h>
65#include <sys/bus.h>
66#include <sys/kernel.h>
67#include <sys/libkern.h>
68#include <sys/module.h>
69
63
64#include <sys/param.h>
65#include <sys/bus.h>
66#include <sys/kernel.h>
67#include <sys/libkern.h>
68#include <sys/module.h>
69
70#include <dev/x86bios/x86bios.h>
70#include <compat/x86bios/x86bios.h>
71
72/*
73 * VESA DPMS States
74 */
75#define DPMS_ON 0x00
76#define DPMS_STANDBY 0x01
77#define DPMS_SUSPEND 0x02
78#define DPMS_OFF 0x04

--- 153 unchanged lines hidden ---
71
72/*
73 * VESA DPMS States
74 */
75#define DPMS_ON 0x00
76#define DPMS_STANDBY 0x01
77#define DPMS_SUSPEND 0x02
78#define DPMS_OFF 0x04

--- 153 unchanged lines hidden ---