AHCI driver for RDOS

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.
rdos
Member
Member
Posts: 3308
Joined: Wed Oct 01, 2008 1:55 pm

Re: AHCI driver for RDOS

Post by rdos »

gerryg400 wrote:
rdos wrote:What should the trigger mode be for IO-APIC IRQs from PCI? Maybe I should use level-triggered interrupts instead of edge-trigged?
The MP or ACPI tables should tell you that.
I suspected that. I've been a little resistant to require the ACPI device-driver, mostly because possible issues at our installations since some older boot-loaders wiped-out the ACPI tables, and could make the device-driver hang. We have over 50 terminals running RDOS, but I think they all should have the new boot-loader.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: AHCI driver for RDOS

Post by Combuster »

A PCI bus does IRQ sharing and will be level-triggered by default.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
rdos
Member
Member
Posts: 3308
Joined: Wed Oct 01, 2008 1:55 pm

Re: AHCI driver for RDOS

Post by rdos »

Combuster wrote:A PCI bus does IRQ sharing and will be level-triggered by default.
That makes sense. I'll try to change to level-triggered tomorrow and see if it solves the issue. It could be part of the IRQ sharing syscall (whenever an IRQ is requested for sharing, it should use level-triggered mode).
Post Reply