PERFORCE change 42066 for review

Peter Wemm peter at FreeBSD.org
Tue Nov 11 16:09:10 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=42066

Change 42066 by peter at peter_daintree on 2003/11/11 16:08:32

	integ -I -b smp_hammer

Affected files ...

.. //depot/projects/hammer/sys/amd64/amd64/mptable.c#11 integrate

Differences ...

==== //depot/projects/hammer/sys/amd64/amd64/mptable.c#11 (text+ko) ====

@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/i386/i386/mptable.c,v 1.224 2003/11/11 17:14:26 jhb Exp $");
+__FBSDID("$FreeBSD: src/sys/i386/i386/mptable.c,v 1.225 2003/11/11 21:19:43 jhb Exp $");
 
 #include "opt_mptable_force_htt.h"
 #include <sys/param.h>
@@ -888,6 +888,8 @@
 		return (EINVAL);
 	if (pci0 == -1 || pci0 + bus > mptable_maxbusid)
 		return (ENXIO);
+	if (busses[pci0 + bus].bus_type != PCI)
+		return (ENXIO);
 	args.bus = pci0 + bus;
 	args.found = 0;
 	mptable_walk_table(mptable_pci_probe_table_handler, &args);


More information about the p4-projects mailing list