NetBSD/share/examples/refuse/pcifs/Makefile

13 lines
220 B
Makefile
Raw Normal View History

Add a new, trivial file system, pcifs, which shows the devices on a pcibus (via pcictl(8)) under the mount point: % df /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on puffs:refuse:pcifs 0 0 0 100% /mnt % l /mnt total 642 drwxr-xr-x 2 root wheel 0 Jan 1 1970 . drwxr-xr-x 31 root wheel 1024 May 16 20:06 .. lrw-r--r-- 1 agc agc 65 May 16 22:05 000:00:0: -> Intel 82443BX Host Bridge/Controller (host bridge, revision 0x01) lrw-r--r-- 1 agc agc 55 May 16 22:05 000:01:0: -> Intel 82443BX AGP Interface (PCI bridge, revision 0x01) lrw-r--r-- 1 agc agc 64 May 16 22:05 000:07:0: -> Intel 82371AB (PIIX4) PCI-ISA Bridge (ISA bridge, revision 0x08) lrw-r--r-- 1 agc agc 86 May 16 22:05 000:07:1: -> Intel 82371AB (PIIX4) IDE controller (IDE mass storage, interface 0x8a, revision 0x01) lrw-r--r-- 1 agc agc 58 May 16 22:05 000:07:2: -> Intel 82371AB (PIIX4) USB Host Controller (USB serial bus) lrw-r--r-- 1 agc agc 87 May 16 22:05 000:07:3: -> Intel 82371AB (PIIX4) Power Management Controller (miscellaneous bridge, revision 0x08) lrw-r--r-- 1 agc agc 36 May 16 22:05 000:15:0: -> VMware Virtual SVGA II (VGA display) lrw-r--r-- 1 agc agc 56 May 16 22:05 000:16:0: -> Symbios Logic 53c1030 (SCSI mass storage, revision 0x01) lrw-r--r-- 1 agc agc 75 May 16 22:05 000:17:0: -> Advanced Micro Devices PCnet-PCI Ethernet (ethernet network, revision 0x10) lrw-r--r-- 1 agc agc 53 May 16 22:05 000:18:0: -> Ensoniq AudioPCI 97 (audio multimedia, revision 0x02) % pcifs uses the virtdir routines, librefuse and puffs.
2007-05-17 01:44:30 +04:00
# $NetBSD: Makefile,v 1.1 2007/05/16 21:44:30 agc Exp $
PROG=pcifs
SRCS=pcifs.c virtdir.c
LDADD+= -lrefuse
CPPFLAGS+= -g -I${.CURDIR}/../virtdir
MAN=pcifs.8
WARNS=4
.PATH: ${.CURDIR}/../virtdir
.include <bsd.prog.mk>