I used to develop for BeOS back in the day but haven’t been developing for ages now. I am trying to gather as much information as possible as I would like to try to write a SPI driver for MacBook’s trackpad and keyboard.
I have started from the source code from freebsd (spibus and intelspi) and I would appreciate some guidance on the Haiku side.
I know there are two driver models, the old and the new one. The latter seems quite convoluted so I’m investigating the former which should not be completely new to me.
- is the old model the same as BeOS? Is there any documentation available for Haiku?
- is the old model worth to start with?
- Is ACPI accessible in the old model? The SPI controller is only enumerated on ACPI and not directly on the PCI bus