[[PATCH v1] 5/8] net/rnp add reset code for Chip Init process

2023-08-01 Thread Wenbo Cao
we must get the shape info of nic from Firmware for reset. so the related codes is first get firmware info and then reset the chip Signed-off-by: Wenbo Cao --- drivers/net/rnp/base/rnp_api.c | 24 +++ drivers/net/rnp/base/rnp_api.h | 7 + drivers/net/rnp/base/rnp_cfg.h | 7 +

[[PATCH v1] 5/8] net/rnp add reset code for Chip Init process

2023-08-01 Thread Wenbo Cao
we must get the shape info of nic from Firmware for reset. so the related codes is first get firmware info and then reset the chip Signed-off-by: Wenbo Cao --- drivers/net/rnp/base/rnp_api.c | 24 +++ drivers/net/rnp/base/rnp_api.h | 7 + drivers/net/rnp/base/rnp_cfg.h | 7 +