summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/fd.c')
-rw-r--r--sys/i386/isa/fd.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c
index 845107c..b0f13ee 100644
--- a/sys/i386/isa/fd.c
+++ b/sys/i386/isa/fd.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.137 1999/05/02 20:38:08 peter Exp $
+ * $Id: fd.c,v 1.138 1999/05/06 20:00:23 phk Exp $
*
*/
@@ -373,14 +373,12 @@ static int yeintr(struct pccard_devinfo *devi)
#endif /* FDC_YE */
static d_open_t Fdopen; /* NOTE, not fdopen */
-static d_read_t fdread;
-static d_write_t fdwrite;
static d_close_t fdclose;
static d_ioctl_t fdioctl;
static d_strategy_t fdstrategy;
static struct cdevsw fd_cdevsw = {
- Fdopen, fdclose, fdread, fdwrite,
+ Fdopen, fdclose, physread, physwrite,
fdioctl, nostop, nullreset, nodevtotty,
seltrue, nommap, fdstrategy, "fd",
NULL, -1, nodump, nopsize,
@@ -1393,19 +1391,6 @@ fdclose(dev_t dev, int flags, int mode, struct proc *p)
return (0);
}
-static int
-fdread(dev_t dev, struct uio *uio, int ioflag)
-{
- return (physio(fdstrategy, NULL, dev, 1, minphys, uio));
-}
-
-static int
-fdwrite(dev_t dev, struct uio *uio, int ioflag)
-{
- return (physio(fdstrategy, NULL, dev, 0, minphys, uio));
-}
-
-
/****************************************************************************/
/* fdstrategy */
/****************************************************************************/
OpenPOWER on IntegriCloud