summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/nvram.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k/dev/nvram.c')
-rw-r--r--sys/arch/mvme68k/dev/nvram.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/sys/arch/mvme68k/dev/nvram.c b/sys/arch/mvme68k/dev/nvram.c
index 98edfbb22cb..2cae7e8cdf4 100644
--- a/sys/arch/mvme68k/dev/nvram.c
+++ b/sys/arch/mvme68k/dev/nvram.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvram.c,v 1.12 2004/01/14 20:50:48 miod Exp $ */
+/* $OpenBSD: nvram.c,v 1.13 2004/07/02 17:37:16 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -386,20 +386,7 @@ nvramioctl(dev, cmd, data, flag, p)
/*ARGSUSED*/
int
-nvramread(dev, uio, flags)
- dev_t dev;
- struct uio *uio;
- int flags;
-{
- int unit = minor(dev);
- struct nvramsoftc *sc = (struct nvramsoftc *) nvram_cd.cd_devs[unit];
-
- return (memdevrw(sc->sc_vaddr, sc->sc_len, uio, flags));
-}
-
-/*ARGSUSED*/
-int
-nvramwrite(dev, uio, flags)
+nvramrw(dev, uio, flags)
dev_t dev;
struct uio *uio;
int flags;