summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1997-01-06 13:51:15 +0000
committersos <sos@FreeBSD.org>1997-01-06 13:51:15 +0000
commit2317631ae17cf6b2e794f8ed490bf7f6d96f43ce (patch)
tree0519407830cc3845bf0b663186ce8e9ad60d45d9 /sys
parent21ab39d2e483f523865f4cf13dba48b5ec5fc442 (diff)
downloadFreeBSD-src-2317631ae17cf6b2e794f8ed490bf7f6d96f43ce.zip
FreeBSD-src-2317631ae17cf6b2e794f8ed490bf7f6d96f43ce.tar.gz
Fix typo..
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/ncr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 0eb01b4..fe40661 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.91 1996/12/23 19:12:29 bde Exp $
+** $Id: ncr.c,v 1.92 1997/01/05 23:08:27 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -1263,7 +1263,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.91 1996/12/23 19:12:29 bde Exp $\n";
+ "\n$Id: ncr.c,v 1.92 1997/01/05 23:08:27 se Exp $\n";
static const u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
@@ -4215,7 +4215,7 @@ void ncr_complete (ncb_p np, ccb_p cp)
/*
** On inquire cmd (0x12) save some data.
*/
- if (xp->cmd.opcode == 0x12 && xp->sc_link->lun == 0) {
+ if (xp->cmd->opcode == 0x12 && xp->sc_link->lun == 0) {
bcopy ( xp->data,
&tp->inqdata,
sizeof (tp->inqdata));
OpenPOWER on IntegriCloud