Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81ad1837 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik
Browse files

libata: Switch most of the remaining SFF drivers to ata_sff_port_start



This avoids allocating DMA buffers if not needed but at the moment is
mostly just a neatness item.

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent ac8869d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ static struct ata_port_operations generic_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

static int all_generic_ide;		/* Set to claim all devices */
+4 −4
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ static struct ata_port_operations ali_early_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

/*
@@ -366,7 +366,7 @@ static struct ata_port_operations ali_20_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

/*
@@ -403,7 +403,7 @@ static struct ata_port_operations ali_c2_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

/*
@@ -439,7 +439,7 @@ static struct ata_port_operations ali_c5_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};


+6 −6
Original line number Diff line number Diff line
@@ -361,7 +361,7 @@ static struct ata_port_operations amd33_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

static struct ata_port_operations amd66_port_ops = {
@@ -394,7 +394,7 @@ static struct ata_port_operations amd66_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

static struct ata_port_operations amd100_port_ops = {
@@ -427,7 +427,7 @@ static struct ata_port_operations amd100_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

static struct ata_port_operations amd133_port_ops = {
@@ -460,7 +460,7 @@ static struct ata_port_operations amd133_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

static struct ata_port_operations nv100_port_ops = {
@@ -493,7 +493,7 @@ static struct ata_port_operations nv100_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

static struct ata_port_operations nv133_port_ops = {
@@ -526,7 +526,7 @@ static struct ata_port_operations nv133_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
+2 −2
Original line number Diff line number Diff line
@@ -361,7 +361,7 @@ static const struct ata_port_operations artop6210_ops = {
	.irq_clear		= ata_bmdma_irq_clear,
	.irq_on			= ata_irq_on,

	.port_start		= ata_port_start,
	.port_start		= ata_sff_port_start,
};

static const struct ata_port_operations artop6260_ops = {
@@ -392,7 +392,7 @@ static const struct ata_port_operations artop6260_ops = {
	.irq_clear		= ata_bmdma_irq_clear,
	.irq_on			= ata_irq_on,

	.port_start		= ata_port_start,
	.port_start		= ata_sff_port_start,
};


+1 −1
Original line number Diff line number Diff line
@@ -262,7 +262,7 @@ static struct ata_port_operations atiixp_port_ops = {
	.irq_clear	= ata_bmdma_irq_clear,
	.irq_on		= ata_irq_on,

	.port_start	= ata_port_start,
	.port_start	= ata_sff_port_start,
};

static int atiixp_init_one(struct pci_dev *dev, const struct pci_device_id *id)
Loading