Skip to contentSkip to conversation

libata fixes

PATCH New Jeff Garzik 1 participant 1 message Aug 8, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libata fixes

The only non-fix are two sata_mv PCI ID additions.

Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus

to receive the following updates:

 drivers/ata/ata_piix.c    |    2 +-
 drivers/ata/pata_isapnp.c |    2 ++
 drivers/ata/sata_mv.c     |    3 +++
 3 files changed, 6 insertions(+), 1 deletions(-)

Alan Cox (1):
sata_mv: PCI IDs for Hightpoint RocketRaid 1740/1742

Jeff Garzik (1):
[libata] pata_isapnp: replace missing module device table

Tejun Heo (1):
ata_piix: update map 10b for ich8m

drivers/ata/ata_piix.c +1 -1
index a78832e..c5b4509 100644
@@ -436,7 +436,7 @@ static const struct piix_map_db ich8_map_db = {
 		/* PM   PS   SM   SS       MAP */
 		{  P0,  P2,  P1,  P3 }, /* 00b (hardwired when in AHCI) */
 		{  RV,  RV,  RV,  RV },
-		{  IDE,  IDE,  NA,  NA }, /* 10b (IDE mode) */
+		{  P0,  P2, IDE, IDE }, /* 10b (IDE mode) */
 		{  RV,  RV,  RV,  RV },
 	},
 };
drivers/ata/pata_isapnp.c +2 -0
index 5525518..91a396f 100644
@@ -139,6 +139,8 @@ static struct pnp_device_id isapnp_devices[] = {
 	{.id = ""}
 };
 
+MODULE_DEVICE_TABLE(pnp, isapnp_devices);
+
 static struct pnp_driver isapnp_driver = {
 	.name		= DRV_NAME,
 	.id_table	= isapnp_devices,
drivers/ata/sata_mv.c +3 -0
index 8ec5208..3acf65e 100644
@@ -621,6 +621,9 @@ static const struct pci_device_id mv_pci_tbl[] = {
 	{ PCI_VDEVICE(MARVELL, 0x5041), chip_504x },
 	{ PCI_VDEVICE(MARVELL, 0x5080), chip_5080 },
 	{ PCI_VDEVICE(MARVELL, 0x5081), chip_508x },
+	/* RocketRAID 1740/174x have different identifiers */
+	{ PCI_VDEVICE(TTI, 0x1740), chip_508x },
+	{ PCI_VDEVICE(TTI, 0x1742), chip_508x },
 
 	{ PCI_VDEVICE(MARVELL, 0x6040), chip_604x },
 	{ PCI_VDEVICE(MARVELL, 0x6041), chip_604x },