From owner-freebsd-questions@FreeBSD.ORG Tue Nov 11 17:58:41 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 C477816A4CF for ; Tue, 11 Nov 2003 17:58:41 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 075F643F93 for ; Tue, 11 Nov 2003 17:58:30 -0800 (PST) (envelope-from jason@ec.rr.com) Received: from ec.rr.com (cpe-024-211-231-149.ec.rr.com [24.211.231.149]) hAC1wGns007027; Tue, 11 Nov 2003 20:58:17 -0500 (EST) Message-ID: <3FB19396.9010604@ec.rr.com> Date: Tue, 11 Nov 2003 20:57:42 -0500 From: Jason User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031205 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gregory Nutt References: <6.0.0.22.0.20031110123252.02428258@mail.nutt.ca> In-Reply-To: <6.0.0.22.0.20031110123252.02428258@mail.nutt.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: 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: Wed, 12 Nov 2003 01:58:41 -0000 Gregory Nutt wrote: > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I have tried a similar thing recently, but am very new to it. I might not be able to help you a lot but you should check this site out: http://acx100.sourceforge.net/ Jason