OGAWA Hirofumi 2c136efcf6 [PATCH] pata_hpt366: fix typo
switch(reg1 & 0x700) {
		case 5:
			info_hpt366.private_data = &hpt366_40;
			break;
		case 9:
			info_hpt366.private_data = &hpt366_25;
			break;
		default:
			info_hpt366.private_data = &hpt366_33;
			break;
	}

The above runs always default part. It should be "(reg1 & 0x700) >> 8".

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-03 08:04:06 -07:00
..
2006-08-31 00:02:15 -04:00
2006-08-24 03:19:22 -04:00
2006-08-24 03:19:22 -04:00
2006-09-20 17:48:53 -04:00
2006-10-03 08:04:06 -07:00
2006-08-31 00:02:15 -04:00
2006-08-24 03:19:22 -04:00
2006-08-10 07:31:37 -04:00
2006-08-24 03:19:22 -04:00
2006-08-24 03:19:22 -04:00
2006-08-24 03:19:22 -04:00
2006-09-24 01:52:47 -04:00
2006-08-24 03:19:22 -04:00
2006-08-24 03:19:22 -04:00