From owner-freebsd-current Mon Aug 27 12:39:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 9CBD237B407 for ; Mon, 27 Aug 2001 12:39:24 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.4/8.11.4) with ESMTP id f7RJd5T68366 for ; Mon, 27 Aug 2001 21:39:11 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: Junior Kernel Hacker task: Get rid of NCCD constant. From: Poul-Henning Kamp Date: Mon, 27 Aug 2001 21:39:05 +0200 Message-ID: <68364.998941145@critter> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Assignment: There is no reason for the NCCD constant to exist anymore. The CCD driver already has cloning support but CCDs "softc" structure is statically allocated for NCCD devices. Change the CCD driver to dynamically allocate memory as needed, the MD driver can be used as example as the overall morphology of the two drivers are the same. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message