sh: Relax devfn constraints for SH7786 PCIe.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 20 Aug 2010 11:26:41 +0000 (20:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Aug 2010 11:26:41 +0000 (20:26 +0900)
commit65c23f54c01fabae171d54c0e78df354b3709b93
treec661e4e44604849078dd83ba6f26e9f4fe665e12
parent53178d71b9f2d5c96bfcd2dd2c4b99c4e95a77d5
sh: Relax devfn constraints for SH7786 PCIe.

SH7786 PCIe has 1 slot per port, but no specific restriction on function.
Relax the devfn restriction and look to the slot number instead when
configured as a root complex.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/ops-sh7786.c