diff options
author | 2005-01-31 21:25:20 +0000 | |
---|---|---|
committer | 2005-01-31 21:25:20 +0000 | |
commit | bce3e5a688097c00c74377943f2d711db91426a5 (patch) | |
tree | b073473703cc3535f103a5943f7c75a9dc574a9b | |
parent | Simply use the ethernet source address of the request as new ethernet (diff) | |
download | wireguard-openbsd-bce3e5a688097c00c74377943f2d711db91426a5.tar.xz wireguard-openbsd-bce3e5a688097c00c74377943f2d711db91426a5.zip |
Move md_clk_attach() prototype to mips64/dev/clockvar.h.
ok pefo@
-rw-r--r-- | sys/arch/mips64/dev/clockvar.h | 4 | ||||
-rw-r--r-- | sys/arch/mips64/mips64/clock.c | 3 | ||||
-rw-r--r-- | sys/arch/sgi/sgi/clock_md.c | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/mips64/dev/clockvar.h b/sys/arch/mips64/dev/clockvar.h index 5b6bd14c5a5..de485e34fba 100644 --- a/sys/arch/mips64/dev/clockvar.h +++ b/sys/arch/mips64/dev/clockvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: clockvar.h,v 1.2 2004/08/10 20:28:13 deraadt Exp $ */ +/* $OpenBSD: clockvar.h,v 1.3 2005/01/31 21:25:20 grange Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -73,3 +73,5 @@ struct clock_softc { bus_space_handle_t sc_clk_h; void *ih; }; + +void md_clk_attach(struct device *, struct device *, void *); diff --git a/sys/arch/mips64/mips64/clock.c b/sys/arch/mips64/mips64/clock.c index b15f58d27f1..9dc95536e24 100644 --- a/sys/arch/mips64/mips64/clock.c +++ b/sys/arch/mips64/mips64/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.9 2004/10/20 12:49:15 pefo Exp $ */ +/* $OpenBSD: clock.c,v 1.10 2005/01/31 21:25:21 grange Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -46,7 +46,6 @@ void clockattach(struct device *, struct device *, void *); intrmask_t clock_int5_dummy(intrmask_t, struct trap_frame *); intrmask_t clock_int5(intrmask_t, struct trap_frame *); void clock_int5_init(struct clock_softc *); -void md_clk_attach(struct device *, struct device *, void *); struct cfdriver clock_cd = { NULL, "clock", DV_DULL, NULL, 0 diff --git a/sys/arch/sgi/sgi/clock_md.c b/sys/arch/sgi/sgi/clock_md.c index f1c8b9d9f03..9d1dff07dfa 100644 --- a/sys/arch/sgi/sgi/clock_md.c +++ b/sys/arch/sgi/sgi/clock_md.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock_md.c,v 1.7 2004/10/20 12:49:15 pefo Exp $ */ +/* $OpenBSD: clock_md.c,v 1.8 2005/01/31 21:25:21 grange Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -55,8 +55,6 @@ struct cfattach clock_xbowmux_ca = { }; -void md_clk_attach(struct device *parent, struct device *self, void *aux); - void ds1687_get(struct clock_softc *, time_t, struct tod_time *); void ds1687_set(struct clock_softc *, struct tod_time *); |