diff options
author | njl <njl@FreeBSD.org> | 2004-10-11 05:42:12 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-10-11 05:42:12 +0000 |
commit | 21bb12fa0a6b8bf204c7b0f599e629f580ee313b (patch) | |
tree | 8f158ef904e3347ec07442928ab50bd5bf09da1c /sys/i386/acpica | |
parent | abd4abd5bde7b89f9bfa1f389c3cd5f5394d9631 (diff) | |
download | FreeBSD-src-21bb12fa0a6b8bf204c7b0f599e629f580ee313b.zip FreeBSD-src-21bb12fa0a6b8bf204c7b0f599e629f580ee313b.tar.gz |
Match surrounding style, not style(msmith).
Diffstat (limited to 'sys/i386/acpica')
-rw-r--r-- | sys/i386/acpica/acpi_machdep.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c index e1fd27c..f7b77f4 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; - - /* 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; - - return (0); + 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); + + /* + * 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); } void |