acpi_machdep.c (0c21a60cf61c61c3a136a803b9c7645c128c6982) acpi_machdep.c (fbbb13f962e52bf547c5a901fe6fbc4390f6be54)
1/*-
2 * Copyright (c) 2001 Mitsuru IWASAKI
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

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

63
64 sc = device_get_softc(dev);
65
66 acpi_apm_init(sc);
67
68 if (intr_model != ACPI_INTR_PIC)
69 acpi_SetIntrModel(intr_model);
70
1/*-
2 * Copyright (c) 2001 Mitsuru IWASAKI
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

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

63
64 sc = device_get_softc(dev);
65
66 acpi_apm_init(sc);
67
68 if (intr_model != ACPI_INTR_PIC)
69 acpi_SetIntrModel(intr_model);
70
71 SYSCTL_ADD_UINT(&sc->acpi_sysctl_ctx,
71 SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx,
72 SYSCTL_CHILDREN(sc->acpi_sysctl_tree), OID_AUTO,
73 "reset_video", CTLFLAG_RW, &acpi_reset_video, 0,
74 "Call the VESA reset BIOS vector on the resume path");
75
76 return (0);
77}
78
79void

--- 308 unchanged lines hidden ---
72 SYSCTL_CHILDREN(sc->acpi_sysctl_tree), OID_AUTO,
73 "reset_video", CTLFLAG_RW, &acpi_reset_video, 0,
74 "Call the VESA reset BIOS vector on the resume path");
75
76 return (0);
77}
78
79void

--- 308 unchanged lines hidden ---