Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add a `bus' member to the pci_attach_args. This...
details: https://anonhg.NetBSD.org/src/rev/8071aefeff65
branches: trunk
changeset: 472737:8071aefeff65
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu May 06 01:01:19 1999 +0000
description:
Add a `bus' member to the pci_attach_args. This is not normally used,
but some child drivers might need to know this information.
diffstat:
sys/dev/pci/pci.c | 3 ++-
sys/dev/pci/pcivar.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 1e05e0d69e6e -r 8071aefeff65 sys/dev/pci/pci.c
--- a/sys/dev/pci/pci.c Thu May 06 00:42:16 1999 +0000
+++ b/sys/dev/pci/pci.c Thu May 06 01:01:19 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci.c,v 1.40 1998/11/07 16:47:22 drochner Exp $ */
+/* $NetBSD: pci.c,v 1.41 1999/05/06 01:01:19 thorpej Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998
@@ -178,6 +178,7 @@
pa.pa_memt = memt;
pa.pa_dmat = sc->sc_dmat;
pa.pa_pc = pc;
+ pa.pa_bus = bus;
pa.pa_device = device;
pa.pa_function = function;
pa.pa_tag = tag;
diff -r 1e05e0d69e6e -r 8071aefeff65 sys/dev/pci/pcivar.h
--- a/sys/dev/pci/pcivar.h Thu May 06 00:42:16 1999 +0000
+++ b/sys/dev/pci/pcivar.h Thu May 06 01:01:19 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcivar.h,v 1.38 1999/03/19 03:37:52 cgd Exp $ */
+/* $NetBSD: pcivar.h,v 1.39 1999/05/06 01:01:19 thorpej Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -86,6 +86,7 @@
pci_chipset_tag_t pa_pc;
int pa_flags; /* flags; see below */
+ u_int pa_bus;
u_int pa_device;
u_int pa_function;
pcitag_t pa_tag;
Home |
Main Index |
Thread Index |
Old Index