head	1.4;
access;
symbols
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.2
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.32
	perseant-exfatfs-base:1.2
	netbsd-9-4-RELEASE:1.1
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	thorpej-ifq:1.2.0.30
	thorpej-ifq-base:1.2
	thorpej-altq-separation:1.2.0.28
	thorpej-altq-separation-base:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.26
	netbsd-10-base:1.2
	bouyer-sunxi-drm:1.2.0.24
	bouyer-sunxi-drm-base:1.2
	netbsd-9-3-RELEASE:1.1
	thorpej-i2c-spi-conf2:1.2.0.22
	thorpej-i2c-spi-conf2-base:1.2
	thorpej-futex2:1.2.0.20
	thorpej-futex2-base:1.2
	thorpej-cfargs2:1.2.0.18
	thorpej-cfargs2-base:1.2
	cjep_sun2x-base1:1.2
	cjep_sun2x:1.2.0.16
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	netbsd-9-2-RELEASE:1.1
	cjep_staticlib_x:1.2.0.14
	cjep_staticlib_x-base:1.2
	thorpej-i2c-spi-conf:1.2.0.12
	thorpej-i2c-spi-conf-base:1.2
	thorpej-cfargs:1.2.0.10
	thorpej-cfargs-base:1.2
	thorpej-futex:1.2.0.8
	thorpej-futex-base:1.2
	netbsd-9-1-RELEASE:1.1
	bouyer-xenpvh-base2:1.2
	phil-wifi-20200421:1.2
	bouyer-xenpvh-base1:1.2
	phil-wifi-20200411:1.2
	bouyer-xenpvh:1.2.0.6
	bouyer-xenpvh-base:1.2
	is-mlppp:1.2.0.4
	is-mlppp-base:1.2
	phil-wifi-20200406:1.2
	ad-namecache-base3:1.2
	netbsd-9-0-RELEASE:1.1
	netbsd-9-0-RC2:1.1
	ad-namecache-base2:1.2
	ad-namecache-base1:1.2
	ad-namecache:1.2.0.2
	ad-namecache-base:1.2
	netbsd-9-0-RC1:1.1
	phil-wifi-20191119:1.2
	netbsd-9:1.1.0.14
	netbsd-9-base:1.1
	phil-wifi-20190609:1.1
	isaki-audio2:1.1.0.12
	isaki-audio2-base:1.1
	pgoyette-compat-merge-20190127:1.1
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat-0906:1.1
	jdolecek-ncqfixes:1.1.0.10
	jdolecek-ncqfixes-base:1.1
	pgoyette-compat-0728:1.1
	phil-wifi:1.1.0.8
	phil-wifi-base:1.1
	pgoyette-compat-0625:1.1
	pgoyette-compat-0521:1.1
	pgoyette-compat-0502:1.1
	pgoyette-compat-0422:1.1
	pgoyette-compat-0415:1.1
	pgoyette-compat-0407:1.1
	pgoyette-compat-0330:1.1
	pgoyette-compat-0322:1.1
	pgoyette-compat-0315:1.1
	pgoyette-compat:1.1.0.6
	pgoyette-compat-base:1.1
	tls-maxphys:1.1.0.4
	tls-maxphys-base-20171202:1.1
	nick-nhusb:1.1.0.2
	nick-nhusb-base-20170825:1.1;
locks; strict;
comment	@# @;


1.4
date	2025.12.31.16.06.40;	author riastradh;	state Exp;
branches;
next	1.3;
commitid	dDR5zupUDjqEUzoG;

1.3
date	2025.07.26.14.18.13;	author martin;	state Exp;
branches;
next	1.2;
commitid	mK9I1AcDVuSRmg4G;

1.2
date	2019.10.28.02.56.40;	author ozaki-r;	state Exp;
branches
	1.2.32.1;
next	1.1;
commitid	AOQwpzwTyAdN3AIB;

1.1
date	2017.08.02.08.39.14;	author cherry;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.8.1;
next	;
commitid	mw4UHnlEDuEfbC1A;

1.2.32.1
date	2025.08.02.05.56.45;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.1.2.1
date	2017.08.02.08.39.14;	author skrll;	state dead;
branches;
next	1.1.2.2;
commitid	UQQpnjvcNkUZn05A;

1.1.2.2
date	2017.08.28.17.52.05;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.1.4.1
date	2017.08.02.08.39.14;	author jdolecek;	state dead;
branches;
next	1.1.4.2;
commitid	XcIYRZTAh1LmerhA;

1.1.4.2
date	2017.12.03.11.37.07;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.1.8.1
date	2020.04.13.08.04.26;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;


desc
@@


1.4
log
@dev/pci/files.virtio: Note not to add more virtio drivers here.

virtio is not pci-specific and the drivers are not pci-specific so
they shouldn't be in a pci-specific place.
@
text
@#	$NetBSD: files.virtio,v 1.3 2025/07/26 14:18:13 martin Exp $

# Please DO NOT add new virtio drivers here.  New virtio drivers go in
# sys/dev/virtio/ and eventually all the drivers that are here should
# be moved there.  Only the virtio@@pci attachment should live here.

# VirtIO
device	virtio {}
file	dev/pci/virtio.c	virtio

attach	ld at virtio with ld_virtio
file	dev/pci/ld_virtio.c	ld_virtio

device	viomb
attach	viomb at virtio
file	dev/pci/viomb.c		viomb

device	viogpu: wsemuldisplaydev, rasops32, vcons
attach	viogpu at virtio
file	dev/pci/viogpu.c	viogpu

device	vioif: ether, ifnet, arp
attach	vioif at virtio
file	dev/pci/if_vioif.c	vioif

device	viornd
attach	viornd at virtio
file	dev/pci/viornd.c	viornd

device	vioscsi: scsi
attach	vioscsi at virtio
file	dev/pci/vioscsi.c	vioscsi

device	vio9p
attach	vio9p at virtio
file	dev/pci/vio9p.c		vio9p
@


1.3
log
@PR 58681: add a port of the OpenBSD viogpu(4) driver written by
Joshua Stein <jcs@@openbsd.org>.
Port by George Matsumura with help from Jiaxun Yang.
@
text
@d1 5
a5 1
#	$NetBSD: files.virtio,v 1.2 2019/10/28 02:56:40 ozaki-r Exp $
@


1.2
log
@Implement a front-end driver of virtio-9p called vio9p

In conjunction with mount_9p, it enables a NetBSD system running as a VM guest
to mount an exported filesystem by the host via virtio-9p.  It exports a 9p
end-point of virtio-9p via a character device file for mount_9p.

Reviewed by yamaguchi@@
@
text
@d1 1
a1 1
#	$NetBSD: files.virtio,v 1.1 2017/08/02 08:39:14 cherry Exp $
d14 4
@


1.2.32.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.virtio,v 1.3 2025/07/26 14:18:13 martin Exp $
a13 4
device	viogpu: wsemuldisplaydev, rasops32, vcons
attach	viogpu at virtio
file	dev/pci/viogpu.c	viogpu

@


1.1
log
@Reorg the virtio(4) config(9) code to be explicitly pci specific.

We'll later use this for a non-pci virtio(4) usecase.

ok martin
@
text
@d1 1
a1 1
#	$NetBSD$
d26 3
@


1.1.8.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@a25 3
device	vio9p
attach	vio9p at virtio
file	dev/pci/vio9p.c		vio9p
@


1.1.4.1
log
@file files.virtio was added on branch tls-maxphys on 2017-12-03 11:37:07 +0000
@
text
@d1 25
@


1.1.4.2
log
@update from HEAD
@
text
@a0 25
#	$NetBSD$

# VirtIO
device	virtio {}
file	dev/pci/virtio.c	virtio

attach	ld at virtio with ld_virtio
file	dev/pci/ld_virtio.c	ld_virtio

device	viomb
attach	viomb at virtio
file	dev/pci/viomb.c		viomb

device	vioif: ether, ifnet, arp
attach	vioif at virtio
file	dev/pci/if_vioif.c	vioif

device	viornd
attach	viornd at virtio
file	dev/pci/viornd.c	viornd

device	vioscsi: scsi
attach	vioscsi at virtio
file	dev/pci/vioscsi.c	vioscsi

@


1.1.2.1
log
@file files.virtio was added on branch nick-nhusb on 2017-08-28 17:52:05 +0000
@
text
@d1 25
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 25
#	$NetBSD: files.virtio,v 1.1 2017/08/02 08:39:14 cherry Exp $

# VirtIO
device	virtio {}
file	dev/pci/virtio.c	virtio

attach	ld at virtio with ld_virtio
file	dev/pci/ld_virtio.c	ld_virtio

device	viomb
attach	viomb at virtio
file	dev/pci/viomb.c		viomb

device	vioif: ether, ifnet, arp
attach	vioif at virtio
file	dev/pci/if_vioif.c	vioif

device	viornd
attach	viornd at virtio
file	dev/pci/viornd.c	viornd

device	vioscsi: scsi
attach	vioscsi at virtio
file	dev/pci/vioscsi.c	vioscsi

@


