From owner-freebsd-hackers Mon Jan 8 16:25:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dune.clickarray.com (unknown [216.132.92.2]) by hub.freebsd.org (Postfix) with ESMTP id DE55D37B401 for ; Mon, 8 Jan 2001 16:25:26 -0800 (PST) Received: from b52.clickarray.com ([10.2.1.211]) by dune.clickarray.com (8.9.3/8.9.3) with SMTP id QAA51912; Mon, 8 Jan 2001 16:31:45 -0800 (PST) (envelope-from vijo@clickarray.com) From: Vijo Cherian To: hackers@freebsd.org Subject: kobj, makedevops.pl etc. Date: Mon, 8 Jan 2001 17:29:25 -0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: mhsu@clickarray.com MIME-Version: 1.0 Message-Id: <01010817314705.21412@b52.clickarray.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, I have some questions... but most of them may be prerry lame because I am new to FreeBSD. I am running 5.0 and I have a driver for a card which was written for 4.1. The driver uses bus_if.h, device_if.h and pci_if.h and these files are generated by makedevops.pl. The driver is written as a module and is loaded using kldload. But loading fails because BUS_READ_IVAR and friends are not available. Using makeobjops.pl works. My questions are 1. Is this the right way? 2. When did kobj find place in the kernel? (which release) (that is what makeobjops.pl does,right?) 3. If all that I did is wrong, what is the right way? 4. Can you point me to a driver that can be loaded as kld? waiting to see how the community treats a new convert ;-) -- vijo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message