fix minphys routine to match others

This commit is contained in:
chopps 1995-07-26 14:30:53 +00:00
parent 3878753b32
commit bbd70b413b
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: siop.c,v 1.20 1995/02/12 19:19:28 chopps Exp $ */
/* $NetBSD: siop.c,v 1.21 1995/07/26 14:30:53 chopps Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@ -157,13 +157,14 @@ int siopphmm = 0;
/*
* default minphys routine for siop based controllers
*/
void
u_int
siop_minphys(bp)
struct buf *bp;
{
/*
* no max transfer at this level
*/
return (minphys(bp));
}
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: siopvar.h,v 1.8 1995/02/12 19:19:29 chopps Exp $ */
/* $NetBSD: siopvar.h,v 1.9 1995/07/26 14:31:02 chopps Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@ -148,7 +148,7 @@ struct siop_softc {
#define STS_INTERMED 0x10 /* Intermediate status sent */
#define STS_EXT 0x80 /* Extended status valid */
void siop_minphys __P((struct buf *bp));
u_int siop_minphys __P((struct buf *bp));
int siop_scsicmd __P((struct scsi_xfer *));
#endif /* _SIOPVAR_H */