All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Zidlicky  <Richard.Zidlicky@stud.informatik.uni-erlangen.de>
To: "Holzrichter, Bruce" <bruce.holzrichter@monster.com>
Cc: "'Bartlomiej Zolnierkiewicz'" <B.Zolnierkiewicz@elka.pw.edu.pl>,
	linux-kernel@vger.kernel.org, "'axboe@suse.de'" <axboe@suse.de>
Subject: Re: (RE:  using 2.5.25 with IDE) On sparc64.....
Date: Wed, 10 Jul 2002 12:24:14 +0200	[thread overview]
Message-ID: <20020710122414.B2142@linux-m68k.org> (raw)
In-Reply-To: <61DB42B180EAB34E9D28346C11535A783A7B56@nocmail101.ma.tmpw.net>; from bruce.holzrichter@monster.com on Tue, Jul 09, 2002 at 09:46:10AM -0500

On Tue, Jul 09, 2002 at 09:46:10AM -0500, Holzrichter, Bruce wrote:

> Patch below to get 2.4 forward port of IDE to compile on Sparc64...
> --- linus-2.5/include/asm-sparc64/ide.h	Tue Jul  9 08:53:10 2002
> +++ sparctest/include/asm-sparc64/ide.h	Tue Jul  9 09:11:24 2002


> @@ -178,6 +182,20 @@
>  #endif
>  }
>  
> +#define ide_request_irq(irq,hand,flg,dev,id)
> request_irq((irq),(hand),(flg),(dev),(id))
> +#define ide_free_irq(irq,dev_id)		free_irq((irq), (dev_id))
> +#define ide_check_region(from,extent)		check_region((from),
> (extent))
> +#define ide_request_region(from,extent,name)	request_region((from),
> (extent), (name))
> +#define ide_release_region(from,extent)
> release_region((from), (extent))
> +
> +/*
> + * The following are not needed for the non-m68k ports
> + */
> +#define ide_ack_intr(hwif)		(1)
> +#define ide_fix_driveid(id)		do {} while (0)
           ^^^^^^^^^^^^^^^

the comment is misleading, this is actually needed on more than m68k
so not a big surprise it doesn't work. Cut&paste from 2.4.

Richard

  reply	other threads:[~2002-07-10 10:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-09 14:46 (RE: using 2.5.25 with IDE) On sparc64 Holzrichter, Bruce
2002-07-10 10:24 ` Richard Zidlicky [this message]
2002-07-10 10:57   ` Jens Axboe
2002-07-10 15:09     ` Bartlomiej Zolnierkiewicz
2002-07-10 17:24       ` Jens Axboe
2002-07-10 21:42 Holzrichter, Bruce
2002-07-10 22:01 ` Andre Hedrick
2002-07-11  5:45   ` Jens Axboe
2002-07-10 22:54 ` Bartlomiej Zolnierkiewicz

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=20020710122414.B2142@linux-m68k.org \
    --to=richard.zidlicky@stud.informatik.uni-erlangen.de \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=axboe@suse.de \
    --cc=bruce.holzrichter@monster.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.