linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] amd74xx: Support MCP55 device IDs
@ 2005-07-03 12:44 Daniel Drake
  2005-07-03 16:05 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Drake @ 2005-07-03 12:44 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide, Bartlomiej Zolnierkiewicz, rpunkunus

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

From: Rob Punkunus <rpunkunus@nvidia.com>

Rob Punkunus recently submitted a patch to enable support for MCP51/MCP55 in
the amd74xx driver. This patch was whitespace-corrupted and didn't apply to
2.6.12 since MCP51 support was merged in the 2.6.12-rc series.

Gentoo would like to support this hardware for our upcoming release media, so
I fixed the patch, and here it is :)

Jeff, since the next patch I'm sending (a libata patch) depends on the
pci_ids.h change in this patch, it probably makes sense to include both in
your tree..?

Signed-off-by: Daniel Drake <dsd@gentoo.org>


[-- Attachment #2: 4335_amd74xx-mcp55.patch --]
[-- Type: text/x-patch, Size: 1864 bytes --]

--- linux-2.6.12/drivers/ide/pci/amd74xx.c	2005-06-17 20:48:29.000000000 +0100
+++ linux-dsd/drivers/ide/pci/amd74xx.c	2005-06-27 18:45:26.000000000 +0100
@@ -73,6 +73,7 @@ static struct amd_ide_chip {
 	{ PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_IDE,	0x50, AMD_UDMA_133 },
 	{ PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE,	0x50, AMD_UDMA_133 },
 	{ PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE,	0x50, AMD_UDMA_133 },
+	{ PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE,	0x50, AMD_UDMA_133 },
 	{ 0 }
 };
 
@@ -489,6 +490,7 @@ static ide_pci_device_t amd74xx_chipsets
 	/* 13 */ DECLARE_NV_DEV("NFORCE-CK804"),
 	/* 14 */ DECLARE_NV_DEV("NFORCE-MCP04"),
 	/* 15 */ DECLARE_NV_DEV("NFORCE-MCP51"),
+	/* 16 */ DECLARE_NV_DEV("NFORCE-MCP55"),
 };
 
 static int __devinit amd74xx_probe(struct pci_dev *dev, const struct pci_device_id *id)
@@ -524,6 +526,7 @@ static struct pci_device_id amd74xx_pci_
 	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_IDE,	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 13 },
 	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE,	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 14 },
 	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE,	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 15 },
+	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE,	PCI_ANY_ID, PCI_ANY_ID, 0, 0, 16 },
 	{ 0, },
 };
 MODULE_DEVICE_TABLE(pci, amd74xx_pci_tbl);
--- linux-2.6.12/include/linux/pci_ids.h	2005-06-17 20:48:29.000000000 +0100
+++ linux-dsd/include/linux/pci_ids.h	2005-06-27 18:47:12.000000000 +0100
@@ -1234,6 +1234,7 @@
 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE	0x0265
 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA	0x0266
 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2	0x0267
+#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE	0x036E
 #define PCI_DEVICE_ID_NVIDIA_NVENET_12		0x0268
 #define PCI_DEVICE_ID_NVIDIA_NVENET_13		0x0269
 #define PCI_DEVICE_ID_NVIDIA_MCP51_AUDIO	0x026B

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] amd74xx: Support MCP55 device IDs
  2005-07-03 12:44 [PATCH] amd74xx: Support MCP55 device IDs Daniel Drake
@ 2005-07-03 16:05 ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2005-07-03 16:05 UTC (permalink / raw)
  To: Daniel Drake; +Cc: Jeff Garzik, linux-ide, rpunkunus

applied

On 7/3/05, Daniel Drake <dsd@gentoo.org> wrote:
> From: Rob Punkunus <rpunkunus@nvidia.com>
> 
> Rob Punkunus recently submitted a patch to enable support for MCP51/MCP55 in
> the amd74xx driver. This patch was whitespace-corrupted and didn't apply to
> 2.6.12 since MCP51 support was merged in the 2.6.12-rc series.
> 
> Gentoo would like to support this hardware for our upcoming release media, so
> I fixed the patch, and here it is :)
> 
> Jeff, since the next patch I'm sending (a libata patch) depends on the
> pci_ids.h change in this patch, it probably makes sense to include both in
> your tree..?
> 
> Signed-off-by: Daniel Drake <dsd@gentoo.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-03 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-03 12:44 [PATCH] amd74xx: Support MCP55 device IDs Daniel Drake
2005-07-03 16:05 ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).