DFv1 drivers communicate with each other using the Banjo protocol. In DFv2 all communications occur over FIDL (Fuchsia Interface Definition Language) calls, for both drivers and non-drivers. So if your DFv1 driver being migrated to DFv2 uses the Banjo protocol, you'll need to update the driver to make only FIDL calls to complete the migration.
In short, migrating a driver from Banjo to FIDL involves the steps below:
.fidl
file to create a new FIDL interface.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.
Convert Banjo protocols to FIDL protocols: Learn how to migrate a driver from using the Banjo protocol to FIDL.