From owner-freebsd-questions@FreeBSD.ORG Tue Mar 25 12:38:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69FEF1065673 for ; Tue, 25 Mar 2008 12:38:03 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 0664B8FC14 for ; Tue, 25 Mar 2008 12:38:02 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.199] (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by angel.comcen.com.au (8.13.4/8.12.9) with ESMTP id m2PCaHKj097706 for ; Tue, 25 Mar 2008 23:36:18 +1100 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <130DF471-F5ED-4E42-8678-1C2FB954F9B1@mac.com> References: <1206332783.6973.95.camel@laptop2.herveybayaustralia.com.au> <20080324201908.GA17432@Grumpy.DynDNS.org> <130DF471-F5ED-4E42-8678-1C2FB954F9B1@mac.com> Content-Type: text/plain Date: Tue, 25 Mar 2008 22:36:10 +1000 Message-Id: <1206448570.6973.114.camel@laptop2.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-3.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-16.435, required 4, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.36, BAYES_00 -15.00) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au Subject: Re: Mac osX drivers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 12:38:03 -0000 On Mon, 2008-03-24 at 13:49 -0700, Chuck Swiger wrote: > On Mar 24, 2008, at 1:19 PM, David Kelly wrote: > > On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote: > >> I know I keep asking about drivers, but what about Mac drivers? I > >> understand that Mac osX is based fairly well on BSD, so would the > >> drivers be portable? > > > > Drivers for doing what? > > > >> This is all on a current project I'm working on... > > > > Go study the available Darwin code from > > http://www.opensource.apple.com/darwinsource/ > > This is good advice, but if you check this link and actually look at > the OSX drivers under there, you'll discover that they are generally > written in C++ using something called the I/O Kit, documented here: > > http://developer.apple.com/reference/HardwareDrivers/ > http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFundamentals > > > I believe you will discover many of the drivers in MacOS X came from > > FreeBSD. > > Not really, no. The OS X drivers originated from the Mach project at > CMU and NeXT Computer back in the early 90's [1], with a significant > rewrite by Apple after they acquired NeXT circa 1998 to add numerous > drivers to support Apple's hardware in particular. > Thanks for the info guys- looks like I have to keep looking for a different solution. I do have another question but I will ask this in another thread.