Deleted Added
full compact
fdc_acpi.c (135938) fdc_acpi.c (150003)
1/*-
2 * Copyright (c) 2004 Nate Lawson (SDG)
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2004 Nate Lawson (SDG)
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/fdc/fdc_acpi.c 135938 2004-09-29 19:08:34Z jhb $");
28__FBSDID("$FreeBSD: head/sys/dev/fdc/fdc_acpi.c 150003 2005-09-11 18:39:03Z obrien $");
29
30#include <sys/param.h>
31#include <sys/kernel.h>
32#include <sys/bio.h>
33#include <sys/bus.h>
34#include <sys/malloc.h>
35#include <sys/module.h>
36#include <sys/proc.h>
37
29
30#include <sys/param.h>
31#include <sys/kernel.h>
32#include <sys/bio.h>
33#include <sys/bus.h>
34#include <sys/malloc.h>
35#include <sys/module.h>
36#include <sys/proc.h>
37
38#include "acpi.h"
38#include <contrib/dev/acpica/acpi.h>
39#include <dev/acpica/acpivar.h>
40#include <dev/fdc/fdcvar.h>
41
42static int fdc_acpi_probe(device_t dev);
43static int fdc_acpi_attach(device_t dev);
44static int fdc_acpi_probe_children(device_t bus, device_t dev,
45 void *fde);
46static ACPI_STATUS fdc_acpi_probe_child(ACPI_HANDLE h, device_t *dev,

--- 276 unchanged lines hidden ---
39#include <dev/acpica/acpivar.h>
40#include <dev/fdc/fdcvar.h>
41
42static int fdc_acpi_probe(device_t dev);
43static int fdc_acpi_attach(device_t dev);
44static int fdc_acpi_probe_children(device_t bus, device_t dev,
45 void *fde);
46static ACPI_STATUS fdc_acpi_probe_child(ACPI_HANDLE h, device_t *dev,

--- 276 unchanged lines hidden ---