diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-01-23 22:05:07 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-01-23 22:05:07 +0000 |
| commit | 5d3e8edac4a1da21ed835754bc2f28e5beb8b54a (patch) | |
| tree | cccb18ac89dd731cf719753763268aa6ff78f930 /sys/dev/ncv | |
| parent | 5928fa5cc76601fe70befcda201ab1d388ab0314 (diff) | |
Use the 'slp' local variable that was otherwise unused instead of casting
the driver softc under the assumption that the first part of it was a
struct scsi_low_softc.
Notes
svn path=/head/; revision=71466
Diffstat (limited to 'sys/dev/ncv')
| -rw-r--r-- | sys/dev/ncv/ncr53c500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ncv/ncr53c500.c b/sys/dev/ncv/ncr53c500.c index dfbfd3f1248e..bb9e1d839d22 100644 --- a/sys/dev/ncv/ncr53c500.c +++ b/sys/dev/ncv/ncr53c500.c @@ -440,7 +440,7 @@ ncv_world_start(sc, fdone) ncvhw_init(iot, ioh, &sc->sc_hw); s = splcam(); - scsi_low_bus_reset((struct scsi_low_softc *) sc); + scsi_low_bus_reset(slp); ncvhw_select_register_0(iot, ioh, &sc->sc_hw); bus_space_read_1(sc->sc_iot, sc->sc_ioh, cr0_stat); |
