ATA driver problem

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Octocontrabass
Member
Member
Posts: 5486
Joined: Mon Mar 25, 2013 7:01 pm

Re: ATA driver problem

Post by Octocontrabass »

WinExperements wrote:

Code: Select all

    outb(inter_ata->bar4+4,0x00);
What is this code supposed to do? It definitely won't do anything useful.
WinExperements wrote:

Code: Select all

    kprintf("Status of drive(after sending there commands): 0x%x\n",inb(inter_ata->base+ATA_REG_STATUS));
Debugging might be easier if you display the value of the status register from the first time you read it instead of reading it a second time.

Where do you acknowledge the interrupt in the interrupt controller?
Post Reply