head	1.10;
access;
symbols
	netbsd-11-0-RC4:1.10
	netbsd-11-0-RC3:1.10
	netbsd-11-0-RC2:1.10
	netbsd-11-0-RC1:1.10
	perseant-exfatfs-base-20250801:1.10
	netbsd-11:1.10.0.38
	netbsd-11-base:1.10
	netbsd-10-1-RELEASE:1.10
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.36
	perseant-exfatfs-base:1.10
	netbsd-8-3-RELEASE:1.9
	netbsd-9-4-RELEASE:1.10
	netbsd-10-0-RELEASE:1.10
	netbsd-10-0-RC6:1.10
	netbsd-10-0-RC5:1.10
	netbsd-10-0-RC4:1.10
	netbsd-10-0-RC3:1.10
	netbsd-10-0-RC2:1.10
	thorpej-ifq:1.10.0.34
	thorpej-ifq-base:1.10
	thorpej-altq-separation:1.10.0.32
	thorpej-altq-separation-base:1.10
	netbsd-10-0-RC1:1.10
	netbsd-10:1.10.0.30
	netbsd-10-base:1.10
	bouyer-sunxi-drm:1.10.0.28
	bouyer-sunxi-drm-base:1.10
	netbsd-9-3-RELEASE:1.10
	thorpej-i2c-spi-conf2:1.10.0.26
	thorpej-i2c-spi-conf2-base:1.10
	thorpej-futex2:1.10.0.24
	thorpej-futex2-base:1.10
	thorpej-cfargs2:1.10.0.22
	thorpej-cfargs2-base:1.10
	cjep_sun2x-base1:1.10
	cjep_sun2x:1.10.0.20
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	netbsd-9-2-RELEASE:1.10
	cjep_staticlib_x:1.10.0.18
	cjep_staticlib_x-base:1.10
	thorpej-i2c-spi-conf:1.10.0.16
	thorpej-i2c-spi-conf-base:1.10
	thorpej-cfargs:1.10.0.14
	thorpej-cfargs-base:1.10
	thorpej-futex:1.10.0.12
	thorpej-futex-base:1.10
	netbsd-9-1-RELEASE:1.10
	bouyer-xenpvh-base2:1.10
	phil-wifi-20200421:1.10
	bouyer-xenpvh-base1:1.10
	phil-wifi-20200411:1.10
	bouyer-xenpvh:1.10.0.10
	bouyer-xenpvh-base:1.10
	is-mlppp:1.10.0.8
	is-mlppp-base:1.10
	phil-wifi-20200406:1.10
	netbsd-8-2-RELEASE:1.9
	ad-namecache-base3:1.10
	netbsd-9-0-RELEASE:1.10
	netbsd-9-0-RC2:1.10
	ad-namecache-base2:1.10
	ad-namecache-base1:1.10
	ad-namecache:1.10.0.6
	ad-namecache-base:1.10
	netbsd-9-0-RC1:1.10
	phil-wifi-20191119:1.10
	netbsd-9:1.10.0.4
	netbsd-9-base:1.10
	phil-wifi-20190609:1.10
	netbsd-8-1-RELEASE:1.9
	netbsd-8-1-RC1:1.9
	isaki-audio2:1.10.0.2
	isaki-audio2-base:1.10
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.7
	pgoyette-compat-0728:1.9
	netbsd-8-0-RELEASE:1.9
	phil-wifi:1.9.0.18
	phil-wifi-base:1.9
	pgoyette-compat-0625:1.9
	netbsd-8-0-RC2:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	netbsd-8-0-RC1:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	netbsd-7-1-2-RELEASE:1.7
	pgoyette-compat:1.9.0.16
	pgoyette-compat-base:1.9
	netbsd-7-1-1-RELEASE:1.7
	tls-maxphys-base-20171202:1.9
	matt-nb8-mediatek:1.9.0.14
	matt-nb8-mediatek-base:1.9
	nick-nhusb-base-20170825:1.9
	perseant-stdc-iso10646:1.9.0.12
	perseant-stdc-iso10646-base:1.9
	netbsd-8:1.9.0.10
	netbsd-8-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.8
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	jdolecek-ncq:1.9.0.6
	jdolecek-ncq-base:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.7.0.44
	netbsd-7-1-RELEASE:1.7
	netbsd-7-1-RC2:1.7
	nick-nhusb-base-20170204:1.9
	netbsd-7-nhusb-base-20170116:1.7
	bouyer-socketcan:1.9.0.4
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.7
	nick-nhusb-base-20161204:1.9
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.7
	nick-nhusb-base-20161004:1.9
	localcount-20160914:1.9
	netbsd-7-nhusb:1.7.0.42
	netbsd-7-nhusb-base:1.7
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.2
	pgoyette-localcount-base:1.9
	nick-nhusb-base-20160907:1.9
	nick-nhusb-base-20160529:1.9
	netbsd-7-0-1-RELEASE:1.7
	nick-nhusb-base-20160422:1.9
	nick-nhusb-base-20160319:1.9
	nick-nhusb-base-20151226:1.9
	netbsd-7-0:1.7.0.40
	netbsd-7-0-RELEASE:1.7
	nick-nhusb-base-20150921:1.8
	netbsd-7-0-RC3:1.7
	netbsd-7-0-RC2:1.7
	netbsd-7-0-RC1:1.7
	nick-nhusb-base-20150606:1.8
	nick-nhusb-base-20150406:1.7
	nick-nhusb:1.7.0.38
	nick-nhusb-base:1.7
	netbsd-6-0-6-RELEASE:1.7
	netbsd-6-1-5-RELEASE:1.7
	netbsd-7:1.7.0.36
	netbsd-7-base:1.7
	yamt-pagecache-base9:1.7
	yamt-pagecache-tag8:1.7
	netbsd-6-1-4-RELEASE:1.7
	netbsd-6-0-5-RELEASE:1.7
	tls-earlyentropy:1.7.0.34
	tls-earlyentropy-base:1.7
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.7
	riastradh-drm2-base3:1.7
	netbsd-6-1-3-RELEASE:1.7
	netbsd-6-0-4-RELEASE:1.7
	netbsd-6-1-2-RELEASE:1.7
	netbsd-6-0-3-RELEASE:1.7
	rmind-smpnet-nbase:1.7
	netbsd-6-1-1-RELEASE:1.7
	riastradh-drm2-base2:1.7
	riastradh-drm2-base1:1.7
	riastradh-drm2:1.7.0.32
	riastradh-drm2-base:1.7
	rmind-smpnet:1.7.0.24
	rmind-smpnet-base:1.7
	netbsd-6-1:1.7.0.30
	netbsd-6-0-2-RELEASE:1.7
	netbsd-6-1-RELEASE:1.7
	khorben-n900:1.7.0.28
	netbsd-6-1-RC4:1.7
	netbsd-6-1-RC3:1.7
	agc-symver:1.7.0.26
	agc-symver-base:1.7
	netbsd-6-1-RC2:1.7
	netbsd-6-1-RC1:1.7
	yamt-pagecache-base8:1.7
	netbsd-6-0-1-RELEASE:1.7
	yamt-pagecache-base7:1.7
	matt-nb6-plus-nbase:1.7
	yamt-pagecache-base6:1.7
	netbsd-6-0:1.7.0.22
	netbsd-6-0-RELEASE:1.7
	netbsd-6-0-RC2:1.7
	tls-maxphys:1.7.0.20
	tls-maxphys-base:1.7
	matt-nb6-plus:1.7.0.18
	matt-nb6-plus-base:1.7
	netbsd-6-0-RC1:1.7
	jmcneill-usbmp-base10:1.7
	yamt-pagecache-base5:1.7
	jmcneill-usbmp-base9:1.7
	yamt-pagecache-base4:1.7
	jmcneill-usbmp-base8:1.7
	jmcneill-usbmp-base7:1.7
	jmcneill-usbmp-base6:1.7
	jmcneill-usbmp-base5:1.7
	jmcneill-usbmp-base4:1.7
	jmcneill-usbmp-base3:1.7
	jmcneill-usbmp-pre-base2:1.7
	jmcneill-usbmp-base2:1.7
	netbsd-6:1.7.0.16
	netbsd-6-base:1.7
	jmcneill-usbmp:1.7.0.14
	jmcneill-usbmp-base:1.7
	jmcneill-audiomp3:1.7.0.12
	jmcneill-audiomp3-base:1.7
	yamt-pagecache-base3:1.7
	yamt-pagecache-base2:1.7
	yamt-pagecache:1.7.0.10
	yamt-pagecache-base:1.7
	rmind-uvmplock-nbase:1.7
	cherry-xenmp:1.7.0.8
	cherry-xenmp-base:1.7
	bouyer-quota2-nbase:1.7
	bouyer-quota2:1.7.0.6
	bouyer-quota2-base:1.7
	jruoho-x86intr:1.7.0.4
	jruoho-x86intr-base:1.7
	matt-mips64-premerge-20101231:1.7
	uebayasi-xip-base4:1.7
	uebayasi-xip-base3:1.7
	yamt-nfs-mp-base11:1.7
	uebayasi-xip-base2:1.7
	yamt-nfs-mp-base10:1.7
	uebayasi-xip-base1:1.7
	rmind-uvmplock:1.7.0.2
	rmind-uvmplock-base:1.7
	yamt-nfs-mp-base9:1.7
	uebayasi-xip:1.6.0.2
	uebayasi-xip-base:1.6
	matt-premerge-20091211:1.6
	yamt-nfs-mp-base8:1.3
	yamt-nfs-mp-base7:1.1
	jymxensuspend-base:1.1
	yamt-nfs-mp-base6:1.1
	jym-xensuspend-nbase:1.4
	yamt-nfs-mp:1.1.0.2
	yamt-nfs-mp-base5:1.1;
locks; strict;
comment	@# @;


1.10
date	2019.04.05.01.09.33;	author christos;	state Exp;
branches;
next	1.9;
commitid	rSU0mqy5LcNy56iB;

1.9
date	2015.10.19.16.16.32;	author pooka;	state Exp;
branches
	1.9.18.1;
next	1.8;
commitid	tw5dhIUFxtTYIJFy;

1.8
date	2015.05.16.13.59.00;	author pooka;	state Exp;
branches;
next	1.7;
commitid	gxX2hAyU2y9VYFly;

1.7
date	2010.02.16.20.42.44;	author pooka;	state Exp;
branches
	1.7.20.1
	1.7.38.1;
next	1.6;

1.6
date	2009.11.23.13.40.11;	author pooka;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2009.11.23.11.20.25;	author pooka;	state Exp;
branches;
next	1.4;

1.4
date	2009.10.06.09.12.47;	author pooka;	state Exp;
branches;
next	1.3;

1.3
date	2009.09.11.19.01.08;	author pooka;	state Exp;
branches;
next	1.2;

1.2
date	2009.09.07.20.50.35;	author pooka;	state Exp;
branches;
next	1.1;

1.1
date	2009.06.09.16.16.15;	author pooka;	state Exp;
branches
	1.1.2.1;
next	;

1.9.18.1
date	2019.06.10.22.09.50;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.7.20.1
date	2017.12.03.11.39.06;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.7.38.1
date	2015.06.06.14.40.26;	author skrll;	state Exp;
branches;
next	1.7.38.2;
commitid	O6LVO5i6UulOvnoy;

1.7.38.2
date	2015.12.27.12.10.08;	author skrll;	state Exp;
branches;
next	;
commitid	BTSqUD4SdJ5k7AOy;

1.6.2.1
date	2010.04.30.14.44.23;	author uebayasi;	state Exp;
branches;
next	;

1.1.2.1
date	2009.06.09.16.16.15;	author yamt;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2009.06.20.07.20.35;	author yamt;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2009.09.16.13.38.04;	author yamt;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2010.03.11.15.04.33;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.10
log
@need subr_disklabel.c
@
text
@#	$NetBSD: Makefile,v 1.9 2015/10/19 16:16:32 pooka Exp $
#

.PATH:	${.CURDIR}/../../../../kern					\
	${.CURDIR}/../../../../dev ${.CURDIR}/../../../../dev/dkwedge

LIB=	rumpdev_disk
COMMENT=Disk-like device support (used e.g. by file systems)

SRCS=	disk_component.c

#
# We use subr_disk_mbr on all platforms.  The current structure of
# code allows us to pick only one readdisklabel() routine.  While
# this is not the native one for all platforms, it's probably the
# most common one in an image floating on the internetto.
SRCS+=	subr_disk_mbr.c

# sys/kern
SRCS+=	subr_disk.c subr_disk_open.c subr_disklabel.c
# sys/dev
SRCS+=	dksubr.c dk.c

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.9
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.8 2015/05/16 13:59:00 pooka Exp $
d20 1
a20 1
SRCS+=	subr_disk.c subr_disk_open.c
@


1.9.18.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2019/04/05 01:09:33 christos Exp $
d20 1
a20 1
SRCS+=	subr_disk.c subr_disk_open.c subr_disklabel.c
@


1.8
log
@Satisfy yet another non-modular driver still requiring a manual init call.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2010/02/16 20:42:44 pooka Exp $
d8 2
@


1.7
log
@Globally define -Wno-pointer-sign, as it has become a pointless
exercise of "add it to every Makefile individually".

XXX: should autosynchronize with the rest of the kernel buildflags
in sys/conf/Makefile.kern.inc.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2009/11/23 13:40:11 pooka Exp $
d8 1
d15 1
a15 1
SRCS=	subr_disk_mbr.c
@


1.7.20.1
log
@update from HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
a7 3
COMMENT=Disk-like device support (used e.g. by file systems)

SRCS=	disk_component.c
d14 1
a14 1
SRCS+=	subr_disk_mbr.c
@


1.7.38.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2015/05/16 13:59:00 pooka Exp $
a7 1
SRCS=	disk_component.c
d14 1
a14 1
SRCS+=	subr_disk_mbr.c
@


1.7.38.2
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7.38.1 2015/06/06 14:40:26 skrll Exp $
a7 2
COMMENT=Disk-like device support (used e.g. by file systems)

@


1.6
log
@If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.
This allows use of subr_disk_mbr on all archs.  Default to it for
the rump disk component.  No functional change for regular kernels.
(The other option would've been to include dkbad in disklabels
everywhere, but arguably this approach has less possible side-effects,
especially given that wedges and related magic will take over the
world any second now).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2009/11/23 11:20:25 pooka Exp $
a20 2
CFLAGS+=	-Wno-pointer-sign

@


1.6.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d21 2
@


1.5
log
@kern_physio is already provided by rumpvfs
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2009/10/06 09:12:47 pooka Exp $
d10 5
a14 3
# XXX: not all platforms support this for now, since disklabel contains
# some MD weirdosities.  Enable only on i386.  Rest of the platforms
# get a dummy implementation (due to it being easier with setlists).
a15 1
.if ${MACHINE} == "i386"
d17 1
a17 1
SRCS=	subr_disk.c subr_disk_mbr.c subr_disk_open.c
a19 3
.else
SRCS+=	dummy.c
.endif
@


1.4
log
@Build proper version for i386 (since it works) and dummy versions
for the rest until the disklabel MD problems get sorted out.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2009/09/11 19:01:08 pooka Exp $
d16 1
a16 1
SRCS=	kern_physio.c subr_disk.c subr_disk_mbr.c subr_disk_open.c
@


1.3
log
@librumpdev_disk doesn't compile on a lot of platforms, so replace
it with a dummy for now until I can work out the problems (nothing
in-tree links against it yet).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/09/07 20:50:35 pooka Exp $
d9 6
d16 1
a16 2
#SRCS=	kern_physio.c subr_disk.c subr_disk_mbr.c subr_disk_open.c

d18 2
a19 2
#SRCS+=	dksubr.c dk.c

d21 1
@


1.2
log
@remember to build opendisk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2009/06/09 16:16:15 pooka Exp $
d10 1
a10 1
SRCS=	kern_physio.c subr_disk.c subr_disk_mbr.c subr_disk_open.c
d13 3
a15 1
SRCS+=	dksubr.c dk.c
@


1.1
log
@Checkpoint a bunch of work-in-progress: support for disk devices
and raidframe.  Raidframe works well enough to configure a raid in
the rump kernel, but the usage is "interesting" (pending some other
changes/cleanup from other parts in my tree).

These are not built by default yet.
@
text
@d1 1
a1 1
#	$NetBSD$
d10 1
a10 1
SRCS=	kern_physio.c subr_disk.c subr_disk_mbr.c
@


1.1.2.1
log
@file Makefile was added on branch yamt-nfs-mp on 2009-06-20 07:20:35 +0000
@
text
@d1 18
@


1.1.2.2
log
@sync with head
@
text
@a0 18
#	$NetBSD$
#

.PATH:	${.CURDIR}/../../../../kern					\
	${.CURDIR}/../../../../dev ${.CURDIR}/../../../../dev/dkwedge

LIB=	rumpdev_disk

# sys/kern
SRCS=	kern_physio.c subr_disk.c subr_disk_mbr.c

# sys/dev
SRCS+=	dksubr.c dk.c

CFLAGS+=	-Wno-pointer-sign

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@


1.1.2.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2009/06/20 07:20:35 yamt Exp $
d10 1
a10 1
#SRCS=	kern_physio.c subr_disk.c subr_disk_mbr.c subr_disk_open.c
d13 1
a13 3
#SRCS+=	dksubr.c dk.c

SRCS+=	dummy.c
@


1.1.2.4
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.3 2009/09/16 13:38:04 yamt Exp $
d9 2
a10 6
#
# We use subr_disk_mbr on all platforms.  The current structure of
# code allows us to pick only one readdisklabel() routine.  While
# this is not the native one for all platforms, it's probably the
# most common one in an image floating on the internetto.
SRCS=	subr_disk_mbr.c
a11 2
# sys/kern
SRCS+=	subr_disk.c subr_disk_open.c
d13 5
a17 1
SRCS+=	dksubr.c dk.c
@


