Do not reset SCSI bus.

This commit is contained in:
minoura 1999-11-18 15:03:03 +00:00
parent 952f1ae148
commit e8a82e3d7e
1 changed files with 1 additions and 19 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mha.c,v 1.17 1999/09/30 23:01:12 thorpej Exp $ */
/* $NetBSD: mha.c,v 1.18 1999/11/18 15:03:03 minoura Exp $ */
/*-
* Copyright (c) 1996-1999 The NetBSD Foundation, Inc.
@ -240,7 +240,6 @@ int mhamatch __P((struct device *, struct cfdata *, void *));
void mhaattach __P((struct device *, struct device *, void *));
void mhaselect __P((struct mha_softc *,
u_char, u_char, u_char *, u_char));
void mha_scsi_reset __P((struct mha_softc *));
void mha_reset __P((struct mha_softc *));
void mha_free_acb __P((struct mha_softc *, struct acb *, int));
void mha_sense __P((struct mha_softc *, struct acb *));
@ -346,10 +345,6 @@ mhaattach(parent, self, aux)
mha_init(sc); /* Init chip and driver */
printf("\n%s: Resetting SCSI bus... ", self->dv_xname);
mha_scsi_reset(sc); /* XXX: some devices need this. */
printf("done\n");
sc->sc_phase = BUSFREE_PHASE;
/*
@ -434,19 +429,6 @@ printf("done.\n");
}
#endif
/*
* Pull the SCSI RST line for 500us.
*/
void
mha_scsi_reset(sc) /* FINISH? */
struct mha_softc *sc;
{
CMR = CMD_SCSI_RESET; /* SCSI RESET */
while (!(SSR&SS_IREQUEST))
delay(10);
}
/*
* Initialize mha SCSI driver.
*/