通过acpi_dev_found 区分不同的deviceid,通过dev_of_node和is_acpi_node 区分dt和ACPI
如果一个driver需要兼容两套设定,可以通过acpi_device_id来区分staticconststructacpi_device_idhns_enet_acpi_match[]={{"HISI00C1",0},{"HISI00C2",0},{},};这样在driver中接可以根据不同的device_id来区分不同的设定,例如if(acpi_dev_found(hns_enet_acpi_m