summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ami.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2005-09-21 08:39:16 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2005-09-21 08:39:16 +0000
commitc8d5cfaa8156d95d613635cbc38fc43148afa0e9 (patch)
tree8b714a11bf6ac69fb08c12db123703552311370b /sys/dev/ic/ami.c
parent9dd7775ec6752af400dcfbd53fc5a88c95b64549 (diff)
rename nsg to nsge in struct ami_passthrough to be consistent with the
naming elsewhere in this driver. suggested by marco@
Diffstat (limited to 'sys/dev/ic/ami.c')
-rw-r--r--sys/dev/ic/ami.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index 8613f6288ed..4acdd4e81e3 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.79 2005/09/21 08:36:35 dlg Exp $ */
+/* $OpenBSD: ami.c,v 1.80 2005/09/21 08:39:15 dlg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -1059,7 +1059,7 @@ ami_cmd(ccb, flags, wait)
struct ami_sgent *sgl = ccb->ccb_sglist;
if (cmd->acc_cmd == AMI_PASSTHRU) {
- ccb->ccb_pt->apt_nsg = dmap->dm_nsegs;
+ ccb->ccb_pt->apt_nsge = dmap->dm_nsegs;
ccb->ccb_pt->apt_data = ccb->ccb_sglistpa;
} else {
cmd->acc_mbox.amb_nsge = dmap->dm_nsegs;
@@ -1075,7 +1075,7 @@ ami_cmd(ccb, flags, wait)
}
} else {
if (cmd->acc_cmd == AMI_PASSTHRU) {
- ccb->ccb_pt->apt_nsg = 0;
+ ccb->ccb_pt->apt_nsge = 0;
ccb->ccb_pt->apt_data = htole32(sgd->ds_addr);
} else {
cmd->acc_mbox.amb_nsge = 0;