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.52 (requested by bouyer):



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

description:
Pull up revision 1.52 (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/pci.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 834fe99db37a -r 852fef2a495e sys/dev/pci/pci.c
--- a/sys/dev/pci/pci.c Tue May 15 21:00:17 2001 +0000
+++ b/sys/dev/pci/pci.c Tue May 15 21:00:40 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci.c,v 1.48 2000/05/10 08:39:58 kleink Exp $  */
+/*     $NetBSD: pci.c,v 1.48.4.1 2001/05/15 21:00:40 he Exp $  */
 
 /*
  * Copyright (c) 1995, 1996, 1997, 1998
@@ -186,6 +186,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;



Home | Main Index | Thread Index | Old Index