Function kernel::net::phy::create_phy_driver

source ·
pub const fn create_phy_driver<T: Driver>() -> DriverVTable
Expand description

Creates a DriverVTable instance from Driver.

This is used by module_phy_driver macro to create a static array of phy_driver.