From: Tony Breeds Date: Thu, 30 Jun 2011 20:44:24 +0000 (+0000) Subject: powerpc/4xx: Add check_link to struct ppc4xx_pciex_hwops X-Git-Tag: v3.1-rc1~236^2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=112d1fe9f7715db423ffeec5ac1beccff6093dc4;p=pandora-kernel.git powerpc/4xx: Add check_link to struct ppc4xx_pciex_hwops All current pcie controllers unconditionally use SDR to check the link and poll for reset. Refactor the code to include device reset in the port_init_hw() op and add a new check_link() op. This will make room fro new controllers that do not use SDR for these operations. Tested on 460ex. Signed-off-by: Tony Breeds Signed-off-by: Josh Boyer --- Reading git-diff-tree failed