mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 16:18:54 -04:00
Match surrounding style, not style(msmith).
This commit is contained in:
parent
31ad3b8802
commit
7f35f90eae
1 changed files with 13 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue