lkml.org 
[lkml]   [2008]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3/9] ide-disk: remove stale init_idedisk_capacity() documentation
    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    ---
    drivers/ide/ide-disk.c | 14 --------------
    1 file changed, 14 deletions(-)

    Index: b/drivers/ide/ide-disk.c
    ===================================================================
    --- a/drivers/ide/ide-disk.c
    +++ b/drivers/ide/ide-disk.c
    @@ -375,20 +375,6 @@ static void idedisk_check_hpa(ide_drive_
    }
    }

    -/*
    - * Compute drive->capacity, the full capacity of the drive
    - * Called with drive->id != NULL.
    - *
    - * To compute capacity, this uses either of
    - *
    - * 1. CHS value set by user (whatever user sets will be trusted)
    - * 2. LBA value from target drive (require new ATA feature)
    - * 3. LBA value from system BIOS (new one is OK, old one may break)
    - * 4. CHS value from system BIOS (traditional style)
    - *
    - * in above order (i.e., if value of higher priority is available,
    - * reset will be ignored).
    - */
    static void init_idedisk_capacity(ide_drive_t *drive)
    {
    u16 *id = drive->id;

    \
     
     \ /
      Last update: 2008-08-17 19:21    [W:0.036 / U:0.852 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site