Date: Sun, 13 Jun 2004 10:17:08 GMT From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 54807 for review Message-ID: <200406131017.i5DAH8WI097555@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=54807 Change 54807 by jmallett@jmallett_oingo on 2004/06/13 10:16:25 Don't believe the lies of the IP24! Submitted by: Anders Gavare md1gavan at mdstud.chalmers.se Affected files ... .. //depot/projects/mips/sys/mips/sgimips/imc/imc.c#6 edit Differences ... ==== //depot/projects/mips/sys/mips/sgimips/imc/imc.c#6 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/mips/sys/mips/sgimips/imc/imc.c#5 $ + * $P4: //depot/projects/mips/sys/mips/sgimips/imc/imc.c#6 $ */ #include <sys/cdefs.h> @@ -104,6 +104,9 @@ uint32_t sysid; sysid = IMC_READ_4(imc_port, IMC_SYSID); + /* IP24 lies about having EISA. Don't believe its sugary-sweet lies! */ + if (mach_subtype == MACH_SGI_IP22_GUINESS) + sysid &= ~IMC_SYSID_HAVEISA; device_printf(dev, "revision %d, EISA %s\n", sysid & IMC_SYSID_REVMASK, sysid & IMC_SYSID_HAVEISA ? "present" : "not present");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406131017.i5DAH8WI097555>