James Bottomley
255e15a4a5
pata_cm64x: fix boot crash on parisc
...
commit 9281b16caa upstream.
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 >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-06-23 15:24:08 -07:00
..
2011-03-23 13:16:42 -07:00
2010-12-09 13:26:41 -08:00
2010-08-13 13:19:30 -07:00
2009-09-17 16:47:06 -04:00
2009-10-06 00:26:27 -04:00
2011-03-23 13:16:37 -07:00
2010-09-20 13:17:51 -07:00
2009-09-08 21:21:14 -04:00
2011-05-09 15:55:41 -07:00
2010-07-05 11:10:31 -07:00
2009-10-06 00:26:27 -04:00
2009-09-17 16:47:06 -04:00
2009-03-24 22:13:27 -04:00
2010-04-26 07:41:18 -07:00
2009-09-17 16:46:41 -04:00
2009-03-24 22:45:05 -04:00
2009-03-24 22:13:27 -04:00
2009-08-12 06:16:47 -04:00
2009-10-16 06:21:20 -04:00
2009-10-06 20:58:23 -04:00
2009-03-24 22:13:27 -04:00
2011-06-23 15:24:08 -07:00
2009-03-24 22:13:27 -04:00
2009-04-07 08:31:11 -07:00
2009-03-24 22:13:27 -04:00
2009-09-11 02:31:31 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-06-05 14:40:52 -04:00
2011-06-23 15:24:08 -07:00
2009-03-24 22:13:27 -04:00
2011-06-23 15:24:08 -07:00
2011-06-23 15:24:08 -07:00
2009-03-28 20:29:51 +00:00
2009-03-24 22:52:39 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-04-07 08:31:11 -07:00
2009-03-24 22:13:27 -04:00
2009-06-05 14:40:46 -04:00
2009-03-24 22:13:27 -04:00
2011-02-17 15:37:10 -08:00
2009-03-24 22:13:27 -04:00
2009-06-08 09:12:28 -07:00
2009-04-16 15:28:23 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-09-11 02:25:58 -04:00
2008-10-10 15:55:17 +11:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-05-31 14:50:40 +01:00
2009-07-28 21:05:18 -04:00
2010-09-26 17:21:40 -07:00
2009-03-24 22:13:27 -04:00
2009-09-11 02:25:58 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:32 -04:00
2009-09-11 02:25:58 -04:00
2009-09-01 19:47:20 -04:00
2009-09-11 02:33:59 -04:00
2009-10-16 06:22:40 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2011-06-23 15:24:08 -07:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2009-03-24 22:13:27 -04:00
2010-04-26 07:41:21 -07:00
2009-03-24 22:13:27 -04:00
2009-04-07 08:31:11 -07:00
2009-11-19 18:18:17 -05:00
2009-09-01 19:47:20 -04:00
2010-09-20 13:17:44 -07:00
2010-07-05 11:11:05 -07:00
2009-09-17 16:46:34 -04:00
2008-01-23 05:24:15 -05:00
2009-04-07 08:31:11 -07:00
2009-09-01 19:47:21 -04:00
2009-09-01 19:47:19 -04:00
2009-09-08 21:17:36 -04:00
2009-03-24 22:13:27 -04:00
2009-06-10 07:50:17 -04:00
2009-03-24 22:13:27 -04:00
2011-05-09 15:55:40 -07:00
2009-04-07 08:31:11 -07:00
2007-07-02 10:17:42 -04:00