Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h
in pci_subr.c.
This commit is contained in:
parent
7f3eb8e4fb
commit
377e2c7b82
@ -1,9 +1,11 @@
|
||||
# $NetBSD: files.pci,v 1.27 1997/09/12 05:20:52 mycroft Exp $
|
||||
# $NetBSD: files.pci,v 1.28 1997/09/13 08:49:50 enami Exp $
|
||||
#
|
||||
# Config file and device description for machine-independent PCI code.
|
||||
# Included by ports that need it. Requires that the SCSI files be
|
||||
# defined first.
|
||||
|
||||
defopt PCIVERBOSE
|
||||
|
||||
device pci {[dev = -1], [function = -1]}
|
||||
attach pci at pcibus
|
||||
file dev/pci/pci.c pci needs-flag
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pci_subr.c,v 1.20 1997/03/19 19:38:46 cgd Exp $ */
|
||||
/* $NetBSD: pci_subr.c,v 1.21 1997/09/13 08:49:51 enami Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Christopher G. Demetriou. All rights reserved.
|
||||
@ -34,6 +34,8 @@
|
||||
* PCI autoconfiguration support functions.
|
||||
*/
|
||||
|
||||
#include "opt_pciverbose.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/device.h>
|
||||
|
Loading…
Reference in New Issue
Block a user