mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Tsunehiko Baba <tsn@niagara.crl8.crl.hitachi.co.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: simple patches for Linux 2.4.9-ac5 or Linux 2.4.10-pre2 on PPC
Date: Fri, 31 Aug 2001 20:05:09 +1000 (EST)	[thread overview]
Message-ID: <15247.24917.74550.455485@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <kt1yls1xrf.wl@niagara.crl8.crl.hitachi.co.jp>
In-Reply-To: <kt1yls1xrf.wl@niagara.crl8.crl.hitachi.co.jp>

Tsunehiko Baba writes:

> I tried to compile 2.4.10-pre2 or 2.4.9-ac5 on ppc but failed.
> To avoid some errors, I made following patches.
> Please check and apply these patches. 

> *** include/linux/vt_kern.h.orig	Thu Aug 30 20:22:52 2001
> --- include/linux/vt_kern.h	Thu Aug 30 20:28:35 2001

A simpler and better solution for this is to just remove the
definition of kbd_rate from include/asm-ppc/keyboard.h and remove the
lines which reference pckbd_rate from arch/ppc/kernel/chrp_setup.c and
prep_setup.c.  I have sent Linus a patch to this effect already.

> *** drivers/ide/ide-pci.c.orig	Mon Aug 13 17:56:19 2001
> --- drivers/ide/ide-pci.c	Thu Aug 30 20:55:38 2001
> ***************
> *** 445,451 ****
>    * settings of split-mirror pci-config space, place chipset into init-mode,
>    * and/or preserve an interrupt if the card is not native ide support.
>    */
> ! static unsigned int __init ide_special_settings (struct pci_dev *dev, const char *name)

The better fix is to go into drivers/ide/sl82c105.c and change it to
use the code that is currently inside the #ifdef CONFIG_ARCH_NETWINDER
block instead of the code that is in the #else branch of that
conditional.  I have posted that patch to lkml a couple of times and
sent to Linus as well, but he hasn't taken it yet (Alan has).
Alternatively, if you don't use the sl82c105 driver, remove it from
your config.

Paul.

-- 
Paul Mackerras, PPC/Linux Maintainer		paulus@samba.org

      reply	other threads:[~2001-08-31 10:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-31  7:42 Tsunehiko Baba
2001-08-31 10:05 ` Paul Mackerras [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=15247.24917.74550.455485@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tsn@niagara.crl8.crl.hitachi.co.jp \
    /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®