Ticket #12930: 913-avoid-dbe-on-ifs_ctl-readw-hack.patch

File 913-avoid-dbe-on-ifs_ctl-readw-hack.patch, 262 bytes (added by nlh, 5 years ago)
  • driver/linux_osl.c

    a b osl_readl(volatile uint32 *r) 
    723723uint16 
    724724osl_readw(volatile uint16 *r) 
    725725{ 
     726        uint32 addr = (uintptr)r & 0xffff3fff; 
     727        if (addr == 0xa8000688) /* ifs_ctl */ 
     728                readl(r); 
    726729        return (readw(r)); 
    727730} 
    728731