Skip to contentSkip to conversation

I2C: i2c-nforce2 supports the nForce3 250Gb

PATCH New Jean Delvare 2 participants 2 messages May 19, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 I2C: i2c-nforce2 supports the nForce3 250Gb

Hi Greg,

One more PCI ID for the i2c-nforce2 driver, this time for the nForce3 250Gb variant. Tested, works.

(Also cleans up a duplicate define in pci_ids.h.)

Please apply,
thanks.

include/linux/pci_ids.h renamed from include/linux/pci_ids.h.orig +1 -1
@@ -1095,7 +1095,6 @@
 #define PCI_DEVICE_ID_NVIDIA_ITNT2		0x00A0
 #define PCI_DEVICE_ID_NVIDIA_NFORCE3		0x00d1
 #define PCI_DEVICE_ID_NVIDIA_MCP3_AUDIO		0x00da
-#define PCI_DEVICE_ID_NVIDIA_NFORCE3S  		0x00e1
 #define PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS	0x00d4
 #define PCI_DEVICE_ID_NVIDIA_NFORCE3_IDE	0x00d5
 #define PCI_DEVICE_ID_NVIDIA_NVENET_3		0x00d6
@@ -1103,6 +1102,7 @@
 #define PCI_DEVICE_ID_NVIDIA_NVENET_7		0x00df
 #define PCI_DEVICE_ID_NVIDIA_NFORCE3S		0x00e1
 #define PCI_DEVICE_ID_NVIDIA_NFORCE3S_SATA	0x00e3
+#define PCI_DEVICE_ID_NVIDIA_NFORCE3S_SMBUS	0x00e4
 #define PCI_DEVICE_ID_NVIDIA_NFORCE3S_IDE	0x00e5
 #define PCI_DEVICE_ID_NVIDIA_NVENET_6		0x00e6
 #define PCI_DEVICE_ID_NVIDIA_NFORCE3S_SATA2	0x00ee
drivers/i2c/busses/i2c-nforce2.c renamed from drivers/i2c/busses/i2c-nforce2.c.orig +3 -0
@@ -28,6 +28,7 @@
     nForce2 MCP			0064
     nForce2 Ultra 400 MCP	0084
     nForce3 Pro150 MCP		00D4
+    nForce3 250Gb MCP		00E4
 
     This driver supports the 2 SMBuses that are included in the MCP2 of the
     nForce2 chipset.
@@ -296,6 +297,8 @@
 	       	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
 	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS,
 	       	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3S_SMBUS,
+	       	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
 	{ 0 }
 };
 
Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
Applied
#1 lore raw

PATCH 1/1 I2C: i2c-nforce2 supports the nForce3 250Gb

Quoted 8 lines · Jean Delvare

Hi Greg,

One more PCI ID for the i2c-nforce2 driver, this time for the nForce3 250Gb variant. Tested, works.

(Also cleans up a duplicate define in pci_ids.h.)

Please apply,

Applied, thanks.

drivers/i2c/busses/i2c-nforce2.c line 301

Quoted 6 lines
drivers/i2c/busses/i2c-nforce2.c renamed from drivers/i2c/busses/i2c-nforce2.c.orig +2 -0
@@ -296,6 +297,8 @@
 	       	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
 	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS,
 	       	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3S_SMBUS,
+	       	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },

Hint, the PCI_DEVICE() macro makes this a lot simpler :)

thanks,

greg k-h