diff options
author | sos <sos@FreeBSD.org> | 1999-04-22 08:07:44 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1999-04-22 08:07:44 +0000 |
commit | cdd1dd5272846cb2feab27bee194a89e1e46a054 (patch) | |
tree | 883466d90ba337b62d1ee50202d45754c325c950 | |
parent | b4fe1fc0622367033294a006d794598acf4cdf85 (diff) | |
download | FreeBSD-src-cdd1dd5272846cb2feab27bee194a89e1e46a054.zip FreeBSD-src-cdd1dd5272846cb2feab27bee194a89e1e46a054.tar.gz |
Fix the promise_intr function, it should use 'lun' not 'unit'
to get the offset into ata_devices.
-rw-r--r-- | sys/dev/ata/ata-all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 92fad29..2426bbc 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ata-all.c,v 1.9 1999/04/21 07:26:25 peter Exp $ + * $Id: ata-all.c,v 1.10 1999/04/21 10:58:07 peter Exp $ */ #include "ata.h" @@ -373,7 +373,7 @@ promise_intr(void *data) ataintr(data); if (channel & 0x00004000) - ataintr(atadevices[scp->unit + 1]); + ataintr(atadevices[scp->lun + 1]); } #endif |