Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
libata: bump versions
libata: Trim trailing whitespace
libata: Kiss post_set_mode goodbye
ata_piix: clean up
pata_hpt366: Enable bits are unreliable so don't use them
libata: Add Seagate STT20000A to DMA blacklist.
ahci: disable 64bit dma on sb600

+65 -93
+1 -1
drivers/ata/Kconfig
··· 132 depends on PCI 133 select PATA_SIS 134 help 135 - This option enables support for SiS Serial ATA on 136 SiS 964/965/966/180 and Parallel ATA on SiS 180. 137 The PATA support for SiS 180 requires additionally to 138 enable the PATA_SIS driver in the config.
··· 132 depends on PCI 133 select PATA_SIS 134 help 135 + This option enables support for SiS Serial ATA on 136 SiS 964/965/966/180 and Parallel ATA on SiS 180. 137 The PATA support for SiS 180 requires additionally to 138 enable the PATA_SIS driver in the config.
+11 -2
drivers/ata/ahci.c
··· 46 #include <linux/libata.h> 47 48 #define DRV_NAME "ahci" 49 - #define DRV_VERSION "2.1" 50 51 52 enum { ··· 170 AHCI_FLAG_IGN_IRQ_IF_ERR = (1 << 25), /* ignore IRQ_IF_ERR */ 171 AHCI_FLAG_HONOR_PI = (1 << 26), /* honor PORTS_IMPL */ 172 AHCI_FLAG_IGN_SERR_INTERNAL = (1 << 27), /* ignore SERR_INTERNAL */ 173 174 AHCI_FLAG_COMMON = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | 175 ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ··· 355 /* board_ahci_sb600 */ 356 { 357 .flags = AHCI_FLAG_COMMON | 358 - AHCI_FLAG_IGN_SERR_INTERNAL, 359 .pio_mask = 0x1f, /* pio0-4 */ 360 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 361 .port_ops = &ahci_ops, ··· 493 */ 494 hpriv->saved_cap = cap = readl(mmio + HOST_CAP); 495 hpriv->saved_port_map = port_map = readl(mmio + HOST_PORTS_IMPL); 496 497 /* fixup zero port_map */ 498 if (!port_map) {
··· 46 #include <linux/libata.h> 47 48 #define DRV_NAME "ahci" 49 + #define DRV_VERSION "2.2" 50 51 52 enum { ··· 170 AHCI_FLAG_IGN_IRQ_IF_ERR = (1 << 25), /* ignore IRQ_IF_ERR */ 171 AHCI_FLAG_HONOR_PI = (1 << 26), /* honor PORTS_IMPL */ 172 AHCI_FLAG_IGN_SERR_INTERNAL = (1 << 27), /* ignore SERR_INTERNAL */ 173 + AHCI_FLAG_32BIT_ONLY = (1 << 28), /* force 32bit */ 174 175 AHCI_FLAG_COMMON = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | 176 ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ··· 354 /* board_ahci_sb600 */ 355 { 356 .flags = AHCI_FLAG_COMMON | 357 + AHCI_FLAG_IGN_SERR_INTERNAL | 358 + AHCI_FLAG_32BIT_ONLY, 359 .pio_mask = 0x1f, /* pio0-4 */ 360 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 361 .port_ops = &ahci_ops, ··· 491 */ 492 hpriv->saved_cap = cap = readl(mmio + HOST_CAP); 493 hpriv->saved_port_map = port_map = readl(mmio + HOST_PORTS_IMPL); 494 + 495 + /* some chips lie about 64bit support */ 496 + if ((cap & HOST_CAP_64) && (pi->flags & AHCI_FLAG_32BIT_ONLY)) { 497 + dev_printk(KERN_INFO, &pdev->dev, 498 + "controller can't do 64bit DMA, forcing 32bit\n"); 499 + cap &= ~HOST_CAP_64; 500 + } 501 502 /* fixup zero port_map */ 503 if (!port_map) {
+1 -1
drivers/ata/ata_generic.c
··· 26 #include <linux/libata.h> 27 28 #define DRV_NAME "ata_generic" 29 - #define DRV_VERSION "0.2.11" 30 31 /* 32 * A generic parallel ATA driver using libata
··· 26 #include <linux/libata.h> 27 28 #define DRV_NAME "ata_generic" 29 + #define DRV_VERSION "0.2.12" 30 31 /* 32 * A generic parallel ATA driver using libata
+1 -8
drivers/ata/ata_piix.c
··· 155 static int piix_init_one (struct pci_dev *pdev, 156 const struct pci_device_id *ent); 157 static void piix_pata_error_handler(struct ata_port *ap); 158 - static void piix_sata_error_handler(struct ata_port *ap); 159 static void piix_set_piomode (struct ata_port *ap, struct ata_device *adev); 160 static void piix_set_dmamode (struct ata_port *ap, struct ata_device *adev); 161 static void ich_set_dmamode (struct ata_port *ap, struct ata_device *adev); ··· 363 364 .freeze = ata_bmdma_freeze, 365 .thaw = ata_bmdma_thaw, 366 - .error_handler = piix_sata_error_handler, 367 .post_internal_cmd = ata_bmdma_post_internal_cmd, 368 369 .irq_handler = ata_interrupt, ··· 637 static void piix_pata_error_handler(struct ata_port *ap) 638 { 639 ata_bmdma_drive_eh(ap, piix_pata_prereset, ata_std_softreset, NULL, 640 - ata_std_postreset); 641 - } 642 - 643 - static void piix_sata_error_handler(struct ata_port *ap) 644 - { 645 - ata_bmdma_drive_eh(ap, ata_std_prereset, ata_std_softreset, NULL, 646 ata_std_postreset); 647 } 648
··· 155 static int piix_init_one (struct pci_dev *pdev, 156 const struct pci_device_id *ent); 157 static void piix_pata_error_handler(struct ata_port *ap); 158 static void piix_set_piomode (struct ata_port *ap, struct ata_device *adev); 159 static void piix_set_dmamode (struct ata_port *ap, struct ata_device *adev); 160 static void ich_set_dmamode (struct ata_port *ap, struct ata_device *adev); ··· 364 365 .freeze = ata_bmdma_freeze, 366 .thaw = ata_bmdma_thaw, 367 + .error_handler = ata_bmdma_error_handler, 368 .post_internal_cmd = ata_bmdma_post_internal_cmd, 369 370 .irq_handler = ata_interrupt, ··· 638 static void piix_pata_error_handler(struct ata_port *ap) 639 { 640 ata_bmdma_drive_eh(ap, piix_pata_prereset, ata_std_softreset, NULL, 641 ata_std_postreset); 642 } 643
+6 -8
drivers/ata/libata-core.c
··· 59 60 #include "libata.h" 61 62 - #define DRV_VERSION "2.20" /* must be exactly four chars */ 63 64 65 /* debounce timing parameters in msecs { interval, duration, timeout } */ ··· 977 { 978 u64 sectors = dev->n_sectors; 979 u64 hpa_sectors; 980 - 981 if (ata_id_has_lba48(dev->id)) 982 hpa_sectors = ata_read_native_max_address_ext(dev); 983 else ··· 1588 * Check if the current speed of the device requires IORDY. Used 1589 * by various controllers for chip configuration. 1590 */ 1591 - 1592 unsigned int ata_pio_need_iordy(const struct ata_device *adev) 1593 { 1594 /* Controller doesn't support IORDY. Probably a pointless check ··· 1611 * Compute the highest mode possible if we are not using iordy. Return 1612 * -1 if no iordy mode is available. 1613 */ 1614 - 1615 static u32 ata_pio_mask_no_iordy(const struct ata_device *adev) 1616 { 1617 /* If we have no drive specific rule, then PIO 2 is non IORDY */ ··· 2663 t->active += (t->cycle - (t->active + t->recover)) / 2; 2664 t->recover = t->cycle - t->active; 2665 } 2666 - 2667 /* In a few cases quantisation may produce enough errors to 2668 leave t->cycle too low for the sum of active and recovery 2669 if so we must correct this */ ··· 2893 if (used_dma && (ap->host->flags & ATA_HOST_SIMPLEX)) 2894 ap->host->simplex_claimed = ap; 2895 2896 - /* step5: chip specific finalisation */ 2897 - if (ap->ops->post_set_mode) 2898 - ap->ops->post_set_mode(ap); 2899 out: 2900 if (rc) 2901 *r_failed_dev = dev; ··· 3768 { "ATAPI CD-ROM DRIVE 40X MAXIMUM",NULL,ATA_HORKAGE_NODMA }, 3769 { "_NEC DV5800A", NULL, ATA_HORKAGE_NODMA }, 3770 { "SAMSUNG CD-ROM SN-124","N001", ATA_HORKAGE_NODMA }, 3771 3772 /* Weird ATAPI devices */ 3773 { "TORiSAN DVD-ROM DRD-N216", NULL, ATA_HORKAGE_MAX_SEC_128 |
··· 59 60 #include "libata.h" 61 62 + #define DRV_VERSION "2.21" /* must be exactly four chars */ 63 64 65 /* debounce timing parameters in msecs { interval, duration, timeout } */ ··· 977 { 978 u64 sectors = dev->n_sectors; 979 u64 hpa_sectors; 980 + 981 if (ata_id_has_lba48(dev->id)) 982 hpa_sectors = ata_read_native_max_address_ext(dev); 983 else ··· 1588 * Check if the current speed of the device requires IORDY. Used 1589 * by various controllers for chip configuration. 1590 */ 1591 + 1592 unsigned int ata_pio_need_iordy(const struct ata_device *adev) 1593 { 1594 /* Controller doesn't support IORDY. Probably a pointless check ··· 1611 * Compute the highest mode possible if we are not using iordy. Return 1612 * -1 if no iordy mode is available. 1613 */ 1614 + 1615 static u32 ata_pio_mask_no_iordy(const struct ata_device *adev) 1616 { 1617 /* If we have no drive specific rule, then PIO 2 is non IORDY */ ··· 2663 t->active += (t->cycle - (t->active + t->recover)) / 2; 2664 t->recover = t->cycle - t->active; 2665 } 2666 + 2667 /* In a few cases quantisation may produce enough errors to 2668 leave t->cycle too low for the sum of active and recovery 2669 if so we must correct this */ ··· 2893 if (used_dma && (ap->host->flags & ATA_HOST_SIMPLEX)) 2894 ap->host->simplex_claimed = ap; 2895 2896 out: 2897 if (rc) 2898 *r_failed_dev = dev; ··· 3771 { "ATAPI CD-ROM DRIVE 40X MAXIMUM",NULL,ATA_HORKAGE_NODMA }, 3772 { "_NEC DV5800A", NULL, ATA_HORKAGE_NODMA }, 3773 { "SAMSUNG CD-ROM SN-124","N001", ATA_HORKAGE_NODMA }, 3774 + { "Seagate STT20000A", NULL, ATA_HORKAGE_NODMA }, 3775 3776 /* Weird ATAPI devices */ 3777 { "TORiSAN DVD-ROM DRD-N216", NULL, ATA_HORKAGE_MAX_SEC_128 |
+1 -1
drivers/ata/libata-eh.c
··· 1009 sense_buf[0] = 0x70; 1010 sense_buf[2] = qc->result_tf.feature >> 4; 1011 1012 - /* some devices time out if garbage left in tf */ 1013 ata_tf_init(dev, &tf); 1014 1015 memset(cdb, 0, ATAPI_CDB_LEN);
··· 1009 sense_buf[0] = 0x70; 1010 sense_buf[2] = qc->result_tf.feature >> 4; 1011 1012 + /* some devices time out if garbage left in tf */ 1013 ata_tf_init(dev, &tf); 1014 1015 memset(cdb, 0, ATAPI_CDB_LEN);
+2 -2
drivers/ata/pata_artop.c
··· 28 #include <linux/ata.h> 29 30 #define DRV_NAME "pata_artop" 31 - #define DRV_VERSION "0.4.2" 32 33 /* 34 * The ARTOP has 33 Mhz and "over clocked" timing tables. Until we ··· 99 * 100 * Identify the cable type for the ARTOp interface in question 101 */ 102 - 103 static int artop6260_cable_detect(struct ata_port *ap) 104 { 105 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
··· 28 #include <linux/ata.h> 29 30 #define DRV_NAME "pata_artop" 31 + #define DRV_VERSION "0.4.3" 32 33 /* 34 * The ARTOP has 33 Mhz and "over clocked" timing tables. Until we ··· 99 * 100 * Identify the cable type for the ARTOp interface in question 101 */ 102 + 103 static int artop6260_cable_detect(struct ata_port *ap) 104 { 105 struct pci_dev *pdev = to_pci_dev(ap->host->dev);
+2 -2
drivers/ata/pata_cmd640.c
··· 107 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); 108 } else { 109 /* Save the shared timings for channel, they will be loaded 110 - by qc_issue_prot. Reloading the setup time is expensive 111 so we keep a merged one loaded */ 112 pci_read_config_byte(pdev, ARTIM23, &reg); 113 reg &= 0x3F; ··· 231 pci_write_config_byte(pdev, CMDTIM, 0); 232 /* 512 byte bursts (sector) */ 233 pci_write_config_byte(pdev, BRST, 0x40); 234 - /* 235 * A reporter a long time ago 236 * Had problems with the data fifo 237 * So don't run the risk
··· 107 pci_write_config_byte(pdev, arttim + 1, (t.active << 4) | t.recover); 108 } else { 109 /* Save the shared timings for channel, they will be loaded 110 + by qc_issue_prot. Reloading the setup time is expensive 111 so we keep a merged one loaded */ 112 pci_read_config_byte(pdev, ARTIM23, &reg); 113 reg &= 0x3F; ··· 231 pci_write_config_byte(pdev, CMDTIM, 0); 232 /* 512 byte bursts (sector) */ 233 pci_write_config_byte(pdev, BRST, 0x40); 234 + /* 235 * A reporter a long time ago 236 * Had problems with the data fifo 237 * So don't run the risk
+1 -1
drivers/ata/pata_cmd64x.c
··· 31 #include <linux/libata.h> 32 33 #define DRV_NAME "pata_cmd64x" 34 - #define DRV_VERSION "0.2.2" 35 36 /* 37 * CMD64x specific registers definition.
··· 31 #include <linux/libata.h> 32 33 #define DRV_NAME "pata_cmd64x" 34 + #define DRV_VERSION "0.2.3" 35 36 /* 37 * CMD64x specific registers definition.
+1 -1
drivers/ata/pata_cs5520.c
··· 41 #include <linux/libata.h> 42 43 #define DRV_NAME "pata_cs5520" 44 - #define DRV_VERSION "0.6.4" 45 46 struct pio_clocks 47 {
··· 41 #include <linux/libata.h> 42 43 #define DRV_NAME "pata_cs5520" 44 + #define DRV_VERSION "0.6.5" 45 46 struct pio_clocks 47 {
+1 -1
drivers/ata/pata_cs5530.c
··· 35 #include <linux/dmi.h> 36 37 #define DRV_NAME "pata_cs5530" 38 - #define DRV_VERSION "0.7.2" 39 40 static void __iomem *cs5530_port_base(struct ata_port *ap) 41 {
··· 35 #include <linux/dmi.h> 36 37 #define DRV_NAME "pata_cs5530" 38 + #define DRV_VERSION "0.7.3" 39 40 static void __iomem *cs5530_port_base(struct ata_port *ap) 41 {
+1 -1
drivers/ata/pata_cs5535.c
··· 39 #include <asm/msr.h> 40 41 #define DRV_NAME "cs5535" 42 - #define DRV_VERSION "0.2.11" 43 44 /* 45 * The Geode (Aka Athlon GX now) uses an internal MSR based
··· 39 #include <asm/msr.h> 40 41 #define DRV_NAME "cs5535" 42 + #define DRV_VERSION "0.2.12" 43 44 /* 45 * The Geode (Aka Athlon GX now) uses an internal MSR based
+1 -1
drivers/ata/pata_cypress.c
··· 18 #include <linux/libata.h> 19 20 #define DRV_NAME "pata_cypress" 21 - #define DRV_VERSION "0.1.4" 22 23 /* here are the offset definitions for the registers */ 24
··· 18 #include <linux/libata.h> 19 20 #define DRV_NAME "pata_cypress" 21 + #define DRV_VERSION "0.1.5" 22 23 /* here are the offset definitions for the registers */ 24
+1 -27
drivers/ata/pata_hpt366.c
··· 220 return ATA_CBL_PATA80; 221 } 222 223 - static int hpt36x_pre_reset(struct ata_port *ap, unsigned long deadline) 224 - { 225 - static const struct pci_bits hpt36x_enable_bits[] = { 226 - { 0x50, 1, 0x04, 0x04 }, 227 - { 0x54, 1, 0x04, 0x04 } 228 - }; 229 - struct pci_dev *pdev = to_pci_dev(ap->host->dev); 230 - 231 - if (!pci_test_config_bits(pdev, &hpt36x_enable_bits[ap->port_no])) 232 - return -ENOENT; 233 - 234 - return ata_std_prereset(ap, deadline); 235 - } 236 - 237 - /** 238 - * hpt36x_error_handler - reset the hpt36x bus 239 - * @ap: ATA port to reset 240 - * 241 - * Perform the reset handling for the 366/368 242 - */ 243 - 244 - static void hpt36x_error_handler(struct ata_port *ap) 245 - { 246 - ata_bmdma_drive_eh(ap, hpt36x_pre_reset, ata_std_softreset, NULL, ata_std_postreset); 247 - } 248 - 249 /** 250 * hpt366_set_piomode - PIO setup 251 * @ap: ATA interface ··· 325 326 .freeze = ata_bmdma_freeze, 327 .thaw = ata_bmdma_thaw, 328 - .error_handler = hpt36x_error_handler, 329 .post_internal_cmd = ata_bmdma_post_internal_cmd, 330 .cable_detect = hpt36x_cable_detect, 331
··· 220 return ATA_CBL_PATA80; 221 } 222 223 /** 224 * hpt366_set_piomode - PIO setup 225 * @ap: ATA interface ··· 351 352 .freeze = ata_bmdma_freeze, 353 .thaw = ata_bmdma_thaw, 354 + .error_handler = ata_bmdma_error_handler, 355 .post_internal_cmd = ata_bmdma_post_internal_cmd, 356 .cable_detect = hpt36x_cable_detect, 357
+5 -5
drivers/ata/pata_hpt37x.c
··· 961 u8 mcr1; 962 u32 freq; 963 int prefer_dpll = 1; 964 - 965 unsigned long iobase = pci_resource_start(dev, 4); 966 967 const struct hpt_chip *chip_table; ··· 1055 */ 1056 1057 pci_write_config_byte(dev, 0x5b, 0x23); 1058 - 1059 /* 1060 * HighPoint does this for HPT372A. 1061 * NOTE: This register is only writeable via I/O space. ··· 1088 * Turn the frequency check into a band and then find a timing 1089 * table to match it. 1090 */ 1091 - 1092 clock_slot = hpt37x_clock_slot(freq, chip_table->base); 1093 if (chip_table->clocks[clock_slot] == NULL || prefer_dpll) { 1094 /* ··· 1099 */ 1100 unsigned int f_low, f_high; 1101 int adjust; 1102 - 1103 clock_slot = 2; 1104 if (port->udma_mask & 0xE0) 1105 clock_slot = 3; 1106 - 1107 f_low = (MHz[clock_slot] * chip_table->base) / 192; 1108 f_high = f_low + 2; 1109
··· 961 u8 mcr1; 962 u32 freq; 963 int prefer_dpll = 1; 964 + 965 unsigned long iobase = pci_resource_start(dev, 4); 966 967 const struct hpt_chip *chip_table; ··· 1055 */ 1056 1057 pci_write_config_byte(dev, 0x5b, 0x23); 1058 + 1059 /* 1060 * HighPoint does this for HPT372A. 1061 * NOTE: This register is only writeable via I/O space. ··· 1088 * Turn the frequency check into a band and then find a timing 1089 * table to match it. 1090 */ 1091 + 1092 clock_slot = hpt37x_clock_slot(freq, chip_table->base); 1093 if (chip_table->clocks[clock_slot] == NULL || prefer_dpll) { 1094 /* ··· 1099 */ 1100 unsigned int f_low, f_high; 1101 int adjust; 1102 + 1103 clock_slot = 2; 1104 if (port->udma_mask & 0xE0) 1105 clock_slot = 3; 1106 + 1107 f_low = (MHz[clock_slot] * chip_table->base) / 192; 1108 f_high = f_low + 2; 1109
+1 -1
drivers/ata/pata_hpt3x3.c
··· 23 #include <linux/libata.h> 24 25 #define DRV_NAME "pata_hpt3x3" 26 - #define DRV_VERSION "0.4.2" 27 28 /** 29 * hpt3x3_set_piomode - PIO setup
··· 23 #include <linux/libata.h> 24 25 #define DRV_NAME "pata_hpt3x3" 26 + #define DRV_VERSION "0.4.3" 27 28 /** 29 * hpt3x3_set_piomode - PIO setup
+1 -1
drivers/ata/pata_isapnp.c
··· 17 #include <linux/libata.h> 18 19 #define DRV_NAME "pata_isapnp" 20 - #define DRV_VERSION "0.2.0" 21 22 static struct scsi_host_template isapnp_sht = { 23 .module = THIS_MODULE,
··· 17 #include <linux/libata.h> 18 19 #define DRV_NAME "pata_isapnp" 20 + #define DRV_VERSION "0.2.1" 21 22 static struct scsi_host_template isapnp_sht = { 23 .module = THIS_MODULE,
+1 -1
drivers/ata/pata_it8213.c
··· 19 #include <linux/ata.h> 20 21 #define DRV_NAME "pata_it8213" 22 - #define DRV_VERSION "0.0.2" 23 24 /** 25 * it8213_pre_reset - check for 40/80 pin
··· 19 #include <linux/ata.h> 20 21 #define DRV_NAME "pata_it8213" 22 + #define DRV_VERSION "0.0.3" 23 24 /** 25 * it8213_pre_reset - check for 40/80 pin
+1 -1
drivers/ata/pata_ixp4xx_cf.c
··· 23 #include <scsi/scsi_host.h> 24 25 #define DRV_NAME "pata_ixp4xx_cf" 26 - #define DRV_VERSION "0.1.2" 27 28 static int ixp4xx_set_mode(struct ata_port *ap, struct ata_device **error) 29 {
··· 23 #include <scsi/scsi_host.h> 24 25 #define DRV_NAME "pata_ixp4xx_cf" 26 + #define DRV_VERSION "0.1.3" 27 28 static int ixp4xx_set_mode(struct ata_port *ap, struct ata_device **error) 29 {
+1 -1
drivers/ata/pata_jmicron.c
··· 19 #include <linux/ata.h> 20 21 #define DRV_NAME "pata_jmicron" 22 - #define DRV_VERSION "0.1.4" 23 24 typedef enum { 25 PORT_PATA0 = 0,
··· 19 #include <linux/ata.h> 20 21 #define DRV_NAME "pata_jmicron" 22 + #define DRV_VERSION "0.1.5" 23 24 typedef enum { 25 PORT_PATA0 = 0,
+1 -1
drivers/ata/pata_legacy.c
··· 64 #include <linux/platform_device.h> 65 66 #define DRV_NAME "pata_legacy" 67 - #define DRV_VERSION "0.5.4" 68 69 #define NR_HOST 6 70
··· 64 #include <linux/platform_device.h> 65 66 #define DRV_NAME "pata_legacy" 67 + #define DRV_VERSION "0.5.5" 68 69 #define NR_HOST 6 70
+1 -1
drivers/ata/pata_platform.c
··· 22 #include <linux/pata_platform.h> 23 24 #define DRV_NAME "pata_platform" 25 - #define DRV_VERSION "0.1.2" 26 27 static int pio_mask = 1; 28
··· 22 #include <linux/pata_platform.h> 23 24 #define DRV_NAME "pata_platform" 25 + #define DRV_VERSION "1.0" 26 27 static int pio_mask = 1; 28
+1 -1
drivers/ata/pata_qdi.c
··· 26 #include <linux/platform_device.h> 27 28 #define DRV_NAME "pata_qdi" 29 - #define DRV_VERSION "0.3.0" 30 31 #define NR_HOST 4 /* Two 6580s */ 32
··· 26 #include <linux/platform_device.h> 27 28 #define DRV_NAME "pata_qdi" 29 + #define DRV_VERSION "0.3.1" 30 31 #define NR_HOST 4 /* Two 6580s */ 32
+1 -1
drivers/ata/pata_rz1000.c
··· 21 #include <linux/libata.h> 22 23 #define DRV_NAME "pata_rz1000" 24 - #define DRV_VERSION "0.2.3" 25 26 27 /**
··· 21 #include <linux/libata.h> 22 23 #define DRV_NAME "pata_rz1000" 24 + #define DRV_VERSION "0.2.4" 25 26 27 /**
+1 -1
drivers/ata/pata_sc1200.c
··· 40 #include <linux/libata.h> 41 42 #define DRV_NAME "sc1200" 43 - #define DRV_VERSION "0.2.4" 44 45 #define SC1200_REV_A 0x00 46 #define SC1200_REV_B1 0x01
··· 40 #include <linux/libata.h> 41 42 #define DRV_NAME "sc1200" 43 + #define DRV_VERSION "0.2.5" 44 45 #define SC1200_REV_A 0x00 46 #define SC1200_REV_B1 0x01
+1 -1
drivers/ata/pata_scc.c
··· 43 #include <linux/libata.h> 44 45 #define DRV_NAME "pata_scc" 46 - #define DRV_VERSION "0.1" 47 48 #define PCI_DEVICE_ID_TOSHIBA_SCC_ATA 0x01b4 49
··· 43 #include <linux/libata.h> 44 45 #define DRV_NAME "pata_scc" 46 + #define DRV_VERSION "0.2" 47 48 #define PCI_DEVICE_ID_TOSHIBA_SCC_ATA 0x01b4 49
+1 -1
drivers/ata/pata_serverworks.c
··· 41 #include <linux/libata.h> 42 43 #define DRV_NAME "pata_serverworks" 44 - #define DRV_VERSION "0.4.0" 45 46 #define SVWKS_CSB5_REVISION_NEW 0x92 /* min PCI_REVISION_ID for UDMA5 (A2.0) */ 47 #define SVWKS_CSB6_REVISION 0xa0 /* min PCI_REVISION_ID for UDMA4 (A1.0) */
··· 41 #include <linux/libata.h> 42 43 #define DRV_NAME "pata_serverworks" 44 + #define DRV_VERSION "0.4.1" 45 46 #define SVWKS_CSB5_REVISION_NEW 0x92 /* min PCI_REVISION_ID for UDMA5 (A2.0) */ 47 #define SVWKS_CSB6_REVISION 0xa0 /* min PCI_REVISION_ID for UDMA4 (A1.0) */
+1 -1
drivers/ata/pata_sl82c105.c
··· 26 #include <linux/libata.h> 27 28 #define DRV_NAME "pata_sl82c105" 29 - #define DRV_VERSION "0.3.0" 30 31 enum { 32 /*
··· 26 #include <linux/libata.h> 27 28 #define DRV_NAME "pata_sl82c105" 29 + #define DRV_VERSION "0.3.1" 30 31 enum { 32 /*
+1 -1
drivers/ata/pata_winbond.c
··· 16 #include <linux/platform_device.h> 17 18 #define DRV_NAME "pata_winbond" 19 - #define DRV_VERSION "0.0.2" 20 21 #define NR_HOST 4 /* Two winbond controllers, two channels each */ 22
··· 16 #include <linux/platform_device.h> 17 18 #define DRV_NAME "pata_winbond" 19 + #define DRV_VERSION "0.0.3" 20 21 #define NR_HOST 4 /* Two winbond controllers, two channels each */ 22
+1 -1
drivers/ata/pdc_adma.c
··· 44 #include <linux/libata.h> 45 46 #define DRV_NAME "pdc_adma" 47 - #define DRV_VERSION "0.05" 48 49 /* macro to calculate base address for ATA regs */ 50 #define ADMA_ATA_REGS(base,port_no) ((base) + ((port_no) * 0x40))
··· 44 #include <linux/libata.h> 45 46 #define DRV_NAME "pdc_adma" 47 + #define DRV_VERSION "0.06" 48 49 /* macro to calculate base address for ATA regs */ 50 #define ADMA_ATA_REGS(base,port_no) ((base) + ((port_no) * 0x40))
+1 -1
drivers/ata/sata_inic162x.c
··· 28 #include <scsi/scsi_device.h> 29 30 #define DRV_NAME "sata_inic162x" 31 - #define DRV_VERSION "0.1" 32 33 enum { 34 MMIO_BAR = 5,
··· 28 #include <scsi/scsi_device.h> 29 30 #define DRV_NAME "sata_inic162x" 31 + #define DRV_VERSION "0.2" 32 33 enum { 34 MMIO_BAR = 5,
+1 -1
drivers/ata/sata_mv.c
··· 35 #include <linux/libata.h> 36 37 #define DRV_NAME "sata_mv" 38 - #define DRV_VERSION "0.8" 39 40 enum { 41 /* BAR's are enumerated in terms of pci_resource_start() terms */
··· 35 #include <linux/libata.h> 36 37 #define DRV_NAME "sata_mv" 38 + #define DRV_VERSION "0.81" 39 40 enum { 41 /* BAR's are enumerated in terms of pci_resource_start() terms */
+3 -3
drivers/ata/sata_nv.c
··· 49 #include <linux/libata.h> 50 51 #define DRV_NAME "sata_nv" 52 - #define DRV_VERSION "3.3" 53 54 #define NV_ADMA_DMA_BOUNDARY 0xffffffffUL 55 ··· 802 u16 status; 803 u32 gen_ctl; 804 u32 notifier, notifier_error; 805 - 806 /* if ADMA is disabled, use standard ata interrupt handler */ 807 if (pp->flags & NV_ADMA_ATAPI_SETUP_COMPLETE) { 808 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) ··· 963 964 /* clear ADMA status */ 965 writew(0xffff, mmio + NV_ADMA_STAT); 966 - 967 /* clear notifiers - note both ports need to be written with 968 something even though we are only clearing on one */ 969 if (ap->port_no == 0) {
··· 49 #include <linux/libata.h> 50 51 #define DRV_NAME "sata_nv" 52 + #define DRV_VERSION "3.4" 53 54 #define NV_ADMA_DMA_BOUNDARY 0xffffffffUL 55 ··· 802 u16 status; 803 u32 gen_ctl; 804 u32 notifier, notifier_error; 805 + 806 /* if ADMA is disabled, use standard ata interrupt handler */ 807 if (pp->flags & NV_ADMA_ATAPI_SETUP_COMPLETE) { 808 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) ··· 963 964 /* clear ADMA status */ 965 writew(0xffff, mmio + NV_ADMA_STAT); 966 + 967 /* clear notifiers - note both ports need to be written with 968 something even though we are only clearing on one */ 969 if (ap->port_no == 0) {
+1 -1
drivers/ata/sata_qstor.c
··· 39 #include <linux/libata.h> 40 41 #define DRV_NAME "sata_qstor" 42 - #define DRV_VERSION "0.07" 43 44 enum { 45 QS_MMIO_BAR = 4,
··· 39 #include <linux/libata.h> 40 41 #define DRV_NAME "sata_qstor" 42 + #define DRV_VERSION "0.08" 43 44 enum { 45 QS_MMIO_BAR = 4,
+1 -1
drivers/ata/sata_sil.c
··· 305 u32 tmp, dev_mode[2]; 306 unsigned int i; 307 int rc; 308 - 309 rc = ata_do_set_mode(ap, r_failed); 310 if (rc) 311 return rc;
··· 305 u32 tmp, dev_mode[2]; 306 unsigned int i; 307 int rc; 308 + 309 rc = ata_do_set_mode(ap, r_failed); 310 if (rc) 311 return rc;
+1 -1
drivers/ata/sata_sil24.c
··· 30 #include <linux/libata.h> 31 32 #define DRV_NAME "sata_sil24" 33 - #define DRV_VERSION "0.8" 34 35 /* 36 * Port request block (PRB) 32 bytes
··· 30 #include <linux/libata.h> 31 32 #define DRV_NAME "sata_sil24" 33 + #define DRV_VERSION "0.9" 34 35 /* 36 * Port request block (PRB) 32 bytes
+1 -1
drivers/ata/sata_sis.c
··· 43 #include "sis.h" 44 45 #define DRV_NAME "sata_sis" 46 - #define DRV_VERSION "0.7" 47 48 enum { 49 sis_180 = 0,
··· 43 #include "sis.h" 44 45 #define DRV_NAME "sata_sis" 46 + #define DRV_VERSION "0.8" 47 48 enum { 49 sis_180 = 0,
+1 -1
drivers/ata/sata_svw.c
··· 53 #endif /* CONFIG_PPC_OF */ 54 55 #define DRV_NAME "sata_svw" 56 - #define DRV_VERSION "2.1" 57 58 enum { 59 /* ap->flags bits */
··· 53 #endif /* CONFIG_PPC_OF */ 54 55 #define DRV_NAME "sata_svw" 56 + #define DRV_VERSION "2.2" 57 58 enum { 59 /* ap->flags bits */
+1 -1
drivers/ata/sata_sx4.c
··· 44 #include "sata_promise.h" 45 46 #define DRV_NAME "sata_sx4" 47 - #define DRV_VERSION "0.10" 48 49 50 enum {
··· 44 #include "sata_promise.h" 45 46 #define DRV_NAME "sata_sx4" 47 + #define DRV_VERSION "0.11" 48 49 50 enum {
+1 -1
drivers/ata/sata_uli.c
··· 36 #include <linux/libata.h> 37 38 #define DRV_NAME "sata_uli" 39 - #define DRV_VERSION "1.1" 40 41 enum { 42 uli_5289 = 0,
··· 36 #include <linux/libata.h> 37 38 #define DRV_NAME "sata_uli" 39 + #define DRV_VERSION "1.2" 40 41 enum { 42 uli_5289 = 0,
+1 -1
drivers/ata/sata_via.c
··· 46 #include <linux/libata.h> 47 48 #define DRV_NAME "sata_via" 49 - #define DRV_VERSION "2.1" 50 51 enum board_ids_enum { 52 vt6420,
··· 46 #include <linux/libata.h> 47 48 #define DRV_NAME "sata_via" 49 + #define DRV_VERSION "2.2" 50 51 enum board_ids_enum { 52 vt6420,
+1 -1
drivers/ata/sata_vsc.c
··· 47 #include <linux/libata.h> 48 49 #define DRV_NAME "sata_vsc" 50 - #define DRV_VERSION "2.1" 51 52 enum { 53 VSC_MMIO_BAR = 0,
··· 47 #include <linux/libata.h> 48 49 #define DRV_NAME "sata_vsc" 50 + #define DRV_VERSION "2.2" 51 52 enum { 53 VSC_MMIO_BAR = 0,
-2
include/linux/libata.h
··· 574 void (*phy_reset) (struct ata_port *ap); /* obsolete */ 575 int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); 576 577 - void (*post_set_mode) (struct ata_port *ap); 578 - 579 int (*cable_detect) (struct ata_port *ap); 580 581 int (*check_atapi_dma) (struct ata_queued_cmd *qc);
··· 574 void (*phy_reset) (struct ata_port *ap); /* obsolete */ 575 int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); 576 577 int (*cable_detect) (struct ata_port *ap); 578 579 int (*check_atapi_dma) (struct ata_queued_cmd *qc);