diff options
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r-- | drivers/ata/sata_mv.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 8d864e5e97ed..fe0105d35bae 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -2503,6 +2503,15 @@ static int mv_chip_id(struct ata_host *host, unsigned int board_idx) | |||
2503 | 2503 | ||
2504 | case chip_7042: | 2504 | case chip_7042: |
2505 | hp_flags |= MV_HP_PCIE; | 2505 | hp_flags |= MV_HP_PCIE; |
2506 | if (pdev->vendor == PCI_VENDOR_ID_TTI && | ||
2507 | (pdev->device == 0x2300 || pdev->device == 0x2310)) | ||
2508 | { | ||
2509 | printk(KERN_WARNING "sata_mv: Highpoint RocketRAID BIOS" | ||
2510 | " will CORRUPT DATA on attached drives when" | ||
2511 | " configured as \"Legacy\". BEWARE!\n"); | ||
2512 | printk(KERN_WARNING "sata_mv: Use BIOS \"JBOD\" volumes" | ||
2513 | " instead for safety.\n"); | ||
2514 | } | ||
2506 | case chip_6042: | 2515 | case chip_6042: |
2507 | hpriv->ops = &mv6xxx_ops; | 2516 | hpriv->ops = &mv6xxx_ops; |
2508 | hp_flags |= MV_HP_GEN_IIE; | 2517 | hp_flags |= MV_HP_GEN_IIE; |