Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/pci Pull up revision 1.46 (requested by bouyer):



details:   https://anonhg.NetBSD.org/src/rev/834fe99db37a
branches:  netbsd-1-5
changeset: 491746:834fe99db37a
user:      he <he%NetBSD.org@localhost>
date:      Tue May 15 21:00:17 2001 +0000

description:
Pull up revision 1.46 (requested by bouyer):
  Add a pa_bus member to pci_attach_args, so that the PCI bus number
  can be used in pci device drivers.

diffstat:

 sys/dev/pci/pcivar.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8d808513b6cb -r 834fe99db37a sys/dev/pci/pcivar.h
--- a/sys/dev/pci/pcivar.h      Tue May 15 20:53:36 2001 +0000
+++ b/sys/dev/pci/pcivar.h      Tue May 15 21:00:17 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcivar.h,v 1.42 2000/05/10 16:58:42 thorpej Exp $      */
+/*     $NetBSD: pcivar.h,v 1.42.4.1 2001/05/15 21:00:17 he 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