From f9b1acf22dbb26f9795880791ceee7f1276d56af Mon Sep 17 00:00:00 2001 From: Mark Lord Date: Tue, 4 Dec 2007 14:07:52 -0500 Subject: [PATCH] --- yaml --- r: 74569 b: refs/heads/master c: 306b30f74d37f289033c696285e07ce0158a5d7b h: refs/heads/master i: 74567: 40d392066f757bcfa761fe55585a17ac814114b6 v: v3 --- [refs] | 2 +- trunk/drivers/ata/sata_mv.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 62304d7e2614..cf0a8e13bfcc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3f3debdbfb7713aa06c4370bab6bef277dfd7a37 +refs/heads/master: 306b30f74d37f289033c696285e07ce0158a5d7b diff --git a/trunk/drivers/ata/sata_mv.c b/trunk/drivers/ata/sata_mv.c index 8d864e5e97ed..fe0105d35bae 100644 --- a/trunk/drivers/ata/sata_mv.c +++ b/trunk/drivers/ata/sata_mv.c @@ -2503,6 +2503,15 @@ static int mv_chip_id(struct ata_host *host, unsigned int board_idx) case chip_7042: hp_flags |= MV_HP_PCIE; + if (pdev->vendor == PCI_VENDOR_ID_TTI && + (pdev->device == 0x2300 || pdev->device == 0x2310)) + { + printk(KERN_WARNING "sata_mv: Highpoint RocketRAID BIOS" + " will CORRUPT DATA on attached drives when" + " configured as \"Legacy\". BEWARE!\n"); + printk(KERN_WARNING "sata_mv: Use BIOS \"JBOD\" volumes" + " instead for safety.\n"); + } case chip_6042: hpriv->ops = &mv6xxx_ops; hp_flags |= MV_HP_GEN_IIE;