ahci: Add MCP79 support to AHCI driver
PATCH 1/1 ahci: Add MCP79 support to AHCI driver
Add the MCP79 support to ahci driver.
The patch base on kernel 2.6.23-rc7
---
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +12 -0
@@ -472,6 +472,18 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(NVIDIA, 0x0ad9), board_ahci }, /* MCP77 */ { PCI_VDEVICE(NVIDIA, 0x0ada), board_ahci }, /* MCP77 */ { PCI_VDEVICE(NVIDIA, 0x0adb), board_ahci }, /* MCP77 */ + { PCI_VDEVICE(NVIDIA, 0x0ab4), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab5), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab6), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab7), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab8), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab9), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0aba), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abb), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abc), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abd), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abe), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abf), board_ahci }, /* MCP79 *//* SiS */ { PCI_VDEVICE(SI, 0x1184), board_ahci }, /* SiS 966 */
-
Quoted 2 lines · On Fri, 21 Sep 2007 14:06:10 +0800 "Peer Chen" <[email protected]> wrote:
Add the MCP79 support to ahci driver.
The patch base on kernel 2.6.23-rc7
Is this actually needed or as they are standard ahci devices will the class match get them anyway ?
Yes,it's necessary because our RAID controller also use the ahci driver.
------------------
Peer Chen
2007-09-24
-------------------------------------------------------------
·¢¼þÈË£ºAlan Cox
·¢ËÍÈÕÆÚ£º2007-09-21 18:32:09
ÊÕ¼þÈË£ºPeer Chen
³ËÍ£ºlinux-kernel; linux-ide; akpm; jeff Ö÷Ì⣺Re: [PATCH] ahci: Add MCP79 support to AHCI driver
Quoted 2 lines · On Fri, 21 Sep 2007 14:06:10 +0800 "Peer Chen" <[email protected]> wrote:
Add the MCP79 support to ahci driver.
The patch base on kernel 2.6.23-rc7
Is this actually needed or as they are standard ahci devices will the class match get them anyway ?
Code change, remove some Device IDs.
---
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +8 -0
@@ -472,6 +472,14 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(NVIDIA, 0x0ad9), board_ahci }, /* MCP77 */ { PCI_VDEVICE(NVIDIA, 0x0ada), board_ahci }, /* MCP77 */ { PCI_VDEVICE(NVIDIA, 0x0adb), board_ahci }, /* MCP77 */ + { PCI_VDEVICE(NVIDIA, 0x0ab8), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab9), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0aba), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abb), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abc), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abd), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abe), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abf), board_ahci }, /* MCP79 *//* SiS */ { PCI_VDEVICE(SI, 0x1184), board_ahci }, /* SiS 966 */
-
------------------
Peer Chen
2007-09-24
-------------------------------------------------------------
·¢¼þÈË£ºAlan Cox
·¢ËÍÈÕÆÚ£º2007-09-21 18:32:09
ÊÕ¼þÈË£ºPeer Chen
³ËÍ£ºlinux-kernel; linux-ide; akpm; jeff Ö÷Ì⣺Re: [PATCH] ahci: Add MCP79 support to AHCI driver
Quoted 2 lines · On Fri, 21 Sep 2007 14:06:10 +0800 "Peer Chen" <[email protected]> wrote:
Add the MCP79 support to ahci driver.
The patch base on kernel 2.6.23-rc7
Is this actually needed or as they are standard ahci devices will the class match get them anyway ?
Hello.
Quoted 8 lines · Peer Chen
Code change, remove some Device IDs.
Signed-off-by Peer Chen <[email protected]>---
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +0
-0@@ -472,6 +472,14 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(NVIDIA, 0x0ad9), board_ahci }, /* MCP77 */
drivers/ata/ahci.c static const struct pci_device_id ahci_p · line 482
Quoted 10 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +8
-0{ PCI_VDEVICE(NVIDIA, 0x0ada), board_ahci }, /* MCP77 */ { PCI_VDEVICE(NVIDIA, 0x0adb), board_ahci }, /* MCP77 */ + { PCI_VDEVICE(NVIDIA, 0x0ab8), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab9), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0aba), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abb), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abc), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abd), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abe), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abf), board_ahci }, /* MCP79 */
I wonder whether all of those 8 IDs belong to AHCI controllers...
MBR, Sergei
Yes,they all belong to AHCI controllers, 4 of them use ahci class code and others use RAID class code.
------------------
Peer Chen
2007-09-25
-------------------------------------------------------------
·¢¼þÈË£ºSergei Shtylyov
·¢ËÍÈÕÆÚ£º2007-09-24 20:53:44
ÊÕ¼þÈË£ºPeer Chen
³ËÍ£ºAlan Cox; linux-kernel; linux-ide; akpm; jeff Ö÷Ì⣺Re: [PATCH] ahci: Add MCP79 support to AHCI driver
Hello.
Quoted 8 lines · Peer Chen
Code change, remove some Device IDs.
Signed-off-by Peer Chen <[email protected]>---
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +0
-0@@ -472,6 +472,14 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(NVIDIA, 0x0ad9), board_ahci }, /* MCP77 */
drivers/ata/ahci.c static const struct pci_device_id ahci_p · line 482
Quoted 10 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +8
-0{ PCI_VDEVICE(NVIDIA, 0x0ada), board_ahci }, /* MCP77 */ { PCI_VDEVICE(NVIDIA, 0x0adb), board_ahci }, /* MCP77 */ + { PCI_VDEVICE(NVIDIA, 0x0ab8), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab9), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0aba), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abb), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abc), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abd), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abe), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abf), board_ahci }, /* MCP79 */
I wonder whether all of those 8 IDs belong to AHCI controllers...
MBR, Sergei
Jeff Garzik
AppliedQuoted 8 lines · Peer Chen
Code change, remove some Device IDs.
Signed-off-by Peer Chen <[email protected]>---
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +0
-0@@ -472,6 +472,14 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(NVIDIA, 0x0ad9), board_ahci }, /* MCP77 */
drivers/ata/ahci.c static const struct pci_device_id ahci_p · line 482
Quoted 10 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +8
-0{ PCI_VDEVICE(NVIDIA, 0x0ada), board_ahci }, /* MCP77 */ { PCI_VDEVICE(NVIDIA, 0x0adb), board_ahci }, /* MCP77 */ + { PCI_VDEVICE(NVIDIA, 0x0ab8), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0ab9), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0aba), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abb), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abc), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abd), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abe), board_ahci }, /* MCP79 */ + { PCI_VDEVICE(NVIDIA, 0x0abf), board_ahci }, /* MCP79 */
applied