* [PATCH 1/2] IDE: compile fix for sff_dma_ops
@ 2008-08-21 21:23 Kevin Hilman
2008-08-21 21:23 ` [PATCH 2/2] IDE: palm_bk3710: fix compile warning for unused variable Kevin Hilman
2008-08-21 23:09 ` [PATCH 1/2] IDE: compile fix for sff_dma_ops Kevin Hilman
0 siblings, 2 replies; 7+ messages in thread
From: Kevin Hilman @ 2008-08-21 21:23 UTC (permalink / raw)
To: linux-ide; +Cc: Kevin Hilman
The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
of BLK_DEV_IDEDMA_PCI.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
include/linux/ide.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 87c12ed..fac67e6 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1111,7 +1111,6 @@ void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *);
#ifdef CONFIG_BLK_DEV_IDEDMA_PCI
int ide_pci_set_master(struct pci_dev *, const char *);
unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *);
-extern const struct ide_dma_ops sff_dma_ops;
int ide_pci_check_simplex(ide_hwif_t *, const struct ide_port_info *);
int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *);
#else
@@ -1122,6 +1121,10 @@ static inline int ide_hwif_setup_dma(ide_hwif_t *hwif,
}
#endif
+#ifdef CONFIG_BLK_DEV_IDEDMA_SFF
+extern const struct ide_dma_ops sff_dma_ops;
+#endif
+
typedef struct ide_pci_enablebit_s {
u8 reg; /* byte pci reg holding the enable-bit */
u8 mask; /* mask to isolate the enable-bit */
--
1.5.6.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] IDE: palm_bk3710: fix compile warning for unused variable
2008-08-21 21:23 [PATCH 1/2] IDE: compile fix for sff_dma_ops Kevin Hilman
@ 2008-08-21 21:23 ` Kevin Hilman
2008-08-25 18:37 ` Bartlomiej Zolnierkiewicz
2008-08-21 23:09 ` [PATCH 1/2] IDE: compile fix for sff_dma_ops Kevin Hilman
1 sibling, 1 reply; 7+ messages in thread
From: Kevin Hilman @ 2008-08-21 21:23 UTC (permalink / raw)
To: linux-ide; +Cc: Kevin Hilman
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
drivers/ide/arm/palm_bk3710.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/ide/arm/palm_bk3710.c b/drivers/ide/arm/palm_bk3710.c
index f788fa5..581a7d1 100644
--- a/drivers/ide/arm/palm_bk3710.c
+++ b/drivers/ide/arm/palm_bk3710.c
@@ -347,7 +347,6 @@ static int __devinit palm_bk3710_probe(struct platform_device *pdev)
{
struct clk *clk;
struct resource *mem, *irq;
- struct ide_host *host;
unsigned long base, rate;
int i, rc;
hw_regs_t hw, *hws[] = { &hw, NULL, NULL, NULL };
--
1.5.6.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] IDE: compile fix for sff_dma_ops
2008-08-21 21:23 [PATCH 1/2] IDE: compile fix for sff_dma_ops Kevin Hilman
2008-08-21 21:23 ` [PATCH 2/2] IDE: palm_bk3710: fix compile warning for unused variable Kevin Hilman
@ 2008-08-21 23:09 ` Kevin Hilman
2008-08-21 23:28 ` Sergei Shtylyov
1 sibling, 1 reply; 7+ messages in thread
From: Kevin Hilman @ 2008-08-21 23:09 UTC (permalink / raw)
To: linux-ide
Kevin Hilman <khilman@deeprootsystems.com> writes:
> The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
> of BLK_DEV_IDEDMA_PCI.
>
Oops, I sent the wrong version of this patch. Here's a better version
which moves sff_dma_ops into an existing #ifdef block.
Kevin
>From d9c182b5109591b9a28384991bcd820554fad371 Mon Sep 17 00:00:00 2001
From: Kevin Hilman <khilman@deeprootsystems.com>
Date: Thu, 21 Aug 2008 10:31:44 -0700
Subject: [PATCH] IDE: compile fix for sff_dma_ops
The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
of BLK_DEV_IDEDMA_PCI.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
include/linux/ide.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/ide.h b/include/linux/ide.h
index eb1721c..cf95ca7 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1111,7 +1111,6 @@ void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *);
#ifdef CONFIG_BLK_DEV_IDEDMA_PCI
int ide_pci_set_master(struct pci_dev *, const char *);
unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *);
-extern const struct ide_dma_ops sff_dma_ops;
int ide_pci_check_simplex(ide_hwif_t *, const struct ide_port_info *);
int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *);
#else
@@ -1276,6 +1275,7 @@ int ide_dma_test_irq(ide_drive_t *);
extern void ide_dma_lost_irq(ide_drive_t *);
extern void ide_dma_timeout(ide_drive_t *);
extern const struct ide_dma_ops sff_dma_ops;
+extern const struct ide_dma_ops sff_dma_ops;
#endif /* CONFIG_BLK_DEV_IDEDMA_SFF */
#else
--
1.5.6.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] IDE: compile fix for sff_dma_ops
2008-08-21 23:09 ` [PATCH 1/2] IDE: compile fix for sff_dma_ops Kevin Hilman
@ 2008-08-21 23:28 ` Sergei Shtylyov
2008-08-21 23:50 ` Kevin Hilman
0 siblings, 1 reply; 7+ messages in thread
From: Sergei Shtylyov @ 2008-08-21 23:28 UTC (permalink / raw)
To: Kevin Hilman; +Cc: linux-ide
Hello.
Kevin Hilman wrote:
>> The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
>> of BLK_DEV_IDEDMA_PCI.
> Oops, I sent the wrong version of this patch. Here's a better version
> which moves sff_dma_ops into an existing #ifdef block.
>
> Kevin
>
> From d9c182b5109591b9a28384991bcd820554fad371 Mon Sep 17 00:00:00 2001
> From: Kevin Hilman <khilman@deeprootsystems.com>
> Date: Thu, 21 Aug 2008 10:31:44 -0700
> Subject: [PATCH] IDE: compile fix for sff_dma_ops
>
> The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
> of BLK_DEV_IDEDMA_PCI.
>
> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
[...]
> diff --git a/include/linux/ide.h b/include/linux/ide.h
> index eb1721c..cf95ca7 100644
> --- a/include/linux/ide.h
> +++ b/include/linux/ide.h
>
[...]
> @@ -1276,6 +1275,7 @@ int ide_dma_test_irq(ide_drive_t *);
> extern void ide_dma_lost_irq(ide_drive_t *);
> extern void ide_dma_timeout(ide_drive_t *);
> extern const struct ide_dma_ops sff_dma_ops;
> +extern const struct ide_dma_ops sff_dma_ops;
> #endif /* CONFIG_BLK_DEV_IDEDMA_SFF */
Somethiung went wrong again. Do you see what? :-)
MBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] IDE: compile fix for sff_dma_ops
2008-08-21 23:28 ` Sergei Shtylyov
@ 2008-08-21 23:50 ` Kevin Hilman
2008-08-25 18:37 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 7+ messages in thread
From: Kevin Hilman @ 2008-08-21 23:50 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: linux-ide
Sergei Shtylyov <sshtylyov@ru.mvista.com> writes:
> Hello.
>
> Kevin Hilman wrote:
>
>>> The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
>>> of BLK_DEV_IDEDMA_PCI.
>> Oops, I sent the wrong version of this patch. Here's a better version
>> which moves sff_dma_ops into an existing #ifdef block.
>>
>> Kevin
>>
>> From d9c182b5109591b9a28384991bcd820554fad371 Mon Sep 17 00:00:00 2001
>> From: Kevin Hilman <khilman@deeprootsystems.com>
>> Date: Thu, 21 Aug 2008 10:31:44 -0700
>> Subject: [PATCH] IDE: compile fix for sff_dma_ops
>>
>> The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
>> of BLK_DEV_IDEDMA_PCI.
>>
>> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
> [...]
>> diff --git a/include/linux/ide.h b/include/linux/ide.h
>> index eb1721c..cf95ca7 100644
>> --- a/include/linux/ide.h
>> +++ b/include/linux/ide.h
>>
> [...]
>> @@ -1276,6 +1275,7 @@ int ide_dma_test_irq(ide_drive_t *);
>> extern void ide_dma_lost_irq(ide_drive_t *);
>> extern void ide_dma_timeout(ide_drive_t *);
>> extern const struct ide_dma_ops sff_dma_ops;
>> +extern const struct ide_dma_ops sff_dma_ops;
>> #endif /* CONFIG_BLK_DEV_IDEDMA_SFF */
>
> Somethiung went wrong again. Do you see what? :-)
>
Sigh, OK, here's one that actually applies. Sorry.
Kevin
>From c453ee79a240a9104191e245655ff975c175edcd Mon Sep 17 00:00:00 2001
From: Kevin Hilman <khilman@deeprootsystems.com>
Date: Thu, 21 Aug 2008 10:31:44 -0700
Subject: [PATCH] IDE: compile fix for sff_dma_ops
The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
of BLK_DEV_IDEDMA_PCI.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
include/linux/ide.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 87c12ed..fee4b15 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1111,7 +1111,6 @@ void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *);
#ifdef CONFIG_BLK_DEV_IDEDMA_PCI
int ide_pci_set_master(struct pci_dev *, const char *);
unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *);
-extern const struct ide_dma_ops sff_dma_ops;
int ide_pci_check_simplex(ide_hwif_t *, const struct ide_port_info *);
int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *);
#else
@@ -1275,6 +1274,7 @@ extern int __ide_dma_end(ide_drive_t *);
int ide_dma_test_irq(ide_drive_t *);
extern void ide_dma_lost_irq(ide_drive_t *);
extern void ide_dma_timeout(ide_drive_t *);
+extern const struct ide_dma_ops sff_dma_ops;
#endif /* CONFIG_BLK_DEV_IDEDMA_SFF */
#else
--
1.5.6.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] IDE: compile fix for sff_dma_ops
2008-08-21 23:50 ` Kevin Hilman
@ 2008-08-25 18:37 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 7+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-08-25 18:37 UTC (permalink / raw)
To: Kevin Hilman; +Cc: Sergei Shtylyov, linux-ide
On Friday 22 August 2008, Kevin Hilman wrote:
[...]
> Sigh, OK, here's one that actually applies. Sorry.
>
> Kevin
>
> From c453ee79a240a9104191e245655ff975c175edcd Mon Sep 17 00:00:00 2001
> From: Kevin Hilman <khilman@deeprootsystems.com>
> Date: Thu, 21 Aug 2008 10:31:44 -0700
> Subject: [PATCH] IDE: compile fix for sff_dma_ops
>
> The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
> of BLK_DEV_IDEDMA_PCI.
>
> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
applied
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] IDE: palm_bk3710: fix compile warning for unused variable
2008-08-21 21:23 ` [PATCH 2/2] IDE: palm_bk3710: fix compile warning for unused variable Kevin Hilman
@ 2008-08-25 18:37 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 7+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-08-25 18:37 UTC (permalink / raw)
To: Kevin Hilman; +Cc: linux-ide
On Thursday 21 August 2008, Kevin Hilman wrote:
> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
applied, thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-08-25 20:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 21:23 [PATCH 1/2] IDE: compile fix for sff_dma_ops Kevin Hilman
2008-08-21 21:23 ` [PATCH 2/2] IDE: palm_bk3710: fix compile warning for unused variable Kevin Hilman
2008-08-25 18:37 ` Bartlomiej Zolnierkiewicz
2008-08-21 23:09 ` [PATCH 1/2] IDE: compile fix for sff_dma_ops Kevin Hilman
2008-08-21 23:28 ` Sergei Shtylyov
2008-08-21 23:50 ` Kevin Hilman
2008-08-25 18:37 ` Bartlomiej Zolnierkiewicz
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).