File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed
include/zephyr/drivers/pcie Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -37,23 +37,6 @@ static bool prt_en;
37
37
38
38
/* functions documented in drivers/pcie/pcie.h */
39
39
40
- bool pcie_probe (pcie_bdf_t bdf , pcie_id_t id )
41
- {
42
- uint32_t data ;
43
-
44
- data = pcie_conf_read (bdf , PCIE_CONF_ID );
45
-
46
- if (!PCIE_ID_IS_VALID (data )) {
47
- return false;
48
- }
49
-
50
- if (id == PCIE_ID_NONE ) {
51
- return true;
52
- }
53
-
54
- return (id == data );
55
- }
56
-
57
40
void pcie_set_cmd (pcie_bdf_t bdf , uint32_t bits , bool on )
58
41
{
59
42
uint32_t cmdstat ;
Original file line number Diff line number Diff line change @@ -235,18 +235,6 @@ struct pcie_scan_opt {
235
235
*/
236
236
int pcie_scan (const struct pcie_scan_opt * opt );
237
237
238
- /**
239
- * @brief Probe for the presence of a PCI(e) endpoint.
240
- *
241
- * @deprecated
242
- * @see DEVICE_PCIE_DECLARE
243
- *
244
- * @param bdf the endpoint to probe
245
- * @param id the endpoint ID to expect, or PCIE_ID_NONE for "any device"
246
- * @return true if the device is present, false otherwise
247
- */
248
- __deprecated extern bool pcie_probe (pcie_bdf_t bdf , pcie_id_t id );
249
-
250
238
/**
251
239
* @brief Get the MBAR at a specific BAR index
252
240
* @param bdf the PCI(e) endpoint
You can’t perform that action at this time.
0 commit comments