--- Net2/arch/i386/isa/wt.c 2018/04/24 18:04:01 1.1 +++ Net2/arch/i386/isa/wt.c 2018/04/24 18:04:59 1.1.1.2 @@ -66,8 +66,8 @@ /* * HISTORY * $Log: wt.c,v $ - * Revision 1.1 2018/04/24 18:04:01 root - * Initial revision + * Revision 1.1.1.2 2018/04/24 18:04:59 root + * 386BSD 0.0 * * Revision 2.2.1.3 90/01/08 13:29:38 rvb * Add Intel copyright. @@ -489,41 +489,6 @@ struct buf *bp; return(0); } -wt_minphys(bp) -struct buf *bp; -{ - if (bp->b_bcount > PAGESIZ) - bp->b_bcount = PAGESIZ; -} - -/* - * raw read routine - */ -wtread(dev, uio) -struct uio *uio; -{ - if (wtflags & TPSESS) { - return(EIO); - } - physio(wtrawio, &rwtbuf, dev, B_READ, wt_minphys, uio); - return(0); -} - -/* - * raw write routine - */ -wtwrite(dev, uio) -struct uio *uio; -{ - if (wtflags & TPSESS) { - return(EIO); - } - physio(wtrawio, &rwtbuf, dev, B_WRITE, wt_minphys, uio); - return(0); -} - - - /* * ioctl routine * for user level QIC commands only