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
This commit is contained in:
pgoyette 2018-02-21 08:36:36 +00:00
parent 89c3f304e6
commit 0484fb2f3f
2 changed files with 12 additions and 1 deletions

View File

@ -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

10
sys/modules/ld/ld.ioconf Normal file
View File

@ -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 ?