public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Adrian Bunk <bunk@stusta.de>
Cc: B.Zolnierkiewicz@elka.pw.edu.pl, linux-kernel@vger.kernel.org,
	linux-ide@vger.kernel.org, starvik@axis.com, dev-etrax@axis.com
Subject: Re: [RFC: 2.6 patch] remove unused ide_init_default_hwifs()'s
Date: Mon, 10 Apr 2006 22:18:00 +0100	[thread overview]
Message-ID: <20060410211759.GA26732@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20060410203950.GG2408@stusta.de>

On Mon, Apr 10, 2006 at 10:39:50PM +0200, Adrian Bunk wrote:
> --- linux-2.6.17-rc1-mm2-full/include/asm-arm/arch-sa1100/ide.h.old	2006-04-10 21:15:04.000000000 +0200
> +++ linux-2.6.17-rc1-mm2-full/include/asm-arm/arch-sa1100/ide.h	2006-04-10 21:15:37.000000000 +0200
> @@ -49,28 +49,3 @@
>  		*irq = 0;
>  }
>  
> -/*
> - * This registers the standard ports for this architecture with the IDE
> - * driver.
> - */
> -static __inline__ void
> -ide_init_default_hwifs(void)
> -{
> -    if (machine_is_lart()) {
> -#ifdef CONFIG_SA1100_LART
> -        hw_regs_t hw;
> -
> -        /* Enable GPIO as interrupt line */
> -        GPDR &= ~LART_GPIO_IDE;
> -	set_irq_type(LART_IRQ_IDE, IRQT_RISING);
> -
> -        /* set PCMCIA interface timing */
> -        MECR = 0x00060006;
> -
> -        /* init the interface */
> -	ide_init_hwif_ports(&hw, PCMCIA_IO_0_BASE + 0x0000, PCMCIA_IO_0_BASE + 0x1000, NULL);
> -        hw.irq = LART_IRQ_IDE;
> -        ide_register_hw(&hw);
> -#endif
> -    }
> -}

NAK.  Waiting for the LART folk to get off their backsides and submit a
patch to do what's required.  Think of the above as merely documentation
for what's required.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

      reply	other threads:[~2006-04-10 21:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 20:39 [RFC: 2.6 patch] remove unused ide_init_default_hwifs()'s Adrian Bunk
2006-04-10 21:18 ` Russell King [this message]

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=20060410211759.GA26732@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=bunk@stusta.de \
    --cc=dev-etrax@axis.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=starvik@axis.com \
    /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