commit | 112d1fe9f7715db423ffeec5ac1beccff6093dc4 | [log] [tgz] |
---|---|---|
author | Tony Breeds <tony@bakeyournoodle.com> | Thu Jun 30 20:44:24 2011 +0000 |
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | Tue Jul 12 09:03:23 2011 -0400 |
tree | ce89fe15078e2d53e65db8654bd21f58fd78b97b | |
parent | af9719c3062dfe216a0c3de3fa52be6d22b4456c [diff] |
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 <tony@bakeyournoodle.com> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>