ide: remove stale ide.h "configuration options"
Remove stale ide.h "configuration options": * INITIAL_MULT_COUNT - always defined to 0 * SUPPORT_SLOW_DATA_PORTS - unused * OK_TO_RESET_CONTROLLER - always defined to 1 * DISABLE_IRQ_NOSYNC - always defined to 0 Leave SUPPORT_VLB_SYNC (defined to 0 for CRIS and FRV, otherwise to 1) for now but disallow overriding it by <asm/ide.h>. There should be no functionality changes caused by this patch. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -95,10 +95,10 @@ static void ide_disk_init_mult_count(ide_drive_t *drive)
|
||||
#ifdef CONFIG_IDEDISK_MULTI_MODE
|
||||
id->multsect = ((id->max_multsect/2) > 1) ? id->max_multsect : 0;
|
||||
id->multsect_valid = id->multsect ? 1 : 0;
|
||||
drive->mult_req = id->multsect_valid ? id->max_multsect : INITIAL_MULT_COUNT;
|
||||
drive->mult_req = id->multsect_valid ? id->max_multsect : 0;
|
||||
drive->special.b.set_multmode = drive->mult_req ? 1 : 0;
|
||||
#else /* original, pre IDE-NFG, per request of AC */
|
||||
drive->mult_req = INITIAL_MULT_COUNT;
|
||||
drive->mult_req = 0;
|
||||
if (drive->mult_req > id->max_multsect)
|
||||
drive->mult_req = id->max_multsect;
|
||||
if (drive->mult_req || ((id->multsect_valid & 1) && id->multsect))
|
||||
|
Reference in New Issue
Block a user