* [PATCH #upstream-fixes] ata: rename AMD SB900 into Hudson-2
@ 2009-10-13 3:14 Shane Huang
2009-10-14 12:40 ` Jeff Garzik
2009-10-16 10:26 ` Jeff Garzik
0 siblings, 2 replies; 4+ messages in thread
From: Shane Huang @ 2009-10-13 3:14 UTC (permalink / raw)
To: jgarzik, tj; +Cc: linux-ide, Huang, Shane
This patch renames the code name SB900 into Hudson-2
Signed-off-by: Shane Huang <shane.huang@amd.com>
---
drivers/ata/ahci.c | 2 +-
drivers/ata/pata_atiixp.c | 2 +-
drivers/ide/atiixp.c | 2 +-
drivers/pci/quirks.c | 6 +++---
include/linux/pci_ids.h | 6 ++----
5 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index b1a2577..b6fdacb 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -575,7 +575,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
{ PCI_VDEVICE(ATI, 0x4395), board_ahci_sb700 }, /* ATI SB700/800 */
/* AMD */
- { PCI_VDEVICE(AMD, 0x7800), board_ahci }, /* AMD SB900 */
+ { PCI_VDEVICE(AMD, 0x7800), board_ahci }, /* AMD Hudson-2 */
/* AMD is using RAID class only for ahci controllers */
{ PCI_VENDOR_ID_AMD, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
PCI_CLASS_STORAGE_RAID << 8, 0xffffff, board_ahci },
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c
index aa4b3f6..ae4454d 100644
--- a/drivers/ata/pata_atiixp.c
+++ b/drivers/ata/pata_atiixp.c
@@ -246,7 +246,7 @@ static const struct pci_device_id atiixp[] = {
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP400_IDE), },
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP600_IDE), },
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP700_IDE), },
- { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_SB900_IDE), },
+ { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_HUDSON2_IDE), },
{ },
};
diff --git a/drivers/ide/atiixp.c b/drivers/ide/atiixp.c
index 6396c3a..837322b 100644
--- a/drivers/ide/atiixp.c
+++ b/drivers/ide/atiixp.c
@@ -177,7 +177,7 @@ static const struct pci_device_id atiixp_pci_tbl[] = {
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP400_IDE), 0 },
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP600_IDE), 1 },
{ PCI_VDEVICE(ATI, PCI_DEVICE_ID_ATI_IXP700_IDE), 0 },
- { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_SB900_IDE), 0 },
+ { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_HUDSON2_IDE), 0 },
{ 0, },
};
MODULE_DEVICE_TABLE(pci, atiixp_pci_tbl);
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index efa6534..62ddb43 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1009,7 +1009,7 @@ DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82454NX,
static void __devinit quirk_amd_ide_mode(struct pci_dev *pdev)
{
- /* set SBX00 SATA in IDE mode to AHCI mode */
+ /* set SBX00/Hudson-2 SATA in IDE mode to AHCI mode */
u8 tmp;
pci_read_config_byte(pdev, PCI_CLASS_DEVICE, &tmp);
@@ -1028,8 +1028,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_SATA, quirk
DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_SATA, quirk_amd_ide_mode);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP700_SATA, quirk_amd_ide_mode);
DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP700_SATA, quirk_amd_ide_mode);
-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_SB900_SATA_IDE, quirk_amd_ide_mode);
-DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_SB900_SATA_IDE, quirk_amd_ide_mode);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_HUDSON2_SATA_IDE, quirk_amd_ide_mode);
+DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_HUDSON2_SATA_IDE, quirk_amd_ide_mode);
/*
* Serverworks CSB5 IDE does not fully support native mode
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index f490e7a..86257a4 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -379,9 +379,6 @@
#define PCI_DEVICE_ID_ATI_IXP600_IDE 0x438c
#define PCI_DEVICE_ID_ATI_IXP700_SATA 0x4390
#define PCI_DEVICE_ID_ATI_IXP700_IDE 0x439c
-/* AMD SB Chipset */
-#define PCI_DEVICE_ID_AMD_SB900_IDE 0x780c
-#define PCI_DEVICE_ID_AMD_SB900_SATA_IDE 0x7800
#define PCI_VENDOR_ID_VLSI 0x1004
#define PCI_DEVICE_ID_VLSI_82C592 0x0005
@@ -553,9 +550,10 @@
#define PCI_DEVICE_ID_AMD_CS5536_UDC 0x2096
#define PCI_DEVICE_ID_AMD_CS5536_UOC 0x2097
#define PCI_DEVICE_ID_AMD_CS5536_IDE 0x209A
-
#define PCI_DEVICE_ID_AMD_LX_VIDEO 0x2081
#define PCI_DEVICE_ID_AMD_LX_AES 0x2082
+#define PCI_DEVICE_ID_AMD_HUDSON2_IDE 0x780c
+#define PCI_DEVICE_ID_AMD_HUDSON2_SATA_IDE 0x7800
#define PCI_VENDOR_ID_TRIDENT 0x1023
#define PCI_DEVICE_ID_TRIDENT_4DWAVE_DX 0x2000
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH #upstream-fixes] ata: rename AMD SB900 into Hudson-2
2009-10-13 3:14 [PATCH #upstream-fixes] ata: rename AMD SB900 into Hudson-2 Shane Huang
@ 2009-10-14 12:40 ` Jeff Garzik
2009-10-15 2:25 ` Huang, Shane
2009-10-16 10:26 ` Jeff Garzik
1 sibling, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2009-10-14 12:40 UTC (permalink / raw)
To: shane.huang; +Cc: tj, linux-ide
On 10/12/2009 11:14 PM, Shane Huang wrote:
> This patch renames the code name SB900 into Hudson-2
>
> Signed-off-by: Shane Huang<shane.huang@amd.com>
> ---
> drivers/ata/ahci.c | 2 +-
> drivers/ata/pata_atiixp.c | 2 +-
> drivers/ide/atiixp.c | 2 +-
> drivers/pci/quirks.c | 6 +++---
> include/linux/pci_ids.h | 6 ++----
> 5 files changed, 8 insertions(+), 10 deletions(-)
The patch certainly seems obviously correct, but normally we deal with
boring chip names, because marketing names change all the time. If we
applied "marketing patches" there would be a ton of patches sent our way.
If the SB900 simply does not / will not exist, then I'm fine applying this.
Otherwise, I would prefer the chip name over the marketing name...
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH #upstream-fixes] ata: rename AMD SB900 into Hudson-2
2009-10-14 12:40 ` Jeff Garzik
@ 2009-10-15 2:25 ` Huang, Shane
0 siblings, 0 replies; 4+ messages in thread
From: Huang, Shane @ 2009-10-15 2:25 UTC (permalink / raw)
To: Jeff Garzik; +Cc: tj, linux-ide, Huang, Shane
Hi Jeff,
> -----Original Message-----
> From: Jeff Garzik [mailto:jgarzik@pobox.com]
>
> The patch certainly seems obviously correct, but normally we
> deal with
> boring chip names, because marketing names change all the
> time. If we
> applied "marketing patches" there would be a ton of patches
> sent our way.
>
> If the SB900 simply does not / will not exist, then I'm fine
> applying this.
>
> Otherwise, I would prefer the chip name over the marketing name...
"Hudson-2" is not only marketing name, it is the chip name for
both internal and external use. SB900 will not be used.
So please apply this patch.
Thanks,
Shane
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH #upstream-fixes] ata: rename AMD SB900 into Hudson-2
2009-10-13 3:14 [PATCH #upstream-fixes] ata: rename AMD SB900 into Hudson-2 Shane Huang
2009-10-14 12:40 ` Jeff Garzik
@ 2009-10-16 10:26 ` Jeff Garzik
1 sibling, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2009-10-16 10:26 UTC (permalink / raw)
To: shane.huang; +Cc: tj, linux-ide
On 10/12/2009 11:14 PM, Shane Huang wrote:
> This patch renames the code name SB900 into Hudson-2
>
> Signed-off-by: Shane Huang<shane.huang@amd.com>
> ---
> drivers/ata/ahci.c | 2 +-
> drivers/ata/pata_atiixp.c | 2 +-
> drivers/ide/atiixp.c | 2 +-
> drivers/pci/quirks.c | 6 +++---
> include/linux/pci_ids.h | 6 ++----
> 5 files changed, 8 insertions(+), 10 deletions(-)
applied
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-16 10:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 3:14 [PATCH #upstream-fixes] ata: rename AMD SB900 into Hudson-2 Shane Huang
2009-10-14 12:40 ` Jeff Garzik
2009-10-15 2:25 ` Huang, Shane
2009-10-16 10:26 ` Jeff Garzik
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).