Re: [PATCH 1/2] pci: Arch hook to determine config space size

2005-01-28 Thread Greg KH
On Fri, Jan 28, 2005 at 06:52:34PM +, Christoph Hellwig wrote: > > +int __attribute__ ((weak)) pcibios_exp_cfg_space(struct pci_dev *dev) { > > return 1; } > > - prototypes belong to headers > - weak linkage is the perfect way for total obsfucation > > please make this a regular arch hook

Re: [PATCH 1/2] pci: Arch hook to determine config space size

2005-01-28 Thread Christoph Hellwig
> +int __attribute__ ((weak)) pcibios_exp_cfg_space(struct pci_dev *dev) { > return 1; } - prototypes belong to headers - weak linkage is the perfect way for total obsfucation please make this a regular arch hook > Please read the FAQ at http://www.tux.org/lkml/ ---end quoted text--- - To uns

[PATCH 1/2] pci: Arch hook to determine config space size

2005-01-28 Thread brking
When working with a PCI-X Mode 2 adapter on a PCI-X Mode 1 PPC64 system, the current code used to determine the config space size of a device results in a PCI Master abort and an EEH error, resulting in the device being taken offline. This patch adds the ability for arch specific code to override