diff options
author | James Bottomley <James.Bottomley@suse.de> | 2011-04-24 14:30:14 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-05-14 14:59:15 -0400 |
commit | 9281b16caac1276817b77033c5b8a1f5ca30102c (patch) | |
tree | 73c554e4ab9e9dcfe1b610f2f65e0ae1713341b5 /init | |
parent | 5f6f12ccf3aa42cfc0c5bde9228df0c843dd63f7 (diff) | |
download | kernel_samsung_smdk4412-9281b16caac1276817b77033c5b8a1f5ca30102c.zip kernel_samsung_smdk4412-9281b16caac1276817b77033c5b8a1f5ca30102c.tar.gz kernel_samsung_smdk4412-9281b16caac1276817b77033c5b8a1f5ca30102c.tar.bz2 |
pata_cm64x: fix boot crash on parisc
The old IDE cmd64x checks the status of the CNTRL register to see if
the ports are enabled before probing them. pata_cmd64x doesn't do
this, which causes a HPMC on parisc when it tries to poke at the
secondary port because apparently the BAR isn't wired up (and a
non-responding piece of memory causes a HPMC).
Fix this by porting the CNTRL register port detection logic from IDE
cmd64x. In addition, following converns from Alan Cox, add a check to
see if a mobility electronics bridge is the immediate parent and forgo
the check if it is (prevents problems on hotplug controllers).
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions