Commit 04fc5fd3 authored by Linus Torvalds's avatar Linus Torvalds

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
parents 8aee74c8 8bc3fc47
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "ahci" #define DRV_NAME "ahci"
#define DRV_VERSION "2.1" #define DRV_VERSION "2.2"
enum { enum {
...@@ -170,6 +170,7 @@ enum { ...@@ -170,6 +170,7 @@ enum {
AHCI_FLAG_IGN_IRQ_IF_ERR = (1 << 25), /* ignore IRQ_IF_ERR */ AHCI_FLAG_IGN_IRQ_IF_ERR = (1 << 25), /* ignore IRQ_IF_ERR */
AHCI_FLAG_HONOR_PI = (1 << 26), /* honor PORTS_IMPL */ AHCI_FLAG_HONOR_PI = (1 << 26), /* honor PORTS_IMPL */
AHCI_FLAG_IGN_SERR_INTERNAL = (1 << 27), /* ignore SERR_INTERNAL */ AHCI_FLAG_IGN_SERR_INTERNAL = (1 << 27), /* ignore SERR_INTERNAL */
AHCI_FLAG_32BIT_ONLY = (1 << 28), /* force 32bit */
AHCI_FLAG_COMMON = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | AHCI_FLAG_COMMON = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY |
ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA |
...@@ -354,7 +355,8 @@ static const struct ata_port_info ahci_port_info[] = { ...@@ -354,7 +355,8 @@ static const struct ata_port_info ahci_port_info[] = {
/* board_ahci_sb600 */ /* board_ahci_sb600 */
{ {
.flags = AHCI_FLAG_COMMON | .flags = AHCI_FLAG_COMMON |
AHCI_FLAG_IGN_SERR_INTERNAL, AHCI_FLAG_IGN_SERR_INTERNAL |
AHCI_FLAG_32BIT_ONLY,
.pio_mask = 0x1f, /* pio0-4 */ .pio_mask = 0x1f, /* pio0-4 */
.udma_mask = 0x7f, /* udma0-6 ; FIXME */ .udma_mask = 0x7f, /* udma0-6 ; FIXME */
.port_ops = &ahci_ops, .port_ops = &ahci_ops,
...@@ -492,6 +494,13 @@ static void ahci_save_initial_config(struct pci_dev *pdev, ...@@ -492,6 +494,13 @@ static void ahci_save_initial_config(struct pci_dev *pdev,
hpriv->saved_cap = cap = readl(mmio + HOST_CAP); hpriv->saved_cap = cap = readl(mmio + HOST_CAP);
hpriv->saved_port_map = port_map = readl(mmio + HOST_PORTS_IMPL); hpriv->saved_port_map = port_map = readl(mmio + HOST_PORTS_IMPL);
/* some chips lie about 64bit support */
if ((cap & HOST_CAP_64) && (pi->flags & AHCI_FLAG_32BIT_ONLY)) {
dev_printk(KERN_INFO, &pdev->dev,
"controller can't do 64bit DMA, forcing 32bit\n");
cap &= ~HOST_CAP_64;
}
/* fixup zero port_map */ /* fixup zero port_map */
if (!port_map) { if (!port_map) {
port_map = (1 << ahci_nr_ports(hpriv->cap)) - 1; port_map = (1 << ahci_nr_ports(hpriv->cap)) - 1;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "ata_generic" #define DRV_NAME "ata_generic"
#define DRV_VERSION "0.2.11" #define DRV_VERSION "0.2.12"
/* /*
* A generic parallel ATA driver using libata * A generic parallel ATA driver using libata
......
...@@ -155,7 +155,6 @@ struct piix_host_priv { ...@@ -155,7 +155,6 @@ struct piix_host_priv {
static int piix_init_one (struct pci_dev *pdev, static int piix_init_one (struct pci_dev *pdev,
const struct pci_device_id *ent); const struct pci_device_id *ent);
static void piix_pata_error_handler(struct ata_port *ap); static void piix_pata_error_handler(struct ata_port *ap);
static void piix_sata_error_handler(struct ata_port *ap);
static void piix_set_piomode (struct ata_port *ap, struct ata_device *adev); static void piix_set_piomode (struct ata_port *ap, struct ata_device *adev);
static void piix_set_dmamode (struct ata_port *ap, struct ata_device *adev); static void piix_set_dmamode (struct ata_port *ap, struct ata_device *adev);
static void ich_set_dmamode (struct ata_port *ap, struct ata_device *adev); static void ich_set_dmamode (struct ata_port *ap, struct ata_device *adev);
...@@ -364,7 +363,7 @@ static const struct ata_port_operations piix_sata_ops = { ...@@ -364,7 +363,7 @@ static const struct ata_port_operations piix_sata_ops = {
.freeze = ata_bmdma_freeze, .freeze = ata_bmdma_freeze,
.thaw = ata_bmdma_thaw, .thaw = ata_bmdma_thaw,
.error_handler = piix_sata_error_handler, .error_handler = ata_bmdma_error_handler,
.post_internal_cmd = ata_bmdma_post_internal_cmd, .post_internal_cmd = ata_bmdma_post_internal_cmd,
.irq_handler = ata_interrupt, .irq_handler = ata_interrupt,
...@@ -641,12 +640,6 @@ static void piix_pata_error_handler(struct ata_port *ap) ...@@ -641,12 +640,6 @@ static void piix_pata_error_handler(struct ata_port *ap)
ata_std_postreset); ata_std_postreset);
} }
static void piix_sata_error_handler(struct ata_port *ap)
{
ata_bmdma_drive_eh(ap, ata_std_prereset, ata_std_softreset, NULL,
ata_std_postreset);
}
/** /**
* piix_set_piomode - Initialize host controller PATA PIO timings * piix_set_piomode - Initialize host controller PATA PIO timings
* @ap: Port whose timings we are configuring * @ap: Port whose timings we are configuring
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
#include "libata.h" #include "libata.h"
#define DRV_VERSION "2.20" /* must be exactly four chars */ #define DRV_VERSION "2.21" /* must be exactly four chars */
/* debounce timing parameters in msecs { interval, duration, timeout } */ /* debounce timing parameters in msecs { interval, duration, timeout } */
...@@ -2893,9 +2893,6 @@ int ata_do_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev) ...@@ -2893,9 +2893,6 @@ int ata_do_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev)
if (used_dma && (ap->host->flags & ATA_HOST_SIMPLEX)) if (used_dma && (ap->host->flags & ATA_HOST_SIMPLEX))
ap->host->simplex_claimed = ap; ap->host->simplex_claimed = ap;
/* step5: chip specific finalisation */
if (ap->ops->post_set_mode)
ap->ops->post_set_mode(ap);
out: out:
if (rc) if (rc)
*r_failed_dev = dev; *r_failed_dev = dev;
...@@ -3771,6 +3768,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { ...@@ -3771,6 +3768,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
{ "ATAPI CD-ROM DRIVE 40X MAXIMUM",NULL,ATA_HORKAGE_NODMA }, { "ATAPI CD-ROM DRIVE 40X MAXIMUM",NULL,ATA_HORKAGE_NODMA },
{ "_NEC DV5800A", NULL, ATA_HORKAGE_NODMA }, { "_NEC DV5800A", NULL, ATA_HORKAGE_NODMA },
{ "SAMSUNG CD-ROM SN-124","N001", ATA_HORKAGE_NODMA }, { "SAMSUNG CD-ROM SN-124","N001", ATA_HORKAGE_NODMA },
{ "Seagate STT20000A", NULL, ATA_HORKAGE_NODMA },
/* Weird ATAPI devices */ /* Weird ATAPI devices */
{ "TORiSAN DVD-ROM DRD-N216", NULL, ATA_HORKAGE_MAX_SEC_128 | { "TORiSAN DVD-ROM DRD-N216", NULL, ATA_HORKAGE_MAX_SEC_128 |
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <linux/ata.h> #include <linux/ata.h>
#define DRV_NAME "pata_artop" #define DRV_NAME "pata_artop"
#define DRV_VERSION "0.4.2" #define DRV_VERSION "0.4.3"
/* /*
* The ARTOP has 33 Mhz and "over clocked" timing tables. Until we * The ARTOP has 33 Mhz and "over clocked" timing tables. Until we
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_cmd64x" #define DRV_NAME "pata_cmd64x"
#define DRV_VERSION "0.2.2" #define DRV_VERSION "0.2.3"
/* /*
* CMD64x specific registers definition. * CMD64x specific registers definition.
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_cs5520" #define DRV_NAME "pata_cs5520"
#define DRV_VERSION "0.6.4" #define DRV_VERSION "0.6.5"
struct pio_clocks struct pio_clocks
{ {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <linux/dmi.h> #include <linux/dmi.h>
#define DRV_NAME "pata_cs5530" #define DRV_NAME "pata_cs5530"
#define DRV_VERSION "0.7.2" #define DRV_VERSION "0.7.3"
static void __iomem *cs5530_port_base(struct ata_port *ap) static void __iomem *cs5530_port_base(struct ata_port *ap)
{ {
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <asm/msr.h> #include <asm/msr.h>
#define DRV_NAME "cs5535" #define DRV_NAME "cs5535"
#define DRV_VERSION "0.2.11" #define DRV_VERSION "0.2.12"
/* /*
* The Geode (Aka Athlon GX now) uses an internal MSR based * The Geode (Aka Athlon GX now) uses an internal MSR based
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_cypress" #define DRV_NAME "pata_cypress"
#define DRV_VERSION "0.1.4" #define DRV_VERSION "0.1.5"
/* here are the offset definitions for the registers */ /* here are the offset definitions for the registers */
......
...@@ -220,32 +220,6 @@ static int hpt36x_cable_detect(struct ata_port *ap) ...@@ -220,32 +220,6 @@ static int hpt36x_cable_detect(struct ata_port *ap)
return ATA_CBL_PATA80; return ATA_CBL_PATA80;
} }
static int hpt36x_pre_reset(struct ata_port *ap, unsigned long deadline)
{
static const struct pci_bits hpt36x_enable_bits[] = {
{ 0x50, 1, 0x04, 0x04 },
{ 0x54, 1, 0x04, 0x04 }
};
struct pci_dev *pdev = to_pci_dev(ap->host->dev);
if (!pci_test_config_bits(pdev, &hpt36x_enable_bits[ap->port_no]))
return -ENOENT;
return ata_std_prereset(ap, deadline);
}
/**
* hpt36x_error_handler - reset the hpt36x bus
* @ap: ATA port to reset
*
* Perform the reset handling for the 366/368
*/
static void hpt36x_error_handler(struct ata_port *ap)
{
ata_bmdma_drive_eh(ap, hpt36x_pre_reset, ata_std_softreset, NULL, ata_std_postreset);
}
/** /**
* hpt366_set_piomode - PIO setup * hpt366_set_piomode - PIO setup
* @ap: ATA interface * @ap: ATA interface
...@@ -351,7 +325,7 @@ static struct ata_port_operations hpt366_port_ops = { ...@@ -351,7 +325,7 @@ static struct ata_port_operations hpt366_port_ops = {
.freeze = ata_bmdma_freeze, .freeze = ata_bmdma_freeze,
.thaw = ata_bmdma_thaw, .thaw = ata_bmdma_thaw,
.error_handler = hpt36x_error_handler, .error_handler = ata_bmdma_error_handler,
.post_internal_cmd = ata_bmdma_post_internal_cmd, .post_internal_cmd = ata_bmdma_post_internal_cmd,
.cable_detect = hpt36x_cable_detect, .cable_detect = hpt36x_cable_detect,
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_hpt3x3" #define DRV_NAME "pata_hpt3x3"
#define DRV_VERSION "0.4.2" #define DRV_VERSION "0.4.3"
/** /**
* hpt3x3_set_piomode - PIO setup * hpt3x3_set_piomode - PIO setup
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_isapnp" #define DRV_NAME "pata_isapnp"
#define DRV_VERSION "0.2.0" #define DRV_VERSION "0.2.1"
static struct scsi_host_template isapnp_sht = { static struct scsi_host_template isapnp_sht = {
.module = THIS_MODULE, .module = THIS_MODULE,
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <linux/ata.h> #include <linux/ata.h>
#define DRV_NAME "pata_it8213" #define DRV_NAME "pata_it8213"
#define DRV_VERSION "0.0.2" #define DRV_VERSION "0.0.3"
/** /**
* it8213_pre_reset - check for 40/80 pin * it8213_pre_reset - check for 40/80 pin
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <scsi/scsi_host.h> #include <scsi/scsi_host.h>
#define DRV_NAME "pata_ixp4xx_cf" #define DRV_NAME "pata_ixp4xx_cf"
#define DRV_VERSION "0.1.2" #define DRV_VERSION "0.1.3"
static int ixp4xx_set_mode(struct ata_port *ap, struct ata_device **error) static int ixp4xx_set_mode(struct ata_port *ap, struct ata_device **error)
{ {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <linux/ata.h> #include <linux/ata.h>
#define DRV_NAME "pata_jmicron" #define DRV_NAME "pata_jmicron"
#define DRV_VERSION "0.1.4" #define DRV_VERSION "0.1.5"
typedef enum { typedef enum {
PORT_PATA0 = 0, PORT_PATA0 = 0,
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#define DRV_NAME "pata_legacy" #define DRV_NAME "pata_legacy"
#define DRV_VERSION "0.5.4" #define DRV_VERSION "0.5.5"
#define NR_HOST 6 #define NR_HOST 6
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/pata_platform.h> #include <linux/pata_platform.h>
#define DRV_NAME "pata_platform" #define DRV_NAME "pata_platform"
#define DRV_VERSION "0.1.2" #define DRV_VERSION "1.0"
static int pio_mask = 1; static int pio_mask = 1;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#define DRV_NAME "pata_qdi" #define DRV_NAME "pata_qdi"
#define DRV_VERSION "0.3.0" #define DRV_VERSION "0.3.1"
#define NR_HOST 4 /* Two 6580s */ #define NR_HOST 4 /* Two 6580s */
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_rz1000" #define DRV_NAME "pata_rz1000"
#define DRV_VERSION "0.2.3" #define DRV_VERSION "0.2.4"
/** /**
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sc1200" #define DRV_NAME "sc1200"
#define DRV_VERSION "0.2.4" #define DRV_VERSION "0.2.5"
#define SC1200_REV_A 0x00 #define SC1200_REV_A 0x00
#define SC1200_REV_B1 0x01 #define SC1200_REV_B1 0x01
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_scc" #define DRV_NAME "pata_scc"
#define DRV_VERSION "0.1" #define DRV_VERSION "0.2"
#define PCI_DEVICE_ID_TOSHIBA_SCC_ATA 0x01b4 #define PCI_DEVICE_ID_TOSHIBA_SCC_ATA 0x01b4
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_serverworks" #define DRV_NAME "pata_serverworks"
#define DRV_VERSION "0.4.0" #define DRV_VERSION "0.4.1"
#define SVWKS_CSB5_REVISION_NEW 0x92 /* min PCI_REVISION_ID for UDMA5 (A2.0) */ #define SVWKS_CSB5_REVISION_NEW 0x92 /* min PCI_REVISION_ID for UDMA5 (A2.0) */
#define SVWKS_CSB6_REVISION 0xa0 /* min PCI_REVISION_ID for UDMA4 (A1.0) */ #define SVWKS_CSB6_REVISION 0xa0 /* min PCI_REVISION_ID for UDMA4 (A1.0) */
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pata_sl82c105" #define DRV_NAME "pata_sl82c105"
#define DRV_VERSION "0.3.0" #define DRV_VERSION "0.3.1"
enum { enum {
/* /*
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#define DRV_NAME "pata_winbond" #define DRV_NAME "pata_winbond"
#define DRV_VERSION "0.0.2" #define DRV_VERSION "0.0.3"
#define NR_HOST 4 /* Two winbond controllers, two channels each */ #define NR_HOST 4 /* Two winbond controllers, two channels each */
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "pdc_adma" #define DRV_NAME "pdc_adma"
#define DRV_VERSION "0.05" #define DRV_VERSION "0.06"
/* macro to calculate base address for ATA regs */ /* macro to calculate base address for ATA regs */
#define ADMA_ATA_REGS(base,port_no) ((base) + ((port_no) * 0x40)) #define ADMA_ATA_REGS(base,port_no) ((base) + ((port_no) * 0x40))
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <scsi/scsi_device.h> #include <scsi/scsi_device.h>
#define DRV_NAME "sata_inic162x" #define DRV_NAME "sata_inic162x"
#define DRV_VERSION "0.1" #define DRV_VERSION "0.2"
enum { enum {
MMIO_BAR = 5, MMIO_BAR = 5,
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_mv" #define DRV_NAME "sata_mv"
#define DRV_VERSION "0.8" #define DRV_VERSION "0.81"
enum { enum {
/* BAR's are enumerated in terms of pci_resource_start() terms */ /* BAR's are enumerated in terms of pci_resource_start() terms */
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_nv" #define DRV_NAME "sata_nv"
#define DRV_VERSION "3.3" #define DRV_VERSION "3.4"
#define NV_ADMA_DMA_BOUNDARY 0xffffffffUL #define NV_ADMA_DMA_BOUNDARY 0xffffffffUL
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_qstor" #define DRV_NAME "sata_qstor"
#define DRV_VERSION "0.07" #define DRV_VERSION "0.08"
enum { enum {
QS_MMIO_BAR = 4, QS_MMIO_BAR = 4,
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_sil24" #define DRV_NAME "sata_sil24"
#define DRV_VERSION "0.8" #define DRV_VERSION "0.9"
/* /*
* Port request block (PRB) 32 bytes * Port request block (PRB) 32 bytes
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include "sis.h" #include "sis.h"
#define DRV_NAME "sata_sis" #define DRV_NAME "sata_sis"
#define DRV_VERSION "0.7" #define DRV_VERSION "0.8"
enum { enum {
sis_180 = 0, sis_180 = 0,
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
#endif /* CONFIG_PPC_OF */ #endif /* CONFIG_PPC_OF */
#define DRV_NAME "sata_svw" #define DRV_NAME "sata_svw"
#define DRV_VERSION "2.1" #define DRV_VERSION "2.2"
enum { enum {
/* ap->flags bits */ /* ap->flags bits */
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include "sata_promise.h" #include "sata_promise.h"
#define DRV_NAME "sata_sx4" #define DRV_NAME "sata_sx4"
#define DRV_VERSION "0.10" #define DRV_VERSION "0.11"
enum { enum {
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_uli" #define DRV_NAME "sata_uli"
#define DRV_VERSION "1.1" #define DRV_VERSION "1.2"
enum { enum {
uli_5289 = 0, uli_5289 = 0,
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_via" #define DRV_NAME "sata_via"
#define DRV_VERSION "2.1" #define DRV_VERSION "2.2"
enum board_ids_enum { enum board_ids_enum {
vt6420, vt6420,
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#include <linux/libata.h> #include <linux/libata.h>
#define DRV_NAME "sata_vsc" #define DRV_NAME "sata_vsc"
#define DRV_VERSION "2.1" #define DRV_VERSION "2.2"
enum { enum {
VSC_MMIO_BAR = 0, VSC_MMIO_BAR = 0,
......
...@@ -574,8 +574,6 @@ struct ata_port_operations { ...@@ -574,8 +574,6 @@ struct ata_port_operations {
void (*phy_reset) (struct ata_port *ap); /* obsolete */ void (*phy_reset) (struct ata_port *ap); /* obsolete */
int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev);
void (*post_set_mode) (struct ata_port *ap);
int (*cable_detect) (struct ata_port *ap); int (*cable_detect) (struct ata_port *ap);
int (*check_atapi_dma) (struct ata_queued_cmd *qc); int (*check_atapi_dma) (struct ata_queued_cmd *qc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment