From owner-cvs-all Wed Dec 29 14:55: 4 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 95CAE1572C; Wed, 29 Dec 1999 14:55:02 -0800 (PST) (envelope-from mjacob@FreeBSD.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA95032; Wed, 29 Dec 1999 14:55:02 -0800 (PST) (envelope-from mjacob@FreeBSD.org) Message-Id: <199912292255.OAA95032@freefall.freebsd.org> From: Matt Jacob Date: Wed, 29 Dec 1999 14:55:02 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam/scsi scsi_target.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk mjacob 1999/12/29 14:55:02 PST Modified files: sys/cam/scsi scsi_target.c Log: Restore this driver to a working state. The control device has to be created at init time. The unit devices are created at ctor when new instances are created and bound and destroyed when that instance is closed. As such, there is just s single static control dev_t for this driver (the per-unit dev_t's are still in the softc). When we have decommissionable periph drivers, a destroy_device on the control device will have to called. Revision Changes Path 1.20 +7 -8 src/sys/cam/scsi/scsi_target.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message