[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PCI support
From: |
Marco Gerards |
Subject: |
Re: PCI support |
Date: |
Wed, 30 Jan 2008 23:17:49 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Robert Millan <address@hidden> writes:
> On Wed, Jan 30, 2008 at 09:08:34PM +0100, Marco Gerards wrote:
>> Robert Millan <address@hidden> writes:
>>
>> > On Wed, Jan 30, 2008 at 06:57:38PM +0100, Marco Gerards wrote:
>> >> Marco Gerards <address@hidden> writes:
>> >>
>> >> > 2009-01-28 Marco Gerards <address@hidden>
>> >> >
>> >> > * bus/pci.c: New file.
>> >> >
>> >> > * include/grub/pci.h: Likewise.
>> >> >
>> >> > * include/grub/i386/pc/pci.h: Likewise.
>> >> >
>> >> > * commands/lspci.c: Likewise.
>> >> >
>> >> > * conf/i386-pc.rmk (pkglib_MODULES): Add `pci.mod' and
>> >> > `lspci.mod'.
>> >> > (pci_mod_SOURCES): New variable.
>> >> > (pci_mod_CFLAGS): Likewise.
>> >> > (pci_mod_LDFLAGS): Likewise.
>> >> > (lspci_mod_SOURCES): Likewise.
>> >> > (lspci_mod_CFLAGS): Likewise.
>> >> > (lspci_mod_LDFLAGS): Likewise.
>> >>
>> >> No objections? Did everyone have a (quick) look at the interfaces?
>> >
>> > You put grub_pci_read() in an arch-specific file; is that function really
>> > arch-specific, or only its IO addresses are?
>>
>> IO addresses are Intel only, AFAIK. Almost all architectures have
>> mmapped IO. It's really arch specific.
>
> Are you sure that makes grub_inl / grub_outl arch-specific ? They can't be
> implemented as wrappers for direct memory access?
No, AFAIK that is not possible. However, PCI gives you the mmapped IO
addresses we can use, for example for the ATA driver.
--
Marco
- PCI support, Marco Gerards, 2008/01/28
- Re: PCI support, Marco Gerards, 2008/01/30
- Re: PCI support, Robert Millan, 2008/01/30
- Re: PCI support, Marco Gerards, 2008/01/30
- Re: PCI support, Robert Millan, 2008/01/30
- Re: PCI support,
Marco Gerards <=
- Re: PCI support, Robert Millan, 2008/01/30
- Re: PCI support, Marco Gerards, 2008/01/31
- Re: PCI support, Robert Millan, 2008/01/31
Re: PCI support, Yoshinori K. Okuji, 2008/01/30