LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] pata_pcmcia: Switch to ata_sff_port_start
@ 2007-07-03 14:14 Alan Cox
2007-07-03 15:39 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2007-07-03 14:14 UTC (permalink / raw)
To: akpm, linux-kernel
PCMCIA doesn't use DMA and as this driver is used on many platforms we
don't want it to fail on those that define the DMA alloc API as a NULL
return
Signed-off-by: Alan Cox <alan@redhat.com>
diff -u --new-file --exclude-from /usr/src/exclude --recursive linux.vanilla-2.6.22-rc6-mm1/drivers/ata/pata_pcmcia.c linux-2.6.22-rc6-mm1/drivers/ata/pata_pcmcia.c
--- linux.vanilla-2.6.22-rc6-mm1/drivers/ata/pata_pcmcia.c 2007-07-02 20:48:49.000000000 +0100
+++ linux-2.6.22-rc6-mm1/drivers/ata/pata_pcmcia.c 2007-07-02 21:04:38.000000000 +0100
@@ -129,7 +129,7 @@
.irq_on = ata_irq_on,
.irq_ack = ata_irq_ack,
- .port_start = ata_port_start,
+ .port_start = ata_sff_port_start,
};
#define CS_CHECK(fn, ret) \
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] pata_pcmcia: Switch to ata_sff_port_start
2007-07-03 14:14 [PATCH] pata_pcmcia: Switch to ata_sff_port_start Alan Cox
@ 2007-07-03 15:39 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-07-03 15:39 UTC (permalink / raw)
To: Alan Cox; +Cc: akpm, linux-kernel
Alan Cox wrote:
> PCMCIA doesn't use DMA and as this driver is used on many platforms we
> don't want it to fail on those that define the DMA alloc API as a NULL
> return
>
> Signed-off-by: Alan Cox <alan@redhat.com>
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-03 15:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-03 14:14 [PATCH] pata_pcmcia: Switch to ata_sff_port_start Alan Cox
2007-07-03 15:39 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).