Ticket #2896: pio-remove-assert.diff

File pio-remove-assert.diff, 526 bytes (added by thotypous, 16 years ago)

Patch that fixed my problem (I don't know if it's safe)

  • src/add-ons/kernel/bus_managers/ata/pio.c

     
    163163            return B_ERROR;
    164164        }
    165165
    166         ASSERT((physicalAddress & 4097) == (virtualAddress & 4097));
     166        //ASSERT((physicalAddress & 4097) == (virtualAddress & 4097));
    167167
    168168        // if chunks starts in the middle of a page, we have even less then
    169169        // a page left