79e3f9012d
Seems to work correctly on real hardware, not on qemu where it can only use the irq 2, and this causes wreakage (could be a programming error). Changed from the kernel code: - Adapted to use as a driver - Configure for level interrupts instead of edge, which seems not to work correctly - Add traceing dprintfs - Various other changes Does not use yet the new interrupt api introduced by Michael Lotz. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42837 a95241bf-73f2-0310-859d-f6bbb57e9c96