summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/pci/pci_bus.c8
-rw-r--r--sys/amd64/pci/pci_cfgreg.c8
-rw-r--r--sys/i386/isa/pcibus.c8
-rw-r--r--sys/i386/pci/pci_bus.c8
-rw-r--r--sys/i386/pci/pci_cfgreg.c8
-rw-r--r--sys/i386/pci/pci_pir.c8
6 files changed, 36 insertions, 12 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c
index a7b4e82..08cba7f 100644
--- a/sys/amd64/pci/pci_bus.c
+++ b/sys/amd64/pci/pci_bus.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcibus.c,v 1.45 1999/08/09 21:12:18 wpaul Exp $
+ * $Id: pcibus.c,v 1.46 1999/08/10 09:22:21 peter Exp $
*
*/
@@ -443,7 +443,11 @@ nexus_pcib_identify(driver_t *driver, device_t parent)
class, subclass,
&busnum);
if (s) {
- child = BUS_ADD_CHILD(parent, 0,
+ /*
+ * Add at priority 100 to make sure we
+ * go after any motherboard resources
+ */
+ child = BUS_ADD_CHILD(parent, 100,
"pcib", busnum);
device_set_desc(child, s);
}
diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c
index a7b4e82..08cba7f 100644
--- a/sys/amd64/pci/pci_cfgreg.c
+++ b/sys/amd64/pci/pci_cfgreg.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcibus.c,v 1.45 1999/08/09 21:12:18 wpaul Exp $
+ * $Id: pcibus.c,v 1.46 1999/08/10 09:22:21 peter Exp $
*
*/
@@ -443,7 +443,11 @@ nexus_pcib_identify(driver_t *driver, device_t parent)
class, subclass,
&busnum);
if (s) {
- child = BUS_ADD_CHILD(parent, 0,
+ /*
+ * Add at priority 100 to make sure we
+ * go after any motherboard resources
+ */
+ child = BUS_ADD_CHILD(parent, 100,
"pcib", busnum);
device_set_desc(child, s);
}
diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c
index a7b4e82..08cba7f 100644
--- a/sys/i386/isa/pcibus.c
+++ b/sys/i386/isa/pcibus.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcibus.c,v 1.45 1999/08/09 21:12:18 wpaul Exp $
+ * $Id: pcibus.c,v 1.46 1999/08/10 09:22:21 peter Exp $
*
*/
@@ -443,7 +443,11 @@ nexus_pcib_identify(driver_t *driver, device_t parent)
class, subclass,
&busnum);
if (s) {
- child = BUS_ADD_CHILD(parent, 0,
+ /*
+ * Add at priority 100 to make sure we
+ * go after any motherboard resources
+ */
+ child = BUS_ADD_CHILD(parent, 100,
"pcib", busnum);
device_set_desc(child, s);
}
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c
index a7b4e82..08cba7f 100644
--- a/sys/i386/pci/pci_bus.c
+++ b/sys/i386/pci/pci_bus.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcibus.c,v 1.45 1999/08/09 21:12:18 wpaul Exp $
+ * $Id: pcibus.c,v 1.46 1999/08/10 09:22:21 peter Exp $
*
*/
@@ -443,7 +443,11 @@ nexus_pcib_identify(driver_t *driver, device_t parent)
class, subclass,
&busnum);
if (s) {
- child = BUS_ADD_CHILD(parent, 0,
+ /*
+ * Add at priority 100 to make sure we
+ * go after any motherboard resources
+ */
+ child = BUS_ADD_CHILD(parent, 100,
"pcib", busnum);
device_set_desc(child, s);
}
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c
index a7b4e82..08cba7f 100644
--- a/sys/i386/pci/pci_cfgreg.c
+++ b/sys/i386/pci/pci_cfgreg.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcibus.c,v 1.45 1999/08/09 21:12:18 wpaul Exp $
+ * $Id: pcibus.c,v 1.46 1999/08/10 09:22:21 peter Exp $
*
*/
@@ -443,7 +443,11 @@ nexus_pcib_identify(driver_t *driver, device_t parent)
class, subclass,
&busnum);
if (s) {
- child = BUS_ADD_CHILD(parent, 0,
+ /*
+ * Add at priority 100 to make sure we
+ * go after any motherboard resources
+ */
+ child = BUS_ADD_CHILD(parent, 100,
"pcib", busnum);
device_set_desc(child, s);
}
diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c
index a7b4e82..08cba7f 100644
--- a/sys/i386/pci/pci_pir.c
+++ b/sys/i386/pci/pci_pir.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcibus.c,v 1.45 1999/08/09 21:12:18 wpaul Exp $
+ * $Id: pcibus.c,v 1.46 1999/08/10 09:22:21 peter Exp $
*
*/
@@ -443,7 +443,11 @@ nexus_pcib_identify(driver_t *driver, device_t parent)
class, subclass,
&busnum);
if (s) {
- child = BUS_ADD_CHILD(parent, 0,
+ /*
+ * Add at priority 100 to make sure we
+ * go after any motherboard resources
+ */
+ child = BUS_ADD_CHILD(parent, 100,
"pcib", busnum);
device_set_desc(child, s);
}
OpenPOWER on IntegriCloud