diff --git a/sys/arch/atari/dev/ramd.c b/sys/arch/atari/dev/ramd.c index e220b35fc2e1..64d35e14f3a1 100644 --- a/sys/arch/atari/dev/ramd.c +++ b/sys/arch/atari/dev/ramd.c @@ -1,4 +1,4 @@ -/* $NetBSD: ramd.c,v 1.2 1995/04/16 14:59:03 leo Exp $ */ +/* $NetBSD: ramd.c,v 1.3 1995/07/12 21:41:03 leo Exp $ */ /* * Copyright (c) 1995 Leo Weppelman. @@ -228,24 +228,6 @@ dev_t dev; return(-1); } -int -rdread(dev, uio) -dev_t dev; -struct uio *uio; -{ - return (physio(cdevsw[major(dev)].d_strategy, (struct buf *)NULL, - dev, B_READ, rdminphys, uio)); -} - -int -rdwrite(dev, uio) -dev_t dev; -struct uio *uio; -{ - return(physio(cdevsw[major(dev)].d_strategy, (struct buf *)NULL, - dev, B_WRITE, rdminphys, uio)); -} - /* XXX: Limit to 64k. */ static void rdminphys(bp) @@ -293,6 +275,22 @@ done: biodone(bp); } +int +rdread(dev, uio) +dev_t dev; +struct uio *uio; +{ + return (physio(rdstrategy, (struct buf *)NULL, dev, B_READ, rdminphys, uio)); +} + +int +rdwrite(dev, uio) +dev_t dev; +struct uio *uio; +{ + return(physio(rdstrategy, (struct buf *)NULL, dev, B_WRITE, rdminphys, uio)); +} + static int loaddisk(ri, proc) struct ramd_info *ri;