Move pci/ncr to dev/ncr.

This commit is contained in:
Rui Paulo 2014-09-23 05:37:17 +00:00
parent 6be7abb3ff
commit 3355bd61a0
7 changed files with 17 additions and 5 deletions

View File

@ -1965,6 +1965,8 @@ dev/nand/nandsim_ctrl.c optional nandsim nand
dev/nand/nandsim_log.c optional nandsim nand
dev/nand/nandsim_swap.c optional nandsim nand
dev/nand/nfc_if.m optional nand
dev/ncr/ncr.c optional ncr pci \
compile-with "${NORMAL_C} -Wno-unused"
dev/ncv/ncr53c500.c optional ncv
dev/ncv/ncr53c500_pccard.c optional ncv pccard
dev/netmap/netmap.c optional netmap
@ -3868,8 +3870,6 @@ pci/alpm.c optional alpm pci
pci/amdpm.c optional amdpm pci | nfpm pci
pci/amdsmb.c optional amdsmb pci
pci/intpm.c optional intpm pci
pci/ncr.c optional ncr pci \
compile-with "${NORMAL_C} -Wno-unused"
pci/nfsmb.c optional nfsmb pci
pci/viapm.c optional viapm pci
rpc/auth_none.c optional krpc | nfslockd | nfsclient | nfsserver | nfscl | nfsd

View File

@ -363,7 +363,7 @@ SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
# default:8, range:[1..64]
# Options used only in pci/ncr.c
# Options used only in dev/ncr/*
SCSI_NCR_DEBUG opt_ncr.h
SCSI_NCR_MAX_SYNC opt_ncr.h
SCSI_NCR_MAX_WIDE opt_ncr.h

View File

@ -197,7 +197,7 @@ __FBSDID("$FreeBSD$");
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
#include <pci/ncrreg.h>
#include <dev/ncr/ncrreg.h>
#include <cam/cam.h>
#include <cam/cam_ccb.h>

View File

@ -242,7 +242,7 @@ SUBDIR= \
my \
${_nandfs} \
${_nandsim} \
${_ncp} \
${_ncr} \
${_ncv} \
${_ndis} \
netfpga10g \
@ -537,6 +537,7 @@ _mlx4ib= mlx4ib
_mlxen= mlxen
_mthca= mthca
.endif
_ncr= ncr
_ncv= ncv
_ndis= ndis
_nsp= nsp

11
sys/modules/ncr/Makefile Normal file
View File

@ -0,0 +1,11 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/ncr
KMOD= ncr
SRCS= ncr.c
SRCS+= device_if.h bus_if.h pci_if.h opt_ncr.h opt_cam.h
.include <bsd.kmod.mk>
CFLAGS+=-Wno-error=unused-const-variable