acpi_cpu.c (3e759f36810131159d3b431a39321892a7e5d167) acpi_cpu.c (3273b0052350a01f85ee60a6a2e31adb31d4a5a6)
1/*-
2 * Copyright (c) 2001 Michael Smith
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

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

111};
112
113static driver_t acpi_cpu_driver = {
114 "acpi_cpu",
115 acpi_cpu_methods,
116 sizeof(struct acpi_cpu_softc),
117};
118
1/*-
2 * Copyright (c) 2001 Michael Smith
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

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

111};
112
113static driver_t acpi_cpu_driver = {
114 "acpi_cpu",
115 acpi_cpu_methods,
116 sizeof(struct acpi_cpu_softc),
117};
118
119devclass_t acpi_cpu_devclass;
119static devclass_t acpi_cpu_devclass;
120DRIVER_MODULE(acpi_cpu, acpi, acpi_cpu_driver, acpi_cpu_devclass, 0, 0);
121
122static int
123acpi_cpu_probe(device_t dev)
124{
125 if (!acpi_disabled("cpu") &&
126 (acpi_get_type(dev) == ACPI_TYPE_PROCESSOR)) {
127 device_set_desc(dev, "CPU"); /* XXX get more verbose description? */

--- 266 unchanged lines hidden ---
120DRIVER_MODULE(acpi_cpu, acpi, acpi_cpu_driver, acpi_cpu_devclass, 0, 0);
121
122static int
123acpi_cpu_probe(device_t dev)
124{
125 if (!acpi_disabled("cpu") &&
126 (acpi_get_type(dev) == ACPI_TYPE_PROCESSOR)) {
127 device_set_desc(dev, "CPU"); /* XXX get more verbose description? */

--- 266 unchanged lines hidden ---