All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuri Kirsanov <flash@rccb.ru>
To: Erik Slagter <erik@slagter.name>
Cc: linux-ide@vger.kernel.org
Subject: Re[6]: TX4000 RAID and sata_promise
Date: Tue, 21 Jun 2005 22:19:13 +0400	[thread overview]
Message-ID: <1483195265.20050621221913@rccb.ru> (raw)
In-Reply-To: <1124215786.29001.2.camel@localhost.localdomain>


ES> Hmm, then I guess it would be very interesting to know WHY it doesn't
ES> load at boot time! What are the symptoms?

ES> It seems to strange to me that sata reports PATA devices... What kind of
ES> harddisks do you connected (brand, type, pata/sata?)

I have Promise TX4000 4xPATA controller...I've patched it with this
patch:

--- a/drivers/scsi/sata_promise.c       Sat May  7 05:20:31 2005
+++ b/drivers/scsi/sata_promise.c       Thu May 12 19:51:01 2005
@@ -59,6 +59,7 @@
 
        board_2037x             = 0,    /* FastTrak S150 TX2plus */
        board_20319             = 1,    /* FastTrak S150 TX4 */
+       board_20619             = 2,    /* FastTrak TX4000 */
 
        PDC_HAS_PATA            = (1 << 1), /* PDC20375 has PATA */
 
@@ -146,6 +147,17 @@
                .udma_mask      = 0x7f, /* udma0-6 ; FIXME */
                .port_ops       = &pdc_ata_ops,
        },
+
+       /* board_20619 */
+       {
+               .sht            = &pdc_ata_sht,
+               .host_flags     = ATA_FLAG_NO_LEGACY | ATA_FLAG_SRST |
+                                 ATA_FLAG_MMIO | ATA_FLAG_SLAVE_POSS,
+               .pio_mask       = 0x1f, /* pio0-4 */
+               .mwdma_mask     = 0x07, /* mwdma0-2 */
+               .udma_mask      = 0x7f, /* udma0-6 ; FIXME */
+               .port_ops       = &pdc_ata_ops,
+       },
 };
 
 static struct pci_device_id pdc_ata_pci_tbl[] = {
@@ -169,6 +181,9 @@
        { PCI_VENDOR_ID_PROMISE, 0x3d18, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
          board_20319 },
 
+       { PCI_VENDOR_ID_PROMISE, 0x6629, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+         board_20619 },
+
        { }     /* terminate list */
 };
 
@@ -633,6 +648,15 @@
        case board_2037x:
                        probe_ent->n_ports = 2;
                break;
+       case board_20619:
+               probe_ent->n_ports = 4;
+
+               pdc_ata_setup_port(&probe_ent->port[2], base + 0x300);
+               pdc_ata_setup_port(&probe_ent->port[3], base + 0x380);
+
+               probe_ent->port[2].scr_addr = base + 0x600;
+               probe_ent->port[3].scr_addr = base + 0x700;
+                break;
        default:
                BUG();
                break;
@@ -673,7 +697,7 @@
 
 
 MODULE_AUTHOR("Jeff Garzik");
-MODULE_DESCRIPTION("Promise SATA TX2/TX4 low-level driver");
+MODULE_DESCRIPTION("Promise ATA TX2/TX4/TX4000 low-level driver");
 MODULE_LICENSE("GPL");
 MODULE_DEVICE_TABLE(pci, pdc_ata_pci_tbl);
 MODULE_VERSION(DRV_VERSION);


  reply	other threads:[~2005-08-16 18:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-16  5:30 TX4000 RAID and sata_promise Yuri Kirsanov
2005-08-16 13:10 ` Tyler
2005-08-16 13:30   ` Erik Slagter
2005-08-16 13:35     ` Yuri Kirsanov
2005-08-16 13:50       ` Erik Slagter
2005-08-16 13:54         ` Yuri Kirsanov
     [not found]           ` <1124200516.5550.77.camel@localhost.localdomain>
     [not found]             ` <017501c5a26a$bb31bfc0$6f0aa8c0@rgkb.local>
     [not found]               ` <1124202300.19419.0.camel@localhost.localdomain>
2005-06-21 16:38                 ` Re[2]: " Yuri Kirsanov
     [not found]                   ` <1124211467.19419.24.camel@localhost.localdomain>
2005-06-21 17:47                     ` Re[4]: " Yuri Kirsanov
2005-08-16 18:09                       ` Erik Slagter
2005-06-21 18:19                         ` Yuri Kirsanov [this message]
2005-06-21 18:24                         ` Re[6]: " Yuri Kirsanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483195265.20050621221913@rccb.ru \
    --to=flash@rccb.ru \
    --cc=erik@slagter.name \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.