In Fuchsia, all communications between drivers and non-drivers occur over FIDL (Fuchsia Interface Definition Language) calls. If your driver uses the Banjo protocol, you'll need to update the driver to make only FIDL calls.
In short, migrating a driver from Banjo to FIDL involves the steps below:
- Update the driver's
.fidlfile to create a new FIDL interface. - Update the driver's source code to use the new interface.
- Build and test the driver using the new FIDL interface.
Before you start
Prior to starting migration tasks, first check out the Frequently asked questions page. This can help you identify special conditions or edge cases that may apply to your driver.
List of migration tasks
Convert Banjo protocols to FIDL protocols: Learn how to migrate a driver from using the Banjo protocol to FIDL.