twe_drive
if ((child = sc->twe_drive[TWE_AEN_UNIT(aen)].td_disk) != NULL) {
device_printf(sc->twe_drive[cmd->generic.unit].td_disk,
device_printf(sc->twe_drive[cmd->generic.unit].td_disk,
device_printf(sc->twe_drive[cmd->generic.unit].td_disk,
device_printf(sc->twe_drive[cmd->generic.unit].td_disk,
device_printf(sc->twe_drive[cmd->generic.unit].td_disk,
struct twe_drive *dr;
dr = &sc->twe_drive[unit];
if (sc->twe_drive[unit].td_disk == NULL)
if (sc->twe_drive[i].td_disk != 0) {
twe_attach_drive(struct twe_softc *sc, struct twe_drive *dr)
error = device_delete_child(sc->twe_dev, sc->twe_drive[unit].td_disk);
bzero(&sc->twe_drive[unit], sizeof(sc->twe_drive[unit]));
struct twe_drive twe_drive[TWE_MAX_UNITS]; /* attached drives */
struct twe_drive *dr); /* attach drive when found in twe_init */
struct twe_drive *twed_drive; /* drive data in parent softc */