From dde7b00df07d5064317db5ff355091c989d5d684 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 6 Dec 2013 21:03:06 +0000 Subject: Add a DVACT_WAKEUP op to the *_activate() API. This is called after the kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op's in drivers creating callback/threads themselves, but that has become too common, indicating the need for a built-in mechanism. ok dlg kettenis, tested by a sufficient amount of people --- sys/scsi/mpath_hds.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/scsi/mpath_hds.c') diff --git a/sys/scsi/mpath_hds.c b/sys/scsi/mpath_hds.c index cdc8654d632..9348b49a65d 100644 --- a/sys/scsi/mpath_hds.c +++ b/sys/scsi/mpath_hds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpath_hds.c,v 1.13 2013/11/23 23:35:02 gsoares Exp $ */ +/* $OpenBSD: mpath_hds.c,v 1.14 2013/12/06 21:03:02 deraadt Exp $ */ /* * Copyright (c) 2011 David Gwynne @@ -187,9 +187,6 @@ hds_activate(struct device *self, int act) int rv = 0; switch (act) { - case DVACT_SUSPEND: - case DVACT_RESUME: - break; case DVACT_DEACTIVATE: if (sc->sc_path.p_group != NULL) mpath_path_detach(&sc->sc_path); -- cgit v1.2.3