From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 09:38:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9597716A4CE for ; Mon, 10 Nov 2003 09:38:13 -0800 (PST) Received: from nutt.ca (nutt.ca [65.39.196.154]) by mx1.FreeBSD.org (Postfix) with SMTP id 9E32E43FA3 for ; Mon, 10 Nov 2003 09:38:12 -0800 (PST) (envelope-from gregory@nutt.ca) Received: (qmail 17602 invoked from network); 10 Nov 2003 17:38:11 -0000 Received: from unknown (HELO to-gnutt-ops.nutt.ca) (66.100.21.241) by nutt.ca with SMTP; 10 Nov 2003 17:38:11 -0000 Message-Id: <6.0.0.22.0.20031110123252.02428258@mail.nutt.ca> X-Sender: gregory@mail.nutt.ca X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 10 Nov 2003 12:38:06 -0500 To: freebsd-questions@FreeBSD.org From: Gregory Nutt Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Writing Device Drivers in 5.1-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 17:38:13 -0000 I'm trying to port the device driver for acx100 chipsets TO WORK ON FreeBSD. However, all the guides I'm finding make reference to files that apparently are no longer used such as: card_if.h device_if.h bus_if.h etc... and have been renamed to card_if.m, device_if.m, bus_if.m, etc... even though these are includes in a good number of the device driver files included with this distro. So far I just remmed out the includes of these files and am now stuck at the DEVMETHOD macro where it is not accepting functions such as device_probe, device_attach, device_detach, etc where I get an error saying ei. device_probe_desc undeclared here (not in a function). I can find no headers that define the macro or the functions. Please help! Greg