PERFORCE change 135550 for review

Warner Losh imp at FreeBSD.org
Sat Feb 16 21:58:36 PST 2008


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

Change 135550 by imp at imp_lighthouse on 2008/02/17 05:58:30

	Implement the PCIB_IVAR_DOMAIN variable.  On malta, we have only
	one domain: domain 0.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips32/malta/gt_pci.c#2 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips32/malta/gt_pci.c#2 (text+ko) ====

@@ -554,6 +554,9 @@
 {
 	struct gt_pci_softc *sc = device_get_softc(dev);
 	switch (which) {
+	case PCIB_IVAR_DOMAIN:
+		*result = 0;
+		return (0);
 	case PCIB_IVAR_BUS:
 		*result = sc->sc_busno;
 		return (0);


More information about the p4-projects mailing list