From ad6ca346f2b7b13bf66119cc10840f3949b8ca5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Wed, 10 Jan 1996 21:20:57 +0000 Subject: [PATCH] Add back initialization of "ncrp[unit]" since ncrcontrol relies on it. --- sys/pci/ncr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index 29c06b2f1d5..a3ec396439c 100644 --- a/sys/pci/ncr.c +++ b/sys/pci/ncr.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: ncr.c,v 1.54 1996/01/07 19:26:12 gibbs Exp $ +** $Id: ncr.c,v 1.55 1996/01/09 19:57:49 se Exp $ ** ** Device driver for the NCR 53C810 PCI-SCSI-Controller. ** @@ -1249,7 +1249,7 @@ static void ncr_attach (pcici_t tag, int unit); static char ident[] = - "\n$Id: ncr.c,v 1.54 1996/01/07 19:26:12 gibbs Exp $\n"; + "\n$Id: ncr.c,v 1.55 1996/01/09 19:57:49 se Exp $\n"; static u_long ncr_version = NCR_VERSION * 11 + (u_long) sizeof (struct ncb) * 7 @@ -3267,6 +3267,7 @@ static void ncr_attach (pcici_t config_id, int unit) if (!np) { np = (ncb_p) malloc (sizeof (struct ncb), M_DEVBUF, M_WAITOK); if (!np) return; + ncrp[unit]=np; } /*