lkml.org 
[lkml]   [2002]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH,CFT] Tentative fix for mem. corruption caused by intel 815 AGP
    From
    Date
    On Mon, 2002-05-27 at 10:32, Nicolas Aspert wrote:
    p to */
    > + pci_read_config_dword(agp_bridge.dev, INTEL_APBASE, &temp);
    > + agp_bridge.gart_bus_addr = (temp & PCI_BASE_ADDRESS_MEM_MASK);
    > +
    > + /* attbase - aperture base */
    > + /* the Intel 815 chipset spec. says that bits 29-31 in the
    > + * ATTBASE register are reserved -> try not to write them */
    > + if (agp_bridge.gatt_bus_addr & (~ INTEL_815_ATTBASE_MASK))
    > + panic("gatt bus addr too high");
    > + addr = agp_bridge.gatt_bus_addr & INTEL_815_ATTBASE_MASK;

    You need to add + temp&~INTEL_815_ATTBASE_MASK ..


    -
    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 13:26    [W:0.023 / U:0.344 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site