PERFORCE change 54807 for review
Juli Mallett
jmallett at FreeBSD.org
Sun Jun 13 10:19:25 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=54807
Change 54807 by jmallett at 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");
More information about the p4-projects
mailing list