| 63 | "with generic NINTR"); |
| 64 | |
| 65 | static int |
| 66 | bcma_nexus_probe(device_t dev) |
| 67 | { |
| 68 | int error; |
| 69 | |
| 70 | switch (bcm_get_platform()->cid.chip_type) { |
| 71 | case BHND_CHIPTYPE_BCMA: |
| 72 | case BHND_CHIPTYPE_BCMA_ALT: |
| 73 | case BHND_CHIPTYPE_UBUS: |
| 74 | break; |
| 75 | default: |
| 76 | return (ENXIO); |
| 77 | } |
| 78 | |
| 79 | if ((error = bcma_probe(dev)) > 0) |
| 80 | return (error); |
| 81 | |
| 82 | /* Set device description */ |
| 83 | bhnd_set_default_bus_desc(dev, &bcm_get_platform()->cid); |
| 84 | |
| 85 | return (BUS_PROBE_SPECIFIC); |
| 86 | } |
| 87 | |
| 88 | static int |
| 89 | bcma_nexus_attach(device_t dev) |
nothing calls this directly
no test coverage detected