lkml.org 
[lkml]   [2004]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectPATCH: fix 32bit compile problem with IDE changes
    This fixes the 32bit compile problem some people had. Since we fixed the
    underlying issue now we can lose the geometry hack


    --- drivers/ide/ide-probe.c~ 2004-08-16 14:51:06.071010312 +0100
    +++ drivers/ide/ide-probe.c 2004-08-16 14:51:06.071010312 +0100
    @@ -557,17 +557,6 @@
    if(strstr(id->model, "Integrated Technology Express"))
    {
    /* IT821x raid volume with bogus ident block */
    - if(id->lba_capacity >= 0x200000)
    - {
    - id->sectors = 63;
    - id->heads = 255;
    - }
    - else
    - {
    - id->sectors = 32;
    - id->heads = 64;
    - }
    - id->cyls = id->lba_capacity_2 / (id->heads * id->sectors);
    /* LBA28 is ok, DMA is ok, UDMA data is valid */
    id->capability |= 3;
    id->field_valid |= 7;
    Signed-off-by: Alan Cox

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:0.022 / U:29.604 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site