summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2011-04-28 10:43:37 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2011-04-28 10:43:37 +0000
commit3d756ed7171d072143df220fbd6ff113251854b0 (patch)
tree2973f9569affe82393478e08ac48cfbfd738ddff
parent959bb9f6884c49637c3bcde1c528f737d6f881bd (diff)
clean up the path ops struct a bit. the path drivers init their xsh with
their start routines, they dont have to pass pointers to them in the ops struct.
-rw-r--r--sys/scsi/mpath_emc.c3
-rw-r--r--sys/scsi/mpath_hds.c3
-rw-r--r--sys/scsi/mpath_rdac.c3
-rw-r--r--sys/scsi/mpath_sym.c3
-rw-r--r--sys/scsi/mpathvar.h3
5 files changed, 5 insertions, 10 deletions
diff --git a/sys/scsi/mpath_emc.c b/sys/scsi/mpath_emc.c
index a338e6bf9d6..ba7d59b86f8 100644
--- a/sys/scsi/mpath_emc.c
+++ b/sys/scsi/mpath_emc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_emc.c,v 1.3 2011/04/27 09:09:36 dlg Exp $ */
+/* $OpenBSD: mpath_emc.c,v 1.4 2011/04/28 10:43:36 dlg Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -96,7 +96,6 @@ int emc_mpath_offline(struct scsi_link *);
struct mpath_ops emc_mpath_ops = {
"emc",
- emc_mpath_start,
emc_mpath_checksense,
emc_mpath_online,
emc_mpath_offline,
diff --git a/sys/scsi/mpath_hds.c b/sys/scsi/mpath_hds.c
index e65fa47bf6e..aa734177aae 100644
--- a/sys/scsi/mpath_hds.c
+++ b/sys/scsi/mpath_hds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_hds.c,v 1.1 2011/04/27 11:36:20 dlg Exp $ */
+/* $OpenBSD: mpath_hds.c,v 1.2 2011/04/28 10:43:36 dlg Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -70,7 +70,6 @@ int hds_mpath_offline(struct scsi_link *);
struct mpath_ops hds_mpath_ops = {
"hds",
- hds_mpath_start,
hds_mpath_checksense,
hds_mpath_online,
hds_mpath_offline
diff --git a/sys/scsi/mpath_rdac.c b/sys/scsi/mpath_rdac.c
index e1c79f3e46d..099f314c9bd 100644
--- a/sys/scsi/mpath_rdac.c
+++ b/sys/scsi/mpath_rdac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_rdac.c,v 1.3 2011/04/27 09:09:36 dlg Exp $ */
+/* $OpenBSD: mpath_rdac.c,v 1.4 2011/04/28 10:43:36 dlg Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -148,7 +148,6 @@ int rdac_mpath_offline(struct scsi_link *);
struct mpath_ops rdac_mpath_ops = {
"rdac",
- rdac_mpath_start,
rdac_mpath_checksense,
rdac_mpath_online,
rdac_mpath_offline,
diff --git a/sys/scsi/mpath_sym.c b/sys/scsi/mpath_sym.c
index 434f9753df3..7a0cfcdc87c 100644
--- a/sys/scsi/mpath_sym.c
+++ b/sys/scsi/mpath_sym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_sym.c,v 1.2 2011/04/27 09:09:36 dlg Exp $ */
+/* $OpenBSD: mpath_sym.c,v 1.3 2011/04/28 10:43:36 dlg Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -67,7 +67,6 @@ int sym_mpath_offline(struct scsi_link *);
struct mpath_ops sym_mpath_ops = {
"sym",
- sym_mpath_start,
sym_mpath_checksense,
sym_mpath_online,
sym_mpath_offline
diff --git a/sys/scsi/mpathvar.h b/sys/scsi/mpathvar.h
index 8a1357a500b..bff517ea52d 100644
--- a/sys/scsi/mpathvar.h
+++ b/sys/scsi/mpathvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpathvar.h,v 1.1 2011/04/05 14:25:42 dlg Exp $ */
+/* $OpenBSD: mpathvar.h,v 1.2 2011/04/28 10:43:36 dlg Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -24,7 +24,6 @@ struct mpath_group;
struct mpath_ops {
char op_name[16];
- void (*op_start)(struct scsi_xfer *);
int (*op_checksense)(struct scsi_xfer *);
int (*op_online)(struct scsi_link *);
int (*op_offline)(struct scsi_link *);