mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Horms <horms@debian.org>
To: LT-P <LT-P@LT-P.net>, 321442@bugs.debian.org
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)
Date: Mon, 8 Aug 2005 17:57:04 +0900	[thread overview]
Message-ID: <20050808085703.GE18551@verge.net.au> (raw)
In-Reply-To: <E1E13vT-0008G7-R1@arda.LT-P.net>

On Fri, Aug 05, 2005 at 05:15:57PM +0200, LT-P wrote:
> Package: kernel-source-2.6.8
> Version: 2.6.8-16
> Severity: normal
> 
> The kernel-source-2.6.8 sources fail to compile on powerpc (PowerMac 4400).
> 
> ___
> CC      drivers/ide/ide.o
> CC      drivers/ide/ide-default.o
> CC      drivers/ide/ide-io.o
> CC      drivers/ide/ide-iops.o
> CC      drivers/ide/ide-lib.o
> CC      drivers/ide/ide-probe.o
> CC      drivers/ide/ide-taskfile.o
> CC      drivers/ide/ide-dma.o
> CC      drivers/ide/ide-proc.o
> CC      drivers/ide/ppc/pmac.o
> drivers/ide/ppc/pmac.c: Dans la fonction ?? pmac_ide_dma_read ??:
> drivers/ide/ppc/pmac.c:1951: error: `ide_dma_intr' undeclared (first use in this function)
> drivers/ide/ppc/pmac.c:1951: error: (Each undeclared identifier is reported only once
> drivers/ide/ppc/pmac.c:1951: error: for each function it appears in.)
> drivers/ide/ppc/pmac.c: Dans la fonction ?? pmac_ide_dma_write ??:
> drivers/ide/ppc/pmac.c:1982: error: `ide_dma_intr' undeclared (first use in this function)
> drivers/ide/ppc/pmac.c: Dans la fonction ?? pmac_ide_setup_dma ??:
> drivers/ide/ppc/pmac.c:2157: error: `__ide_dma_off_quietly' undeclared (first use in this function)
> drivers/ide/ppc/pmac.c:2158: error: `__ide_dma_on' undeclared (first use in this function)
> drivers/ide/ppc/pmac.c:2167: error: `__ide_dma_verbose' undeclared (first use in this function)
> drivers/ide/ppc/pmac.c:2168: error: `__ide_dma_timeout' undeclared (first use in this function)
> make[3]: *** [drivers/ide/ppc/pmac.o] Error 1
> make[2]: *** [drivers/ide] Error 2
> make[1]: *** [drivers] Error 2

Can you please enable BLK_DEV_IDEDMA_PCI and see if that resolves your
problem. If it does, then the following patch should fix Kconfig
so that BLK_DEV_IDEDMA_PCI needs to be enabled for BLK_DEV_IDE_PMAC
to be enabled. It should patch cleanly against Debian's 2.6.8 and
Linus' current Git tree.

-- 
Horms


BLK_DEV_IDEDMA_PCI seems to be needed for BLK_DEV_IDE_PMAC to compile

Signed-off-by: Horms <horms@verge.net.au>


--- a/drivers/ide/Kconfig.orig	2005-08-08 17:48:17.000000000 +0900
+++ b/drivers/ide/Kconfig	2005-08-08 17:48:48.000000000 +0900
@@ -749,8 +749,6 @@
 	  This allows the kernel to change PIO, DMA and UDMA speeds and to
 	  configure the chip to optimum performance.
 
-endif
-
 config BLK_DEV_IDE_PMAC
 	bool "Builtin PowerMac IDE support"
 	depends on PPC_PMAC && IDE=y
@@ -759,6 +757,8 @@
 	  most of the recent Apple Power Macintoshes and PowerBooks.
 	  If unsure, say Y.
 
+endif
+
 config BLK_DEV_IDE_PMAC_ATA100FIRST
 	bool "Probe internal ATA/100 (Kauai) first"
 	depends on BLK_DEV_IDE_PMAC

       reply	other threads:[~2005-08-08  8:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1E13vT-0008G7-R1@arda.LT-P.net>
2005-08-08  8:57 ` Horms [this message]
2005-08-13 22:54   ` LT-P
2005-08-16 18:11     ` Kyle Moffett
2005-09-05 12:42       ` Bartlomiej Zolnierkiewicz
2005-09-07  6:00         ` Horms

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050808085703.GE18551@verge.net.au \
    --to=horms@debian.org \
    --cc=321442@bugs.debian.org \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=LT-P@LT-P.net \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®