summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-08-23 20:16:35 +0000
committerphk <phk@FreeBSD.org>1998-08-23 20:16:35 +0000
commit8c27af6df44b0e3286ad51416da0db7ad6495de3 (patch)
tree7de2f1981df0daf66fc5e0ddb0c98a6b4373bccd /sys/scsi
parentc0efc73d67bcdbf621c1f90b4917bd5bccd40619 (diff)
downloadFreeBSD-src-8c27af6df44b0e3286ad51416da0db7ad6495de3.zip
FreeBSD-src-8c27af6df44b0e3286ad51416da0db7ad6495de3.tar.gz
remove bdevsw arg from dsopen();
Forgotten by: julian Reviewed by: bde
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/cd.c4
-rw-r--r--sys/scsi/od.c4
-rw-r--r--sys/scsi/sd.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index cfb6e19..750746f 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: cd.c,v 1.97 1998/07/30 17:05:10 bde Exp $
+ * $Id: cd.c,v 1.98 1998/08/17 19:09:36 bde Exp $
*/
#include "opt_bounce.h"
@@ -340,7 +340,7 @@ cd_open(dev_t dev, int flags, int fmt, struct proc *p,
/* Initialize slice tables. */
errcode = dsopen("cd", dev, fmt, DSO_NOLABELS | DSO_ONESLICE,
&cd->dk_slices, &label, cdstrategy1,
- (ds_setgeom_t *)NULL, &cd_cdevsw, &cd_cdevsw);
+ (ds_setgeom_t *)NULL, &cd_cdevsw);
if (errcode != 0)
goto bad;
SC_DEBUG(sc_link, SDEV_DB3, ("Slice tables initialized "));
diff --git a/sys/scsi/od.c b/sys/scsi/od.c
index cfccdb9..5943b50 100644
--- a/sys/scsi/od.c
+++ b/sys/scsi/od.c
@@ -28,7 +28,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: od.c,v 1.44 1998/07/29 11:15:51 bde Exp $
+ * $Id: od.c,v 1.45 1998/07/30 15:16:05 bde Exp $
*/
/*
@@ -386,7 +386,7 @@ od_open(dev, mode, fmt, p, sc_link)
/* Initialize slice tables. */
errcode = dsopen("od", dev, fmt, 0, &od->dk_slices, &label, odstrategy1,
- (ds_setgeom_t *)NULL, &od_cdevsw, &od_cdevsw);
+ (ds_setgeom_t *)NULL, &od_cdevsw);
if (errcode != 0)
goto bad;
SC_DEBUG(sc_link, SDEV_DB3, ("Slice tables initialized "));
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 1ddc16d..6e4ee88 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
- * $Id: sd.c,v 1.137 1998/07/29 11:15:51 bde Exp $
+ * $Id: sd.c,v 1.138 1998/07/30 15:16:05 bde Exp $
*/
#include "opt_bounce.h"
@@ -487,7 +487,7 @@ sd_open(dev_t dev, int mode, int fmt, struct proc *p, struct scsi_link *sc_link)
/* Initialize slice tables. */
errcode = dsopen("sd", dev, fmt, 0, &sd->dk_slices, &label, sdstrategy1,
- (ds_setgeom_t *)NULL, &sd_cdevsw, &sd_cdevsw);
+ (ds_setgeom_t *)NULL, &sd_cdevsw);
if (errcode != 0)
goto close;
#endif /* !SLICE */
OpenPOWER on IntegriCloud