Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpci Adjust to kernel changes



details:   https://anonhg.NetBSD.org/src/rev/9b764da32efe
branches:  trunk
changeset: 332435:9b764da32efe
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 21 14:32:37 2014 +0000

description:
Adjust to kernel changes

diffstat:

 lib/libpci/Makefile |  8 +++++---
 lib/libpci/pci.h    |  4 +---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 76728bf8c886 -r 9b764da32efe lib/libpci/Makefile
--- a/lib/libpci/Makefile       Sun Sep 21 14:31:38 2014 +0000
+++ b/lib/libpci/Makefile       Sun Sep 21 14:32:37 2014 +0000
@@ -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
 
diff -r 76728bf8c886 -r 9b764da32efe lib/libpci/pci.h
--- a/lib/libpci/pci.h  Sun Sep 21 14:31:38 2014 +0000
+++ b/lib/libpci/pci.h  Sun Sep 21 14:32:37 2014 +0000
@@ -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    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);
 



Home | Main Index | Thread Index | Old Index