dev: implement driver objects to organise and identify devices

This commit is contained in:
2023-06-02 19:35:07 +01:00
parent 577abf3bba
commit b7b0691b8f
17 changed files with 349 additions and 74 deletions

View File

@@ -8,5 +8,6 @@ struct net_device *net_device_create(void)
}
dev->dev_type = DEV_TYPE_NET;
return NET_DEVICE(dev);
}