Move sys/dev/tc/mcclockvar.h -> sys/dev/dec/mcclockvar.h.

Update pmax clock code.
This commit is contained in:
jonathan 1997-07-22 07:51:33 +00:00
parent 716747aa72
commit 787738a4f7
3 changed files with 6 additions and 47 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mcclock.c,v 1.2 1997/07/22 04:50:02 jonathan Exp $ */
/* $NetBSD: mcclock.c,v 1.3 1997/07/22 07:51:36 jonathan Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -29,7 +29,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: mcclock.c,v 1.2 1997/07/22 04:50:02 jonathan Exp $");
__KERNEL_RCSID(0, "$NetBSD: mcclock.c,v 1.3 1997/07/22 07:51:36 jonathan Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -37,7 +37,7 @@ __KERNEL_RCSID(0, "$NetBSD: mcclock.c,v 1.2 1997/07/22 04:50:02 jonathan Exp $")
#include <sys/device.h>
#include <dev/dec/clockvar.h>
#include <dev/tc/mcclockvar.h>
#include <dev/dec/mcclockvar.h>
#include <dev/ic/mc146818reg.h>
struct cfdriver clock_cd = {

View File

@ -1,4 +1,4 @@
/* $NetBSD: mcclock_ioasic.c,v 1.2 1997/07/22 04:50:04 jonathan Exp $ */
/* $NetBSD: mcclock_ioasic.c,v 1.3 1997/07/22 07:51:39 jonathan Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -29,7 +29,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: mcclock_ioasic.c,v 1.2 1997/07/22 04:50:04 jonathan Exp $");
__KERNEL_RCSID(0, "$NetBSD: mcclock_ioasic.c,v 1.3 1997/07/22 07:51:39 jonathan Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -38,7 +38,7 @@ __KERNEL_RCSID(0, "$NetBSD: mcclock_ioasic.c,v 1.2 1997/07/22 04:50:04 jonathan
#include <machine/autoconf.h>
#include <dev/dec/clockvar.h>
#include <dev/tc/mcclockvar.h>
#include <dev/dec/mcclockvar.h>
#include <dev/ic/mc146818reg.h>
#include <dev/tc/tcreg.h>
#include <dev/tc/tcvar.h>

View File

@ -1,41 +0,0 @@
/* $NetBSD: mcclockvar.h,v 1.4 1997/06/22 08:02:19 jonathan Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
* All rights reserved.
*
* Author: Chris G. Demetriou
*
* Permission to use, copy, modify and distribute this software and
* its documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
*
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
*
* Carnegie Mellon requests users of this software to return to
*
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
*
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*/
struct mcclock_softc {
struct device sc_dev;
const struct mcclock_busfns *sc_busfns;
};
struct mcclock_busfns {
void (*mc_bf_write) __P((struct mcclock_softc *, u_int, u_int));
u_int (*mc_bf_read) __P((struct mcclock_softc *, u_int));
};
void mcclock_attach __P((struct mcclock_softc *,
const struct mcclock_busfns *));