Add dummy *dump() routines.

This commit is contained in:
mycroft 1994-05-11 09:49:17 +00:00
parent cb9d07da1e
commit 02ec14c597
7 changed files with 67 additions and 9 deletions

View File

@ -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 <sys/param.h>
@ -1108,6 +1108,14 @@ fdsize(dev)
return -1;
}
int
fddump()
{
/* Not implemented. */
return EINVAL;
}
int
fdioctl(dev, cmd, addr, flag)
dev_t dev;

View File

@ -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
**************************************************************/

View File

@ -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
**************************************************************/

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}