diff options
author | 2007-04-09 20:03:02 +0000 | |
---|---|---|
committer | 2007-04-09 20:03:02 +0000 | |
commit | 1d19b741975a59d155b5142de40dffef375a2f21 (patch) | |
tree | a8c654453077cca9d38447bcae534292c162939d | |
parent | Seperate rtc(4) code out into its own file. Add support for catching the (diff) | |
download | wireguard-openbsd-1d19b741975a59d155b5142de40dffef375a2f21.tar.xz wireguard-openbsd-1d19b741975a59d155b5142de40dffef375a2f21.zip |
Unbreak the tree.
-rw-r--r-- | sys/arch/sparc64/dev/rtc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/rtc.c b/sys/arch/sparc64/dev/rtc.c index 47b85cb3085..11aefe64fa6 100644 --- a/sys/arch/sparc64/dev/rtc.c +++ b/sys/arch/sparc64/dev/rtc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtc.c,v 1.1 2007/04/09 19:59:06 kettenis Exp $ */ +/* $OpenBSD: rtc.c,v 1.2 2007/04/09 20:03:02 kettenis Exp $ */ /* * Copyright (c) 1992, 1993 @@ -159,8 +159,7 @@ rtc_attach(struct device *parent, struct device *self, void *aux) * Turn interrupts off, just in case. (Although they shouldn't * be wired to an interrupt controller on sparcs). */ - rtc_write_reg(sc->sc_iot, sc->sc_ioh, - MC_REGB, MC_REGB_BINARY | MC_REGB_24HR); + rtc_write_reg(sc, MC_REGB, MC_REGB_BINARY | MC_REGB_24HR); /* * On ds1287 models (which really are ns87317 chips), the |