| 124 | static int bcmfb_configure(int); |
| 125 | |
| 126 | static int |
| 127 | bcm_fb_probe(device_t dev) |
| 128 | { |
| 129 | int error; |
| 130 | |
| 131 | if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) |
| 132 | return (ENXIO); |
| 133 | |
| 134 | device_set_desc(dev, "BCM2835 framebuffer device"); |
| 135 | error = sc_probe_unit(device_get_unit(dev), |
| 136 | device_get_flags(dev) | SC_AUTODETECT_KBD); |
| 137 | if (error != 0) |
| 138 | return (error); |
| 139 | |
| 140 | return (BUS_PROBE_DEFAULT); |
| 141 | } |
| 142 | |
| 143 | static int |
| 144 | bcm_fb_attach(device_t dev) |
nothing calls this directly
no test coverage detected