linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problems w/  CONFIG_BLK_DEV_MPC8xx_IDE
@ 2003-09-15  7:40 Steven Scholz
  2003-09-15 11:31 ` Steven Scholz
  0 siblings, 1 reply; 9+ messages in thread
From: Steven Scholz @ 2003-09-15  7:40 UTC (permalink / raw)
  To: Linuxppc-Embedded

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

Hi there,

I just noticed that the vanilla 2.4.22 does not compile with
CONFIG_BLK_DEV_MPC8xx_IDE:

drivers/ide/idedriver.o: In function `ide_timer_expiry':
drivers/ide/idedriver.o(.text+0xaa30): undefined reference to `ide_ack_intr'
drivers/ide/idedriver.o(.text+0xaa30): relocation truncated to fit: R_PPC_REL24

It's the same for the BK trees.

The attached patch fixes that.

Please apply and forward it.

Thanks a million,

Steven

[-- Attachment #2: MPC8xx_IDE.fix --]
[-- Type: text/plain, Size: 340 bytes --]

--- include/asm-ppc/ide.h.FIX	Mon Sep 15 09:35:25 2003
+++ include/asm-ppc/ide.h	Mon Sep 15 09:36:17 2003
@@ -110,6 +110,7 @@
  */
 #if (defined CONFIG_APUS || defined CONFIG_BLK_DEV_MPC8xx_IDE)
 #define IDE_ARCH_ACK_INTR 1
+#define ide_ack_intr(hwif)	((hwif)->hw.ack_intr ? (hwif)->hw.ack_intr(hwif) : 1)
 #endif

 #endif /* __KERNEL__ */

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-09-18 18:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15  7:40 Problems w/ CONFIG_BLK_DEV_MPC8xx_IDE Steven Scholz
2003-09-15 11:31 ` Steven Scholz
2003-09-15 12:00   ` Hubert Figuiere
2003-09-15 12:29     ` Steven Scholz
2003-09-15 15:16       ` Tom Rini
2003-09-16  8:42         ` Steven Scholz
2003-09-17 15:08           ` Tom Rini
2003-09-18  9:25             ` Steven Scholz
2003-09-18 18:05               ` Tom Rini

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).