2003-02-04 08:40:45

by Andrey Panin

[permalink] [raw]
Subject: [PATCH] pci: make pci_direct_conf1 structure nonstatic

Hi,

this triial patch is needed to use pci access functions from
i386/pci/direct.c by the visws pci code. To achieve this patch
makes pci_direct_conf1 structure (which hold pci pointers of access
functions) nonstatic. PCI id for SGI lithium hostbridge is added also.

SGI visws supports pci type 1 pci access, but needs different
bus and irq enumeration logic.

Please consider applying.

Best regards.

--
Andrey Panin | Embedded systems software developer
[email protected] | PGP key: wwwkeys.pgp.net


Attachments:
(No filename) (509.00 B)
patch-pci (926.00 B)
Download all attachments

2003-02-04 08:49:43

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH] pci: make pci_direct_conf1 structure nonstatic

On Tue, Feb 04, 2003 at 11:45:26AM +0300, Andrey Panin wrote:
> Hi,
>
> this triial patch is needed to use pci access functions from
> i386/pci/direct.c by the visws pci code. To achieve this patch
> makes pci_direct_conf1 structure (which hold pci pointers of access
> functions) nonstatic. PCI id for SGI lithium hostbridge is added also.
>
> SGI visws supports pci type 1 pci access, but needs different
> bus and irq enumeration logic.
>
> Please consider applying.

Linus usually only applies patches that have him in the To (or maybe Cc)
line. It might also worth to send all the small patches as a series
(i.e. [PATCH] bring visw back alive (1/10)) so he sees a grand goal)