Module Name:    src
Committed By:   christos
Date:           Sun Sep 21 14:32:37 UTC 2014

Modified Files:
        src/lib/libpci: Makefile pci.h

Log Message:
Adjust to kernel changes


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libpci/Makefile
cvs rdiff -u -r1.5 -r1.6 src/lib/libpci/pci.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libpci/Makefile
diff -u src/lib/libpci/Makefile:1.4 src/lib/libpci/Makefile:1.5
--- src/lib/libpci/Makefile:1.4	Thu Jul 24 21:38:26 2014
+++ src/lib/libpci/Makefile	Sun Sep 21 10:32:37 2014
@@ -1,12 +1,14 @@
-#	$NetBSD: Makefile,v 1.4 2014/07/25 01:38:26 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2014/09/21 14:32:37 christos Exp $
 
 .include <bsd.own.mk>
 
 LIB=	pci
 
-SRCS=	pci_bus.c pci_device.c pci_drvname.c pci_subr.c pci_verbose.c
+SRCS=	pci_bus.c pci_device.c pci_drvname.c pci_subr.c dev_verbose.c
+SYSDIR= ${NETBSDSRCDIR}/sys/
 
-.PATH.c: ${NETBSDSRCDIR}/sys/dev/pci
+.PATH.c: ${SYSDIR}/dev/pci ${SYSDIR}/dev
+CPPFLAGS+= -I${SYSDIR}
 
 MAN=	pci.3
 

Index: src/lib/libpci/pci.h
diff -u src/lib/libpci/pci.h:1.5 src/lib/libpci/pci.h:1.6
--- src/lib/libpci/pci.h:1.5	Thu Jul 24 21:38:26 2014
+++ src/lib/libpci/pci.h	Sun Sep 21 10:32:37 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: pci.h,v 1.5 2014/07/25 01:38:26 mrg Exp $	*/
+/*	$NetBSD: pci.h,v 1.6 2014/09/21 14:32:37 christos Exp $	*/
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -56,8 +56,6 @@ int	pcidev_conf_write(int, u_int, pcireg
 int	pci_drvname(int, u_int, u_int, char *, size_t);
 
 /* pci_subr.c */
-const char *pci_findvendor_real(pcireg_t);
-const char *pci_findproduct_real(pcireg_t);
 void	pci_devinfo(pcireg_t, pcireg_t, int, char *, size_t);
 void	pci_conf_print(int, u_int, u_int, u_int);
 

Reply via email to