Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The scenarios we need to support become complicated. It's time for us to reorganize the code and make it clearer. * Use a bitmap and a vector to manage all known devices. * Extract driver/device selection logic into functions. * Merge multiple feature detection functions into a single is_feature_support function. * Remove redundant drv_init function. We don't need to separate create and initialization of device driver now, and the separation itself could cause resource management issue. * Introduce new function to select driver. Tracked-On: OAM-126702 Signed-off-by: Weifeng Liu <[email protected]>
- Loading branch information