summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ata/atascsi.c8
-rw-r--r--sys/scsi/scsiconf.h8
2 files changed, 6 insertions, 10 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c
index 8baf2511793..fcb10353e2c 100644
--- a/sys/dev/ata/atascsi.c
+++ b/sys/dev/ata/atascsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atascsi.c,v 1.58 2007/12/28 16:38:23 dlg Exp $ */
+/* $OpenBSD: atascsi.c,v 1.59 2007/12/29 00:45:26 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -57,11 +57,9 @@ void atascsi_free(struct scsi_link *);
struct scsi_adapter atascsi_switch = {
atascsi_cmd, /* scsi_cmd */
minphys, /* scsi_minphys */
- NULL,
- NULL,
- atascsi_ioctl, /* ioctl */
atascsi_probe, /* dev_probe */
- atascsi_free /* dev_free */
+ atascsi_free, /* dev_free */
+ atascsi_ioctl /* ioctl */
};
struct scsi_device atascsi_device = {
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 301ba634de9..88a30e5cea5 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.89 2007/11/26 15:40:51 dlg Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.90 2007/12/29 00:45:26 dlg Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -103,12 +103,10 @@ extern int scsi_autoconf;
struct scsi_adapter {
int (*scsi_cmd)(struct scsi_xfer *);
void (*scsi_minphys)(struct buf *);
- int (*open_target_lu)(void);
- int (*close_target_lu)(void);
- int (*ioctl)(struct scsi_link *, u_long, caddr_t, int,
- struct proc *);
int (*dev_probe)(struct scsi_link *);
void (*dev_free)(struct scsi_link *);
+ int (*ioctl)(struct scsi_link *, u_long, caddr_t, int,
+ struct proc *);
};
/*