Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2008 05:58:35 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 135550 for review
Message-ID:  <200802170558.m1H5wZMC052512@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135550

Change 135550 by imp@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802170558.m1H5wZMC052512>