diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2004-10-11 05:42:12 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2004-10-11 05:42:12 +0000 |
| commit | 7f35f90eae300092b6cd668fab87f4db1f986a56 (patch) | |
| tree | 8f158ef904e3347ec07442928ab50bd5bf09da1c /sys | |
| parent | 31ad3b8802c0ba40f91664c225a580f309e51609 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/i386/acpica/acpi_machdep.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c index e1fd27cbea195..f7b77f4474789 100644 --- a/sys/i386/acpica/acpi_machdep.c +++ b/sys/i386/acpica/acpi_machdep.c @@ -333,22 +333,22 @@ acpi_SetDefaultIntrModel(int model) int acpi_machdep_quirks(int *quirks) { - char *va; - int year; + char *va; + int year; - /* BIOS address 0xffff5 contains the date in the format mm/dd/yy. */ - va = pmap_mapdev(0xffff0, 16); - sscanf(va + 11, "%2d", &year); - pmap_unmapdev((vm_offset_t)va, 16); + /* BIOS address 0xffff5 contains the date in the format mm/dd/yy. */ + va = pmap_mapdev(0xffff0, 16); + sscanf(va + 11, "%2d", &year); + pmap_unmapdev((vm_offset_t)va, 16); - /* - * Date must be >= 1/1/1999 or we don't trust ACPI. Note that this - * check must be changed by my 114th birthday. - */ - if (year > 90 && year < 99) - *quirks = ACPI_Q_BROKEN; + /* + * Date must be >= 1/1/1999 or we don't trust ACPI. Note that this + * check must be changed by my 114th birthday. + */ + if (year > 90 && year < 99) + *quirks = ACPI_Q_BROKEN; - return (0); + return (0); } void |
