[PATCH] ppc64: Mode 2 PCI-X config space size fix

Brian King brking at us.ibm.com
Fri Feb 11 10:49:37 EST 2005


Paul Mackerras wrote:
> Brian King writes:
> 
> 
>>Trimming the cc list a bit since this has become a PPC64 only patch and 
>>resending...
> 
> 
> Unless you think this really needs to go in 2.6.11, I'll defer it
> until after 2.6.11 is out, since we're supposed to be in
> bug-fix/stabilization mode for 2.6.11.  Are you OK with that?

That is fine.

> Oh, and a minor nit:
> 
> 
>>+	if (type && *type == 1)
>>+		dn->pci_ext_config_space = 1;
>>+	else
>>+		dn->pci_ext_config_space = 0;
> 
> 
> is more compactly expressed as:
> 
> 	dn->pci_ext_config_space = (type && *type == 1);

I'll fix this and send out an updated patch.

Thanks

-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center



More information about the Linuxppc64-dev mailing list