| 874 | } |
| 875 | |
| 876 | const struct rt_pci_device_id *rt_pci_match_ids(struct rt_pci_device *pdev, |
| 877 | const struct rt_pci_device_id *ids) |
| 878 | { |
| 879 | while (ids->vendor || ids->subsystem_vendor || ids->class_mask) |
| 880 | { |
| 881 | if (rt_pci_match_id(pdev, ids)) |
| 882 | { |
| 883 | return ids; |
| 884 | } |
| 885 | |
| 886 | ++ids; |
| 887 | } |
| 888 | |
| 889 | return RT_NULL; |
| 890 | } |
| 891 | |
| 892 | static struct rt_bus pci_bus; |
| 893 |
no test coverage detected