head	1.11;
access;
symbols
	netbsd-9-5-RELEASE:1.11
	netbsd-11-0-RELEASE:1.11
	netbsd-11-0-RC7:1.11
	netbsd-11-0-RC6:1.11
	netbsd-11-0-RC5:1.11
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.56
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.54
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.11
	netbsd-9-4-RELEASE:1.11
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	thorpej-ifq:1.11.0.52
	thorpej-ifq-base:1.11
	thorpej-altq-separation:1.11.0.50
	thorpej-altq-separation-base:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.48
	netbsd-10-base:1.11
	bouyer-sunxi-drm:1.11.0.46
	bouyer-sunxi-drm-base:1.11
	netbsd-9-3-RELEASE:1.11
	thorpej-i2c-spi-conf2:1.11.0.44
	thorpej-i2c-spi-conf2-base:1.11
	thorpej-futex2:1.11.0.42
	thorpej-futex2-base:1.11
	thorpej-cfargs2:1.11.0.40
	thorpej-cfargs2-base:1.11
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.38
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.11
	cjep_staticlib_x:1.11.0.36
	cjep_staticlib_x-base:1.11
	thorpej-i2c-spi-conf:1.11.0.34
	thorpej-i2c-spi-conf-base:1.11
	thorpej-cfargs:1.11.0.32
	thorpej-cfargs-base:1.11
	thorpej-futex:1.11.0.30
	thorpej-futex-base:1.11
	netbsd-9-1-RELEASE:1.11
	bouyer-xenpvh-base2:1.11
	phil-wifi-20200421:1.11
	bouyer-xenpvh-base1:1.11
	phil-wifi-20200411:1.11
	bouyer-xenpvh:1.11.0.28
	bouyer-xenpvh-base:1.11
	is-mlppp:1.11.0.26
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.11
	ad-namecache-base3:1.11
	netbsd-9-0-RELEASE:1.11
	netbsd-9-0-RC2:1.11
	ad-namecache-base2:1.11
	ad-namecache-base1:1.11
	ad-namecache:1.11.0.24
	ad-namecache-base:1.11
	netbsd-9-0-RC1:1.11
	phil-wifi-20191119:1.11
	netbsd-9:1.11.0.22
	netbsd-9-base:1.11
	phil-wifi-20190609:1.11
	netbsd-8-1-RELEASE:1.11
	netbsd-8-1-RC1:1.11
	isaki-audio2:1.11.0.20
	isaki-audio2-base:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	netbsd-7-2-RELEASE:1.3
	pgoyette-compat-0728:1.11
	netbsd-8-0-RELEASE:1.11
	phil-wifi:1.11.0.18
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.3
	pgoyette-compat:1.11.0.16
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.3
	tls-maxphys-base-20171202:1.11
	matt-nb8-mediatek:1.11.0.14
	matt-nb8-mediatek-base:1.11
	nick-nhusb-base-20170825:1.11
	perseant-stdc-iso10646:1.11.0.12
	perseant-stdc-iso10646-base:1.11
	netbsd-8:1.11.0.10
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.8
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	jdolecek-ncq:1.11.0.6
	jdolecek-ncq-base:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.3.0.14
	netbsd-7-1-RELEASE:1.3
	netbsd-7-1-RC2:1.3
	nick-nhusb-base-20170204:1.11
	netbsd-7-nhusb-base-20170116:1.3
	bouyer-socketcan:1.11.0.4
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	netbsd-7-1-RC1:1.3
	nick-nhusb-base-20161204:1.11
	pgoyette-localcount-20161104:1.11
	netbsd-7-0-2-RELEASE:1.3
	nick-nhusb-base-20161004:1.11
	localcount-20160914:1.11
	netbsd-7-nhusb:1.3.0.12
	netbsd-7-nhusb-base:1.3
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.2
	pgoyette-localcount-base:1.11
	nick-nhusb-base-20160907:1.11
	nick-nhusb-base-20160529:1.11
	netbsd-7-0-1-RELEASE:1.3
	nick-nhusb-base-20160422:1.10
	nick-nhusb-base-20160319:1.10
	nick-nhusb-base-20151226:1.9
	netbsd-7-0:1.3.0.10
	netbsd-7-0-RELEASE:1.3
	nick-nhusb-base-20150921:1.7
	netbsd-7-0-RC3:1.3
	netbsd-7-0-RC2:1.3
	netbsd-7-0-RC1:1.3
	nick-nhusb-base-20150606:1.5
	nick-nhusb-base-20150406:1.4
	nick-nhusb:1.4.0.2
	nick-nhusb-base:1.4
	tls-maxphys-base:1.3
	tls-maxphys:1.3.0.8
	netbsd-7:1.3.0.6
	netbsd-7-base:1.3
	yamt-pagecache:1.3.0.4
	rmind-smpnet-base:1.3
	rmind-smpnet:1.3.0.2
	rmind-smpnet-nbase:1.3
	yamt-pagecache-base9:1.3
	tls-earlyentropy:1.1.0.2
	tls-earlyentropy-base:1.3;
locks; strict;
comment	@# @;


1.11
date	2016.05.10.19.38.29;	author pooka;	state Exp;
branches;
next	1.10;
commitid	l73n0JTSSQyEgY5z;

1.10
date	2016.01.26.23.12.15;	author pooka;	state Exp;
branches;
next	1.9;
commitid	kepLkd4K8DWcOuSy;

1.9
date	2015.11.01.22.41.24;	author pooka;	state Exp;
branches;
next	1.8;
commitid	myDEMLPiODoyrrHy;

1.8
date	2015.10.19.16.16.33;	author pooka;	state Exp;
branches;
next	1.7;
commitid	tw5dhIUFxtTYIJFy;

1.7
date	2015.08.24.23.21.50;	author pooka;	state Exp;
branches;
next	1.6;
commitid	deQC97kNaE5iRzyy;

1.6
date	2015.06.15.15.38.52;	author pooka;	state Exp;
branches;
next	1.5;
commitid	YO0VpZWatbp4txpy;

1.5
date	2015.06.03.13.41.56;	author pooka;	state Exp;
branches;
next	1.4;
commitid	180UGmG02P7vjZny;

1.4
date	2014.08.22.14.28.58;	author pooka;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	LL7jBpE6B75cJmNx;

1.3
date	2014.04.14.23.53.42;	author pooka;	state Exp;
branches
	1.3.2.1
	1.3.4.1
	1.3.8.1;
next	1.2;
commitid	dk1mDWU0p7CA2Iwx;

1.2
date	2014.04.14.21.36.22;	author pooka;	state Exp;
branches;
next	1.1;
commitid	UoB0pCJs1VNthHwx;

1.1
date	2014.04.04.12.53.59;	author pooka;	state Exp;
branches
	1.1.2.1;
next	;
commitid	ZHzN6ZH5ToFhHmvx;

1.4.2.1
date	2015.06.06.14.40.26;	author skrll;	state Exp;
branches;
next	1.4.2.2;
commitid	O6LVO5i6UulOvnoy;

1.4.2.2
date	2015.09.22.12.06.13;	author skrll;	state Exp;
branches;
next	1.4.2.3;
commitid	CpNWKp3ozVNTafCy;

1.4.2.3
date	2015.12.27.12.10.09;	author skrll;	state Exp;
branches;
next	1.4.2.4;
commitid	BTSqUD4SdJ5k7AOy;

1.4.2.4
date	2016.03.19.11.30.34;	author skrll;	state Exp;
branches;
next	1.4.2.5;
commitid	2PHKtPSg1vDV9fZy;

1.4.2.5
date	2016.05.29.08.44.39;	author skrll;	state Exp;
branches;
next	;
commitid	8mlnPW6uSaJU1m8z;

1.3.2.1
date	2014.04.14.23.53.42;	author rmind;	state dead;
branches;
next	1.3.2.2;
commitid	mL5ZYSzpqK6QS2Bx;

1.3.2.2
date	2014.05.18.17.46.15;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.3.4.1
date	2014.04.14.23.53.42;	author yamt;	state dead;
branches;
next	1.3.4.2;
commitid	VUUXuyNWnt3AKwBx;

1.3.4.2
date	2014.05.22.11.41.12;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.3.8.1
date	2014.04.14.23.53.42;	author tls;	state dead;
branches;
next	1.3.8.2;
commitid	jTnpym9Qu0o4R1Nx;

1.3.8.2
date	2014.08.20.00.04.38;	author tls;	state Exp;
branches;
next	1.3.8.3;
commitid	jTnpym9Qu0o4R1Nx;

1.3.8.3
date	2017.12.03.11.39.08;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.1.2.1
date	2014.08.10.06.56.50;	author tls;	state Exp;
branches;
next	;
commitid	SqReByPtwiDFCMLx;


desc
@@


1.11
log
@Avoid '.' in variable names which are expected to be passed to
this Makefile via the env.

That character is strictly speaking not allowed by POSIX in an exported
variable name, and at least dash >= 0.58 refuses to export such variables.

Furthermore, since the individual CFLAGS/CPPFLAGS/etc. variables
are not comprehensive enough for all cases (e.g. HURD), just
support the .includable version from now on, i.e.
RUMPCOMP_MAKEFILEINC_rumpdev_pci.

curious failure mode debugged by Martin Lucina
@
text
@#	$NetBSD: Makefile,v 1.10 2016/01/26 23:12:15 pooka Exp $
#

RUMPTOP= ${TOPRUMP}

.include <bsd.own.mk>

.PATH:	${RUMPTOP}/../dev/pci

LIB=	rumpdev_pci
COMMENT=PCI bus support

IOCONF=	PCI.ioconf

SRCS+=	pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
SRCS+=	pcibusprint.c

SRCS+=	rumpdev_pci.c

# ok, these don't _really_ belong here, but it's the only
# place they're currently useful, so let it slide
SRCS+=	rumpdev_bus_space.c
SRCS+=	rumpdev_bus_dma.c

SRCS+=	pci_at_mainbus.c

.if ${RUMP_PCI_IOSPACE:Uno} == "yes"
.error RUMP_PCI_IOSPACE defined in Makefile.  Use userfeatures.h instead.
.endif

RUMPCOMP_USER_CPPFLAGS:=-I${.PARSEDIR}

# current state-of-the-art interface (remains to be seen if it's "good enuf")
.ifdef RUMPCOMP_MAKEFILEINC_rumpdev_pci
.include "${RUMPCOMP_MAKEFILEINC_rumpdev_pci}"
.endif

# old-style ("compat") interfaces.  will go away some day or year.
# why?  the "protocol" requires passing variables via the env, and
# the names include dots which POSIX does not, strictly speaking,
# allow in env names.  There is at least one shell (dash >= 0.58)
# which refuses to pass variables with dots.
.if defined(RUMPCOMP_USER_SRCS.rumpdev_pci) \
    || defined(RUMPCOMP_MAKEFILEINC.rumpdev_pci)
.warning Use new style RUMPCOMP_MAKEFILEINC_rumpdev_pci
.endif
.ifdef RUMPCOMP_USER_PATH.rumpdev_pci
.PATH:			${RUMPCOMP_USER_PATH.rumpdev_pci}
RUMPCOMP_USER_SRCS=	${RUMPCOMP_USER_SRCS.rumpdev_pci}
RUMPCOMP_USER_CPPFLAGS+=${RUMPCOMP_USER_CPPFLAGS.rumpdev_pci}
RUMPCOMP_USER_CFLAGS=	${RUMPCOMP_USER_CFLAGS.rumpdev_pci}
CPPFLAGS+=		${RUMPCOMP_CPPFLAGS.rumpdev_pci}
.endif
.ifdef RUMPCOMP_MAKEFILEINC.rumpdev_pci
.include "${RUMPCOMP_MAKEFILEINC.rumpdev_pci}"
.endif

# XXX: messy
.undef RUMPKERN_ONLY

.include "${RUMPTOP}/Makefile.rump"
.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.10
log
@Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories.  Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2015/11/01 22:41:24 pooka Exp $
d31 17
a49 2
MYDIR:=			${.PARSEDIR}
RUMPCOMP_USER_CPPFLAGS=	-I${MYDIR}
a51 1

d53 4
a60 5
.ifdef RUMPCOMP_MAKEFILEINC.rumpdev_pci
.warning RUMPCOMP_MAKEFILEINC interface is unstable and may change
.include "${RUMPCOMP_MAKEFILEINC.rumpdev_pci}"
.endif

@


1.9
log
@Allow PCI implementers to specify arbitrary makefile constructs.
(interface subject to change)

from Robert Millan
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2015/10/19 16:16:33 pooka Exp $
a26 3
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs

@


1.8
log
@Add a COMMENT describing what each component roughly does.

"make describe" prints the comment.

Requested/inspired by Vincent Schwarzer on rumpkernel-users
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2015/08/24 23:21:50 pooka Exp $
d46 5
@


1.7
log
@opt files were nop't
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2015/06/15 15:38:52 pooka Exp $
d11 2
@


1.6
log
@Add a "userfeature" definition for iospace.  I/O space is supported if
that flag is given and calling the init routine succeeds (and we're on
x86, which we probably need to be on anyway for this PCI component to
currently be supported).

Also, some adjustments to make things between flags consistent, namely
deprecate the Makefile variable RUMP_PCI_IOSPACE and don't require
userfeature.h to map 1:1 to the interfaces.

Includes contributions from Robert Millan.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2015/06/03 13:41:56 pooka Exp $
d25 1
a25 1
CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpkern
@


1.5
log
@Rework how the external hypercalls are specified, more in the direction of
something general.  I'm not sure if it's entirely general yet (since PCI
is the only place to use it), but at least a step in the right direction.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/08/22 14:28:58 pooka Exp $
d29 1
a29 1
CPPFLAGS+=-DRUMP_PCI_IOSPACE
@


1.4
log
@Add a compile-time selector for I/O space operations.  Needs more work
some day, but allows virtio drivers to work today.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2014/04/14 23:53:42 pooka Exp $
d6 2
d32 11
a42 5
.if defined(RUMP_PCI_USER)
RUMPCOMP_USER_SRCS=	${RUMP_PCI_USER}
RUMPCOMP_INCS_DIR:=	${.PARSEDIR}
RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR}
.endif
@


1.4.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2015/06/03 13:41:56 pooka Exp $
a5 2
.include <bsd.own.mk>

d30 5
a34 11
.PATH:			${RUMPCOMP_USER_PATH.rumpdev_pci}
RUMPCOMP_USER_SRCS=	${RUMPCOMP_USER_SRCS.rumpdev_pci}
MYDIR:=			${.PARSEDIR}
RUMPCOMP_USER_CPPFLAGS=	-I${MYDIR}
RUMPCOMP_USER_CPPFLAGS+=${RUMPCOMP_USER_CPPFLAGS.rumpdev_pci}
RUMPCOMP_USER_CFLAGS=	${RUMPCOMP_USER_CFLAGS.rumpdev_pci}

CPPFLAGS+=		${RUMPCOMP_CPPFLAGS.rumpdev_pci}

# XXX: messy
.undef RUMPKERN_ONLY
@


1.4.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.2.1 2015/06/06 14:40:26 skrll Exp $
d25 1
a25 1
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
d29 1
a29 1
.error RUMP_PCI_IOSPACE defined in Makefile.  Use userfeatures.h instead.
@


1.4.2.3
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.2.2 2015/09/22 12:06:13 skrll Exp $
a10 2
COMMENT=PCI bus support

a43 5
.ifdef RUMPCOMP_MAKEFILEINC.rumpdev_pci
.warning RUMPCOMP_MAKEFILEINC interface is unstable and may change
.include "${RUMPCOMP_MAKEFILEINC.rumpdev_pci}"
.endif

@


1.4.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.2.3 2015/12/27 12:10:09 skrll Exp $
d27 3
@


1.4.2.5
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.2.4 2016/03/19 11:30:34 skrll Exp $
a30 17
RUMPCOMP_USER_CPPFLAGS:=-I${.PARSEDIR}

# current state-of-the-art interface (remains to be seen if it's "good enuf")
.ifdef RUMPCOMP_MAKEFILEINC_rumpdev_pci
.include "${RUMPCOMP_MAKEFILEINC_rumpdev_pci}"
.endif

# old-style ("compat") interfaces.  will go away some day or year.
# why?  the "protocol" requires passing variables via the env, and
# the names include dots which POSIX does not, strictly speaking,
# allow in env names.  There is at least one shell (dash >= 0.58)
# which refuses to pass variables with dots.
.if defined(RUMPCOMP_USER_SRCS.rumpdev_pci) \
    || defined(RUMPCOMP_MAKEFILEINC.rumpdev_pci)
.warning Use new style RUMPCOMP_MAKEFILEINC_rumpdev_pci
.endif
.ifdef RUMPCOMP_USER_PATH.rumpdev_pci
d33 2
d37 1
d39 4
a42 1
.endif
d44 1
a47 3
# XXX: messy
.undef RUMPKERN_ONLY

@


1.3
log
@build hypercalls if RUMP_PCI_USER is defined
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2014/04/14 21:36:22 pooka Exp $
d26 4
@


1.3.8.1
log
@file Makefile was added on branch tls-maxphys on 2014-08-20 00:04:38 +0000
@
text
@d1 34
@


1.3.8.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a0 34
#	$NetBSD$
#

RUMPTOP= ${TOPRUMP}

.PATH:	${RUMPTOP}/../dev/pci

LIB=	rumpdev_pci
IOCONF=	PCI.ioconf

SRCS+=	pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
SRCS+=	pcibusprint.c

SRCS+=	rumpdev_pci.c

# ok, these don't _really_ belong here, but it's the only
# place they're currently useful, so let it slide
SRCS+=	rumpdev_bus_space.c
SRCS+=	rumpdev_bus_dma.c

SRCS+=	pci_at_mainbus.c

CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpkern
CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs

.if defined(RUMP_PCI_USER)
RUMPCOMP_USER_SRCS=	${RUMP_PCI_USER}
RUMPCOMP_INCS_DIR:=	${.PARSEDIR}
RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR}
.endif

.include "${RUMPTOP}/Makefile.rump"
.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.3.8.3
log
@update from HEAD
@
text
@a5 2
.include <bsd.own.mk>

a8 2
COMMENT=PCI bus support

d23 2
a24 3
.if ${RUMP_PCI_IOSPACE:Uno} == "yes"
.error RUMP_PCI_IOSPACE defined in Makefile.  Use userfeatures.h instead.
.endif
d26 4
a29 5
RUMPCOMP_USER_CPPFLAGS:=-I${.PARSEDIR}

# current state-of-the-art interface (remains to be seen if it's "good enuf")
.ifdef RUMPCOMP_MAKEFILEINC_rumpdev_pci
.include "${RUMPCOMP_MAKEFILEINC_rumpdev_pci}"
a31 23
# old-style ("compat") interfaces.  will go away some day or year.
# why?  the "protocol" requires passing variables via the env, and
# the names include dots which POSIX does not, strictly speaking,
# allow in env names.  There is at least one shell (dash >= 0.58)
# which refuses to pass variables with dots.
.if defined(RUMPCOMP_USER_SRCS.rumpdev_pci) \
    || defined(RUMPCOMP_MAKEFILEINC.rumpdev_pci)
.warning Use new style RUMPCOMP_MAKEFILEINC_rumpdev_pci
.endif
.ifdef RUMPCOMP_USER_PATH.rumpdev_pci
.PATH:			${RUMPCOMP_USER_PATH.rumpdev_pci}
RUMPCOMP_USER_SRCS=	${RUMPCOMP_USER_SRCS.rumpdev_pci}
RUMPCOMP_USER_CPPFLAGS+=${RUMPCOMP_USER_CPPFLAGS.rumpdev_pci}
RUMPCOMP_USER_CFLAGS=	${RUMPCOMP_USER_CFLAGS.rumpdev_pci}
CPPFLAGS+=		${RUMPCOMP_CPPFLAGS.rumpdev_pci}
.endif
.ifdef RUMPCOMP_MAKEFILEINC.rumpdev_pci
.include "${RUMPCOMP_MAKEFILEINC.rumpdev_pci}"
.endif

# XXX: messy
.undef RUMPKERN_ONLY

@


1.3.4.1
log
@file Makefile was added on branch yamt-pagecache on 2014-05-22 11:41:12 +0000
@
text
@d1 34
@


1.3.4.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@a0 34
#	$NetBSD$
#

RUMPTOP= ${TOPRUMP}

.PATH:	${RUMPTOP}/../dev/pci

LIB=	rumpdev_pci
IOCONF=	PCI.ioconf

SRCS+=	pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
SRCS+=	pcibusprint.c

SRCS+=	rumpdev_pci.c

# ok, these don't _really_ belong here, but it's the only
# place they're currently useful, so let it slide
SRCS+=	rumpdev_bus_space.c
SRCS+=	rumpdev_bus_dma.c

SRCS+=	pci_at_mainbus.c

CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpkern
CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs

.if defined(RUMP_PCI_USER)
RUMPCOMP_USER_SRCS=	${RUMP_PCI_USER}
RUMPCOMP_INCS_DIR:=	${.PARSEDIR}
RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR}
.endif

.include "${RUMPTOP}/Makefile.rump"
.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.3.2.1
log
@file Makefile was added on branch rmind-smpnet on 2014-05-18 17:46:15 +0000
@
text
@d1 34
@


1.3.2.2
log
@sync with head
@
text
@a0 34
#	$NetBSD$
#

RUMPTOP= ${TOPRUMP}

.PATH:	${RUMPTOP}/../dev/pci

LIB=	rumpdev_pci
IOCONF=	PCI.ioconf

SRCS+=	pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
SRCS+=	pcibusprint.c

SRCS+=	rumpdev_pci.c

# ok, these don't _really_ belong here, but it's the only
# place they're currently useful, so let it slide
SRCS+=	rumpdev_bus_space.c
SRCS+=	rumpdev_bus_dma.c

SRCS+=	pci_at_mainbus.c

CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpkern
CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs

.if defined(RUMP_PCI_USER)
RUMPCOMP_USER_SRCS=	${RUMP_PCI_USER}
RUMPCOMP_INCS_DIR:=	${.PARSEDIR}
RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR}
.endif

.include "${RUMPTOP}/Makefile.rump"
.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.2
log
@add necessary -I for /dev/pci* creation
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2014/04/04 12:53:59 pooka Exp $
d26 5
a30 1
#RUMPCOMP_USER_SRCS=	pci_user.c
@


1.1
log
@Add a rump kernel component for the PCI bus.  It works both in Xen DomU
(via Xen's PCI passthrough) and Linux userspace (via uio_pci_generic).
@
text
@d1 1
a1 1
#	$NetBSD$
d24 1
@


1.1.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2014/04/14 23:53:42 pooka Exp $
a23 1
CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs
d25 1
a25 5
.if defined(RUMP_PCI_USER)
RUMPCOMP_USER_SRCS=	${RUMP_PCI_USER}
RUMPCOMP_INCS_DIR:=	${.PARSEDIR}
RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR}
.endif
@


