Tejun Heo
6ecb6f25d3
pata_hpt366: reimplement mode programming
...
Reimplement mode programming logic of pata_hpt366 such that it's
identical to that of IDE hpt366 driver. The differences were...
* pata_hpt366 used 0xCFFF8FFFF to mask pio modes and 0x3FFFFFFF dma
modes. IDE hpt366 uses 0xC1F8FFFF for PIO, 0x303800FF for MWDMA and
0x30070000 for UDMA.
* pata_hpt366 doesn't set 0x08000000 for PIO unless it's already set
and always turns it on for MWDMA/UDMA. IDE hpt366 doesn't bother
with the bit. It always uses what was there.
* IDE hpt366 always clears 0xC0000000. pata_hpt366 doesn't.
Signed-off-by: Tejun Heo <tj@kernel.org >
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk >
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com >
Signed-off-by: Jeff Garzik <jgarzik@redhat.com >
2009-01-08 16:29:20 -05:00
..
2009-01-08 16:09:57 -05:00
2008-12-28 22:43:20 -05:00
2009-01-08 16:09:43 -05:00
2008-12-21 02:54:29 -07:00
2008-12-28 22:43:20 -05:00
2009-01-08 16:10:36 -05:00
2008-12-28 22:43:21 -05:00
2008-12-28 22:43:20 -05:00
2009-01-06 10:44:43 -08:00
2008-11-14 18:51:57 -05:00
2008-11-10 08:04:47 -08:00
2008-05-06 11:33:58 -04:00
2008-10-27 23:54:50 -04:00
2009-01-08 16:09:29 -05:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-08-05 14:36:57 +02:00
2008-10-27 23:54:50 -04:00
2008-12-28 22:43:21 -05:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-04-17 15:44:21 -04:00
2008-10-27 23:54:50 -04:00
2008-11-11 02:58:30 -05:00
2008-11-11 02:58:30 -05:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-04-17 15:44:21 -04:00
2009-01-08 16:28:21 -05:00
2008-04-17 15:44:21 -04:00
2009-01-08 16:29:20 -05:00
2008-06-04 06:40:41 -04:00
2008-10-27 23:54:50 -04:00
2008-12-28 22:43:20 -05:00
2008-04-17 15:44:21 -04:00
2008-12-28 22:43:20 -05:00
2008-10-27 23:54:50 -04:00
2008-12-28 22:43:21 -05:00
2008-10-27 23:54:50 -04:00
2008-12-21 02:54:29 -07:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-12-09 00:44:19 -05:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-10-10 15:55:17 +11:00
2008-12-28 22:43:21 -05:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-11-11 02:59:13 -05:00
2008-10-27 23:54:50 -04:00
2008-12-28 22:43:21 -05:00
2009-01-08 16:10:29 -05:00
2008-10-27 23:54:50 -04:00
2008-12-28 22:43:21 -05:00
2008-12-01 13:49:17 -05:00
2008-12-28 22:43:20 -05:00
2008-10-27 23:54:50 -04:00
2008-12-28 22:43:21 -05:00
2008-11-11 02:58:59 -05:00
2008-12-28 22:43:21 -05:00
2008-10-27 23:54:50 -04:00
2008-12-28 22:43:21 -05:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-10-27 23:54:50 -04:00
2008-04-17 15:44:21 -04:00
2008-09-29 00:22:28 -04:00
2008-09-29 00:22:28 -04:00
2008-12-28 22:43:21 -05:00
2008-11-04 01:08:11 -05:00
2008-11-04 01:08:03 -05:00
2008-09-29 00:22:28 -04:00
2009-01-08 16:09:59 -05:00
2008-12-29 07:40:09 -05:00
2008-09-29 00:22:28 -04:00
2008-09-29 00:22:28 -04:00
2008-04-17 15:44:23 -04:00
2008-09-29 00:22:28 -04:00
2008-11-04 01:08:06 -05:00
2008-09-29 00:22:28 -04:00