From owner-freebsd-questions Tue Jun 26 11: 9:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rye.elite.net (rye.elite.net [205.199.220.6]) by hub.freebsd.org (Postfix) with ESMTP id E6BB137B407 for ; Tue, 26 Jun 2001 11:09:14 -0700 (PDT) (envelope-from nate@elite.net) Received: from almond.elite.net (root@almond.elite.net [205.199.220.5]) by rye.elite.net (8.9.3/8.9.3) with ESMTP id LAA19147 for ; Tue, 26 Jun 2001 11:09:09 -0700 (PDT) Received: (nate@localhost) by almond.elite.net (8.8.3/8.6.12) id LAA23316; Tue, 26 Jun 2001 11:09:09 -0700 (PDT) Date: Tue, 26 Jun 2001 11:09:09 -0700 (PDT) From: Nate Lawson To: freebsd-questions@freebsd.org Subject: linker_set's and kld modules? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'd like to convert some kernel code (CAM) that uses linker_set (sys/linker_set.h) for keeping track of devices to a kernel module. Unfortunately, it appears that ld handles linker_sets. So how can I append a new struct to the linker_set array at kld load time? Or do I have to change the base code to use a more dynamic struct like SLIST? -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message