Replaced nxdump by nodump (if the dump function gets called, then the

device must be configured, so ENXIO is a bogus errno).

Replaced zerosize by nopsize.  zerosize was a temporary alias.
This commit is contained in:
Bruce Evans 1995-12-10 19:44:58 +00:00
parent 661f584fa3
commit f332b8a1d5
8 changed files with 15 additions and 15 deletions

View File

@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
* $Id: fd.c,v 1.75 1995/12/09 09:10:12 julian Exp $
* $Id: fd.c,v 1.76 1995/12/10 13:38:29 phk Exp $
*
*/
@ -352,7 +352,7 @@ static d_strategy_t fdstrategy;
extern struct cdevsw fd_cdevsw;
static struct bdevsw fd_bdevsw =
{ Fdopen, fdclose, fdstrategy, fdioctl, /*2*/
nxdump, zerosize, 0, "fd", &fd_cdevsw, -1 };
nodump, nopsize, 0, "fd", &fd_cdevsw, -1 };
static struct cdevsw fd_cdevsw =
{ Fdopen, fdclose, rawread, rawwrite, /*9*/

View File

@ -40,7 +40,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: mcd.c,v 1.53 1995/12/08 23:20:34 phk Exp $
* $Id: mcd.c,v 1.54 1995/12/10 13:38:58 phk Exp $
*/
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
@ -224,7 +224,7 @@ static d_strategy_t mcdstrategy;
extern struct cdevsw mcd_cdevsw;
static struct bdevsw mcd_bdevsw =
{ mcdopen, mcdclose, mcdstrategy, mcdioctl, /*7*/
nxdump, mcdsize, 0, "mcd", &mcd_cdevsw, -1 };
nodump, mcdsize, 0, "mcd", &mcd_cdevsw, -1 };
static struct cdevsw mcd_cdevsw =
{ mcdopen, mcdclose, rawread, nowrite, /*29*/

View File

@ -41,7 +41,7 @@
*/
/* $Id: scd.c,v 1.13 1995/12/08 11:15:01 julian Exp $ */
/* $Id: scd.c,v 1.14 1995/12/08 23:20:39 phk Exp $ */
/* Please send any comments to micke@dynas.se */
@ -201,7 +201,7 @@ static d_strategy_t scdstrategy;
extern struct cdevsw scd_cdevsw;
static struct bdevsw scd_bdevsw =
{ scdopen, scdclose, scdstrategy, scdioctl, /*16*/
nxdump, scdsize, 0, "scd", &scd_cdevsw, -1 };
nodump, scdsize, 0, "scd", &scd_cdevsw, -1 };
static struct cdevsw scd_cdevsw =
{ scdopen, scdclose, rawread, nowrite, /*45*/

View File

@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
* $Id: fd.c,v 1.75 1995/12/09 09:10:12 julian Exp $
* $Id: fd.c,v 1.76 1995/12/10 13:38:29 phk Exp $
*
*/
@ -352,7 +352,7 @@ static d_strategy_t fdstrategy;
extern struct cdevsw fd_cdevsw;
static struct bdevsw fd_bdevsw =
{ Fdopen, fdclose, fdstrategy, fdioctl, /*2*/
nxdump, zerosize, 0, "fd", &fd_cdevsw, -1 };
nodump, nopsize, 0, "fd", &fd_cdevsw, -1 };
static struct cdevsw fd_cdevsw =
{ Fdopen, fdclose, rawread, rawwrite, /*9*/

View File

@ -40,7 +40,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: mcd.c,v 1.53 1995/12/08 23:20:34 phk Exp $
* $Id: mcd.c,v 1.54 1995/12/10 13:38:58 phk Exp $
*/
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
@ -224,7 +224,7 @@ static d_strategy_t mcdstrategy;
extern struct cdevsw mcd_cdevsw;
static struct bdevsw mcd_bdevsw =
{ mcdopen, mcdclose, mcdstrategy, mcdioctl, /*7*/
nxdump, mcdsize, 0, "mcd", &mcd_cdevsw, -1 };
nodump, mcdsize, 0, "mcd", &mcd_cdevsw, -1 };
static struct cdevsw mcd_cdevsw =
{ mcdopen, mcdclose, rawread, nowrite, /*29*/

View File

@ -41,7 +41,7 @@
*/
/* $Id: scd.c,v 1.13 1995/12/08 11:15:01 julian Exp $ */
/* $Id: scd.c,v 1.14 1995/12/08 23:20:39 phk Exp $ */
/* Please send any comments to micke@dynas.se */
@ -201,7 +201,7 @@ static d_strategy_t scdstrategy;
extern struct cdevsw scd_cdevsw;
static struct bdevsw scd_bdevsw =
{ scdopen, scdclose, scdstrategy, scdioctl, /*16*/
nxdump, scdsize, 0, "scd", &scd_cdevsw, -1 };
nodump, scdsize, 0, "scd", &scd_cdevsw, -1 };
static struct cdevsw scd_cdevsw =
{ scdopen, scdclose, rawread, nowrite, /*45*/

View File

@ -48,7 +48,7 @@ static d_strategy_t wcdstrategy;
extern struct cdevsw wcd_cdevsw;
static struct bdevsw wcd_bdevsw =
{ wcdbopen, wcdbclose, wcdstrategy, wcdioctl, /*19*/
nxdump, zerosize, 0, "wcd", &wcd_cdevsw, -1 };
nodump, nopsize, 0, "wcd", &wcd_cdevsw, -1 };
static struct cdevsw wcd_cdevsw =
{ wcdropen, wcdrclose, rawread, nowrite, /*69*/

View File

@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
* $Id: fd.c,v 1.75 1995/12/09 09:10:12 julian Exp $
* $Id: fd.c,v 1.76 1995/12/10 13:38:29 phk Exp $
*
*/
@ -352,7 +352,7 @@ static d_strategy_t fdstrategy;
extern struct cdevsw fd_cdevsw;
static struct bdevsw fd_bdevsw =
{ Fdopen, fdclose, fdstrategy, fdioctl, /*2*/
nxdump, zerosize, 0, "fd", &fd_cdevsw, -1 };
nodump, nopsize, 0, "fd", &fd_cdevsw, -1 };
static struct cdevsw fd_cdevsw =
{ Fdopen, fdclose, rawread, rawwrite, /*9*/