public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jesse.barnes@intel.com>
To: eiichiro.oiwa.nm@hitachi.com
Cc: akpm@osdl.org, tony.luck@intel.com, greg@kroah.com,
	linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.18] IA64: Add pci_fixup_video into IA64 kernel for embedded VGA
Date: Tue, 26 Sep 2006 08:50:41 -0700	[thread overview]
Message-ID: <200609260850.41609.jesse.barnes@intel.com> (raw)
In-Reply-To: <XNM1$9$0$4$$3$3$7$A$9002681U4518d9f9@hitachi.com>

On Tuesday, September 26, 2006 12:42 am, eiichiro.oiwa.nm@hitachi.com 
wrote:
> To be compatible with Xorg's handling of PCI, we need pci_fixup_video on
> IA64 platform like x86 platform. There are also machines, which have VGA
> embedded into main board, among IA64 platform. Embedded VGA generally
> don't have PCI ROM, and there are VGA ROM image in System BIOS.
> Therefore, these machines need pci_fixup_video for the sysfs rom.
> pci_fixup_video already exists in x86 Linux kernel. However since this
> function doesn't exist in IA64 kernel, we could not run X server on IA64
> box has embedded-VGA.
>
> I tested pci_fixup_video on IA64 box has embedded-VGA. I confirmed we
> can read VGA BIOS from the sysfs rom regardless of embedded-VGA.

Looks good, Eiichiro, thanks for posting this.

> +#include <linux/delay.h>
> +#include <linux/dmi.h>
> +#include <linux/pci.h>
> +#include <linux/init.h>

For this version, I don't think you need delay.h or dmi.h.  And like Bjorn 
mentioned, this could probably be turned into generic code in drivers/pci 
so we don't have too much duplication with x86 (and like I mentioned, 
x86_64 could probably use this too).

Jesse

  parent reply	other threads:[~2006-09-26 15:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26  7:42 [PATCH 2.6.18] IA64: Add pci_fixup_video into IA64 kernel for embedded VGA eiichiro.oiwa.nm
2006-09-26 15:09 ` Bjorn Helgaas
2006-09-26 15:48   ` Jesse Barnes
2006-09-26 15:50 ` Jesse Barnes [this message]
2006-09-27  4:17   ` Re[2]: [PATCH 2.6.18] IA64: Add pci_fixup_video into IA64 kernel for embedded VG eiichiro.oiwa.nm
  -- strict thread matches above, loose matches on Subject: below --
2006-09-27 11:23 [PATCH 2.6.18] IA64: Add pci_fixup_video into IA64 kernel for embedded VGA eiichiro.oiwa.nm
2006-09-27 12:12 ` Alan Cox
     [not found] <200609260605.k8Q65dAc005670@fire-2.osdl.org>
2006-09-26  7:35 ` eiichiro.oiwa.nm

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=200609260850.41609.jesse.barnes@intel.com \
    --to=jesse.barnes@intel.com \
    --cc=akpm@osdl.org \
    --cc=eiichiro.oiwa.nm@hitachi.com \
    --cc=greg@kroah.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.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