diff options
author | 2007-02-20 23:54:46 +0000 | |
---|---|---|
committer | 2007-02-20 23:54:46 +0000 | |
commit | edb3a9f144111bb81c47280fade1e6932ef1b8dd (patch) | |
tree | add3844db158405913c807f1e185bcaf00647ec7 | |
parent | rename ccb_id to ccb_slot so its more clear what its used for. stash a (diff) | |
download | wireguard-openbsd-edb3a9f144111bb81c47280fade1e6932ef1b8dd.tar.xz wireguard-openbsd-edb3a9f144111bb81c47280fade1e6932ef1b8dd.zip |
It helps to enable hpet... This fixes bnx not working on amd64.
-rw-r--r-- | sys/dev/acpi/acpihpet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpihpet.c b/sys/dev/acpi/acpihpet.c index e15fb032246..8b6ea286b2d 100644 --- a/sys/dev/acpi/acpihpet.c +++ b/sys/dev/acpi/acpihpet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpihpet.c,v 1.3 2007/02/20 22:25:45 marco Exp $ */ +/* $OpenBSD: acpihpet.c,v 1.4 2007/02/20 23:54:46 marco Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -106,6 +106,7 @@ acpihpet_attach(struct device *parent, struct device *self, void *aux) hpet_timecounter.tc_frequency = (u_int32_t)freq; hpet_timecounter.tc_priv = sc; hpet_timecounter.tc_name = sc->sc_dev.dv_xname; + bus_space_write_4(sc->sc_iot, sc->sc_ioh, HPET_CONFIGURATION, 1); tc_init(&hpet_timecounter); #endif } |