diff options
| author | pgoyette <pgoyette@NetBSD.org> | 2022-04-14 16:50:26 +0000 |
|---|---|---|
| committer | pgoyette <pgoyette@NetBSD.org> | 2022-04-14 16:50:26 +0000 |
| commit | 135ef7fcdaa844b3df155f95a00f0cf1bf341cae (patch) | |
| tree | 28a060a9836d26e4ab68d1ab44020aba568e3f86 /sys/modules | |
| parent | 6f49a648d4548cc5fc86f0e82500f37f1b20ea54 (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/modules')
| -rw-r--r-- | sys/modules/Makefile | 5 | ||||
| -rw-r--r-- | sys/modules/scsi_subr/Makefile | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 65b27ed44ba..2a63ec5dec7 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.264 2022/04/01 21:09:24 pgoyette Exp $ +# $NetBSD: Makefile,v 1.265 2022/04/14 16:50:26 pgoyette Exp $ .include <bsd.own.mk> @@ -146,9 +146,10 @@ SUBDIR+= ptyfs SUBDIR+= puffs SUBDIR+= putter SUBDIR+= raid -SUBDIR+= scsiverbose SUBDIR+= scmd SUBDIR+= scmdi2c +SUBDIR+= scsi_subr +SUBDIR+= scsiverbose SUBDIR+= sdtemp SUBDIR+= secmodel_bsd44 SUBDIR+= secmodel_extensions diff --git a/sys/modules/scsi_subr/Makefile b/sys/modules/scsi_subr/Makefile new file mode 100644 index 00000000000..fa6a2bbf782 --- /dev/null +++ b/sys/modules/scsi_subr/Makefile @@ -0,0 +1,10 @@ +# $NetBSD: Makefile,v 1.1 2022/04/14 16:50:26 pgoyette Exp $ + +.include "../Makefile.inc" + +.PATH: ${S}/dev/scsipi/ + +KMOD= scsi_subr +SRCS= scsi_subr.c scsi_base.c + +.include <bsd.kmodule.mk> |
