Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/ld On the off chance that someone tries to use t...



details:   https://anonhg.NetBSD.org/src/rev/7f7700240d92
branches:  trunk
changeset: 829986:7f7700240d92
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Feb 21 08:36:36 2018 +0000

description:
On the off chance that someone tries to use the modular version of the
ld(4) driver, provide an ld.ioconf file which will declare the global ld_cd

diffstat:

 sys/modules/ld/Makefile  |   3 ++-
 sys/modules/ld/ld.ioconf |  10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r c25bc56c6f33 -r 7f7700240d92 sys/modules/ld/Makefile
--- a/sys/modules/ld/Makefile   Wed Feb 21 07:49:47 2018 +0000
+++ b/sys/modules/ld/Makefile   Wed Feb 21 08:36:36 2018 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.2 2018/02/21 08:36:36 pgoyette Exp $
 
 .include "../Makefile.inc"
 
 .PATH: ${S}/dev
 
 KMOD=  ld
+IOCONF= ld.ioconf
 
 SRCS+= ld.c
 
diff -r c25bc56c6f33 -r 7f7700240d92 sys/modules/ld/ld.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/ld/ld.ioconf  Wed Feb 21 08:36:36 2018 +0000
@@ -0,0 +1,10 @@
+#       $NetBSD: ld.ioconf,v 1.1 2018/02/21 08:36:36 pgoyette Exp $
+
+ioconf ld
+
+include "conf/files"
+include "dev/pci/files.pci"
+
+pseudo-root nvme*
+
+ld* at nvme? nsid ?



Home | Main Index | Thread Index | Old Index