-/* $OpenBSD: twe.c,v 1.28 2007/10/20 16:10:09 krw Exp $ */
+/* $OpenBSD: twe.c,v 1.29 2008/07/24 19:03:08 thib Exp $ */
/*
* Copyright (c) 2000-2002 Michael Shalayeff. All rights reserved.
TAILQ_INIT(&sc->sc_free_ccb);
TAILQ_INIT(&sc->sc_done_ccb);
- lockinit(&sc->sc_lock, PWAIT, "twelk", 0, 0);
-
pa = sc->sc_cmdmap->dm_segs[0].ds_addr +
sizeof(struct twe_cmd) * (TWE_MAXCMDS - 1);
for (cmd = (struct twe_cmd *)sc->sc_cmds + TWE_MAXCMDS - 1;
-/* $OpenBSD: twevar.h,v 1.7 2005/09/15 05:33:39 krw Exp $ */
+/* $OpenBSD: twevar.h,v 1.8 2008/07/24 19:03:08 thib Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
struct device sc_dev;
void *sc_ih;
struct scsi_link sc_link;
- struct lock sc_lock;
struct proc *sc_thread;
int sc_thread_on;