summaryrefslogtreecommitdiff
path: root/sys/dev/iscsi
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2022-04-14 16:50:26 +0000
committerpgoyette <pgoyette@NetBSD.org>2022-04-14 16:50:26 +0000
commit135ef7fcdaa844b3df155f95a00f0cf1bf341cae (patch)
tree28a060a9836d26e4ab68d1ab44020aba568e3f86 /sys/dev/iscsi
parent6f49a648d4548cc5fc86f0e82500f37f1b20ea54 (diff)
Split some common stuff into scsi_subr module. This enables loading
of the iscsi module whether or not there are any scsi things built into the kernel. Addresses the iscsi portion of kern/56772
Diffstat (limited to 'sys/dev/iscsi')
-rw-r--r--sys/dev/iscsi/iscsi_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iscsi/iscsi_main.c b/sys/dev/iscsi/iscsi_main.c
index a0f7758eec5..83562d68bdd 100644
--- a/sys/dev/iscsi/iscsi_main.c
+++ b/sys/dev/iscsi/iscsi_main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: iscsi_main.c,v 1.39 2022/03/31 19:30:16 pgoyette Exp $ */
+/* $NetBSD: iscsi_main.c,v 1.40 2022/04/14 16:50:26 pgoyette Exp $ */
/*-
* Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -656,7 +656,7 @@ SYSCTL_SETUP(sysctl_iscsi_setup, "ISCSI subtree setup")
#include <sys/module.h>
-MODULE(MODULE_CLASS_DRIVER, iscsi, NULL); /* Possibly a builtin module */
+MODULE(MODULE_CLASS_DRIVER, iscsi, "scsi_subr"); /* Possibly a builtin module */
#ifdef _MODULE
static const struct cfiattrdata ibescsi_info = { "scsi", 1,