Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Jared D. McNeill <jmcneill@netbsd.org>
List: source-changes
Date: 02/05/2007 23:38:15
Module Name:	src
Committed By:	jmcneill
Date:		Mon Feb  5 23:38:15 UTC 2007

Modified Files:
	src/sys/dev/pci: amdpm.c amdpm_smbus.c amdpmvar.h

Log Message:
Disgusting Xbox hack;

The "pci0 dev 1 function 2" aka "System Management" on the nForce chipset
isn't detected on the Xbox. If XBOX is defined and arch_i386_is_xbox is
true, force intrline to 12 and map the system management IO space at
0x8000. We can now call iic_smbus_intr when a system management interrupt
takes place.

While we're here, make amdpm_smbus honour the I2C_F_POLL flag.

The Xbox no longer resets when you press the eject button.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/sys/dev/pci/amdpm.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/pci/amdpm_smbus.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/pci/amdpmvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.