From 02ec14c597c793534032451d2be48e875634b035 Mon Sep 17 00:00:00 2001 From: mycroft Date: Wed, 11 May 1994 09:49:17 +0000 Subject: [PATCH] Add dummy *dump() routines. --- sys/arch/i386/isa/fd.c | 10 +++++++++- sys/arch/i386/isa/mcd.c | 10 +++++++++- sys/dev/isa/mcd.c | 10 +++++++++- sys/dev/scsipi/cd.c | 13 +++++++++++-- sys/dev/scsipi/st.c | 10 +++++++++- sys/scsi/cd.c | 13 +++++++++++-- sys/scsi/st.c | 10 +++++++++- 7 files changed, 67 insertions(+), 9 deletions(-) diff --git a/sys/arch/i386/isa/fd.c b/sys/arch/i386/isa/fd.c index 74bfa8cc9728..63fbc4cd72c0 100644 --- a/sys/arch/i386/isa/fd.c +++ b/sys/arch/i386/isa/fd.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.45 1994/05/11 09:31:42 mycroft Exp $ + * $Id: fd.c,v 1.46 1994/05/11 09:49:17 mycroft Exp $ */ #include @@ -1108,6 +1108,14 @@ fdsize(dev) return -1; } +int +fddump() +{ + + /* Not implemented. */ + return EINVAL; +} + int fdioctl(dev, cmd, addr, flag) dev_t dev; diff --git a/sys/arch/i386/isa/mcd.c b/sys/arch/i386/isa/mcd.c index 737a38a38471..ca2e26d33513 100644 --- a/sys/arch/i386/isa/mcd.c +++ b/sys/arch/i386/isa/mcd.c @@ -35,7 +35,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.14 1994/05/05 08:26:13 mycroft Exp $ + * $Id: mcd.c,v 1.15 1994/05/11 09:49:23 mycroft Exp $ */ /*static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";*/ @@ -511,6 +511,14 @@ mcdsize(dev) return -1; } +int +mcddump() +{ + + /* Not implemented. */ + return EINVAL; +} + /*************************************************************** * lower level of driver starts here **************************************************************/ diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c index 737a38a38471..ca2e26d33513 100644 --- a/sys/dev/isa/mcd.c +++ b/sys/dev/isa/mcd.c @@ -35,7 +35,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.14 1994/05/05 08:26:13 mycroft Exp $ + * $Id: mcd.c,v 1.15 1994/05/11 09:49:23 mycroft Exp $ */ /*static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";*/ @@ -511,6 +511,14 @@ mcdsize(dev) return -1; } +int +mcddump() +{ + + /* Not implemented. */ + return EINVAL; +} + /*************************************************************** * lower level of driver starts here **************************************************************/ diff --git a/sys/dev/scsipi/cd.c b/sys/dev/scsipi/cd.c index 07e940d2f959..5da99bf3a700 100644 --- a/sys/dev/scsipi/cd.c +++ b/sys/dev/scsipi/cd.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cd.c,v 1.26 1994/05/09 07:40:47 chopps Exp $ + * $Id: cd.c,v 1.27 1994/05/11 09:53:52 mycroft Exp $ */ /* @@ -1104,8 +1104,17 @@ cd_get_parms(cd, flags) } int -cdsize(dev_t dev) +cdsize(dev) + dev_t dev; { return -1; } + +int +cddump() +{ + + /* Not implemented. */ + return EINVAL; +} diff --git a/sys/dev/scsipi/st.c b/sys/dev/scsipi/st.c index ba758af7f6c8..d6858e998290 100644 --- a/sys/dev/scsipi/st.c +++ b/sys/dev/scsipi/st.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: st.c,v 1.30 1994/05/09 07:40:56 chopps Exp $ + * $Id: st.c,v 1.31 1994/05/11 09:53:45 mycroft Exp $ */ /* @@ -1862,3 +1862,11 @@ bad: free(buf, M_TEMP); free(buf, M_TEMP); return 0; } + +int +stdump() +{ + + /* Not implemented. */ + return EINVAL; +} diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 07e940d2f959..5da99bf3a700 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cd.c,v 1.26 1994/05/09 07:40:47 chopps Exp $ + * $Id: cd.c,v 1.27 1994/05/11 09:53:52 mycroft Exp $ */ /* @@ -1104,8 +1104,17 @@ cd_get_parms(cd, flags) } int -cdsize(dev_t dev) +cdsize(dev) + dev_t dev; { return -1; } + +int +cddump() +{ + + /* Not implemented. */ + return EINVAL; +} diff --git a/sys/scsi/st.c b/sys/scsi/st.c index ba758af7f6c8..d6858e998290 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: st.c,v 1.30 1994/05/09 07:40:56 chopps Exp $ + * $Id: st.c,v 1.31 1994/05/11 09:53:45 mycroft Exp $ */ /* @@ -1862,3 +1862,11 @@ bad: free(buf, M_TEMP); free(buf, M_TEMP); return 0; } + +int +stdump() +{ + + /* Not implemented. */ + return EINVAL; +}