| 63 | } |
| 64 | |
| 65 | static int |
| 66 | gt_attach(device_t dev) |
| 67 | { |
| 68 | struct gt_softc *sc = device_get_softc(dev); |
| 69 | sc->dev = dev; |
| 70 | |
| 71 | device_add_child(dev, "pcib", 0); |
| 72 | bus_generic_probe(dev); |
| 73 | bus_generic_attach(dev); |
| 74 | |
| 75 | return (0); |
| 76 | } |
| 77 | |
| 78 | static struct resource * |
| 79 | gt_alloc_resource(device_t dev, device_t child, int type, int *rid, |
nothing calls this directly
no test coverage detected