diff options
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/Makefile | 1 | ||||
| -rw-r--r-- | sys/modules/p9fs/Makefile | 8 | ||||
| -rw-r--r-- | sys/modules/virtio/Makefile | 2 | ||||
| -rw-r--r-- | sys/modules/virtio/p9fs/Makefile | 32 |
4 files changed, 42 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 1db14cfa647d..3f8fb2351425 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -301,6 +301,7 @@ SUBDIR= \ otus \ ${_otusfw} \ ow \ + p9fs \ ${_padlock} \ ${_padlock_rng} \ ${_pchtherm} \ diff --git a/sys/modules/p9fs/Makefile b/sys/modules/p9fs/Makefile new file mode 100644 index 000000000000..ae90cb3a46d7 --- /dev/null +++ b/sys/modules/p9fs/Makefile @@ -0,0 +1,8 @@ +.PATH: ${SRCTOP}/sys/fs/p9fs + +KMOD= p9fs +SRCS= vnode_if.h \ + p9_client.c p9_protocol.c p9_transport.c \ + p9fs_subr.c p9fs_vfsops.c p9fs_vnops.c + +.include <bsd.kmod.mk> diff --git a/sys/modules/virtio/Makefile b/sys/modules/virtio/Makefile index 7622e58c0c93..f00cdc7b23ca 100644 --- a/sys/modules/virtio/Makefile +++ b/sys/modules/virtio/Makefile @@ -22,6 +22,6 @@ # SUCH DAMAGE. # -SUBDIR= virtio pci network block balloon scsi random console +SUBDIR= virtio pci network block balloon scsi random console p9fs .include <bsd.subdir.mk> diff --git a/sys/modules/virtio/p9fs/Makefile b/sys/modules/virtio/p9fs/Makefile new file mode 100644 index 000000000000..48631efb6973 --- /dev/null +++ b/sys/modules/virtio/p9fs/Makefile @@ -0,0 +1,32 @@ +# +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# + +.PATH: ${SRCTOP}/sys/dev/virtio/p9fs + +KMOD= virtio_p9fs +SRCS= virtio_p9fs.c +SRCS+= virtio_bus_if.h virtio_if.h +SRCS+= bus_if.h device_if.h + +.include <bsd.kmod.mk> |
