MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ccp_probe

Function ccp_probe

freebsd/crypto/ccp/ccp.c:120–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static int
121ccp_probe(device_t dev)
122{
123 struct pciid *ip;
124 uint32_t id;
125
126 id = pci_get_devid(dev);
127 for (ip = ccp_ids; ip < &ccp_ids[nitems(ccp_ids)]; ip++) {
128 if (id == ip->devid) {
129 device_set_desc(dev, ip->desc);
130 return (0);
131 }
132 }
133 return (ENXIO);
134}
135
136static void
137ccp_initialize_queues(struct ccp_softc *sc)

Callers

nothing calls this directly

Calls 1

device_set_descFunction · 0.85

Tested by

no test coverage detected