summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/matcd
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-03 16:49:14 +0000
committerphk <phk@FreeBSD.org>1996-05-03 16:49:14 +0000
commit8d261ab19f66ce12fe626732fecd11cc567fbf9a (patch)
treec05b3bb16a9643036a7cd7c3315d4a7bbd13d304 /sys/i386/isa/matcd
parent04c1e3cc5c2d4763a2b68c4b0f73214a4dd0fbd2 (diff)
downloadFreeBSD-src-8d261ab19f66ce12fe626732fecd11cc567fbf9a.zip
FreeBSD-src-8d261ab19f66ce12fe626732fecd11cc567fbf9a.tar.gz
Forget that TAILQ's must be init'ed.
Diffstat (limited to 'sys/i386/isa/matcd')
-rw-r--r--sys/i386/isa/matcd/matcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/matcd/matcd.c b/sys/i386/isa/matcd/matcd.c
index 04a15d7..2bf569e 100644
--- a/sys/i386/isa/matcd/matcd.c
+++ b/sys/i386/isa/matcd/matcd.c
@@ -337,7 +337,7 @@ static char MATCDVERSION[]="Version 1(26) 18-Oct-95";
static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank Durda IV";
/* The proceeding strings may not be changed*/
-/* $Id: matcd.c,v 1.15 1996/03/28 14:29:52 scrappy Exp $ */
+/* $Id: matcd.c,v 1.16 1996/05/03 14:58:09 phk Exp $ */
/*---------------------------------------------------------------------------
Include declarations
@@ -1382,6 +1382,7 @@ matcd_attach(struct isa_device *dev)
#endif /*DEBUGPROBE*/
printf("matcdc%d Host interface type %d\n",
nextcontroller,iftype);
+ TAILQ_INIT(&request_head[nextcontroller]);
for (cdrive=0; cdrive<4; cdrive++) { /*We're hunting drives...*/
zero_cmd(cmd);
cmd[0]=NOP; /*A reasonably harmless command.
OpenPOWER on IntegriCloud