From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 4 00:30:43 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 637631065687 for ; Tue, 4 Nov 2008 00:30:43 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (elvis.rowan.edu [150.250.64.69]) by mx1.freebsd.org (Postfix) with ESMTP id 282B18FC16 for ; Tue, 4 Nov 2008 00:30:42 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (localhost [127.0.0.1]) by elvis.rowan.edu (8.13.8+Sun/8.13.8) with ESMTP id mA408iao002173 for ; Mon, 3 Nov 2008 19:08:44 -0500 (EST) Received: from localhost (jdp@localhost) by elvis.rowan.edu (8.13.8+Sun/8.13.8/Submit) with ESMTP id mA408hbZ002170 for ; Mon, 3 Nov 2008 19:08:43 -0500 (EST) Date: Mon, 3 Nov 2008 19:08:43 -0500 (EST) From: Joe Pellegrino To: freebsd-drivers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 00:30:43 -0000 I am trying to develop a small kernel module and I wanted to ask some questions about implementation. First, there is a component of Linux, called netlink, which permits IPC communication between a userspace app and kernel module using sockets. Is there a FreeBSD equivalent? I know you can do this with IOCTL and perhaps through proc but I would prefer using a technique similar to netlink. Toward that I am looking at netgraph (ng_socket) but have run into some trouble mostly related to inexperience with netgraph. So basically: 1. Is there something similar to netlink? 2. Would that be NetGraph? 3. If not what is it? I do have further questions depending on how these are answered. Thanks for your help. :) ---jdp From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 4 15:50:35 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 525F7106568F for ; Tue, 4 Nov 2008 15:50:35 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 40D348FC1F for ; Tue, 4 Nov 2008 15:50:35 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 20E701A3C4C; Tue, 4 Nov 2008 07:50:35 -0800 (PST) Date: Tue, 4 Nov 2008 07:50:35 -0800 From: Alfred Perlstein To: Joe Pellegrino Message-ID: <20081104155035.GS60438@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-drivers@freebsd.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 15:50:35 -0000 * Joe Pellegrino [081103 16:30] wrote: > I am trying to develop a small kernel module and I wanted to ask some > questions about implementation. First, there is a component of Linux, > called netlink, which permits IPC communication between a userspace app > and kernel module using sockets. Is there a FreeBSD equivalent? I know you > can do this with IOCTL and perhaps through proc but I would prefer using a > technique similar to netlink. > > Toward that I am looking at netgraph (ng_socket) but have run into some > trouble mostly related to inexperience with netgraph. So basically: > > 1. Is there something similar to netlink? > > 2. Would that be NetGraph? > > 3. If not what is it? > > I do have further questions depending on how these are answered. Thanks > for your help. :) Hey Joe, can you give a link to us that explains what "netlink" is and how to use it? examples and such? thank you, -- - Alfred Perlstein From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 4 16:26:45 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F5BA10656A5; Tue, 4 Nov 2008 16:26:45 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id D6C5B8FC3F; Tue, 4 Nov 2008 16:26:44 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1303025nfh.33 for ; Tue, 04 Nov 2008 08:26:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=uk4IaGdeY37PCUx/grxyiILQyGDy7VDyQqH4HwB/VVA=; b=NIDq2RNJsLPE6649VpYZQq/0msh283Sin7ENCq+Qs5mG+1Je379tQslt8CR9dLi4uv G1PiiS9AVabaIAajg9ZDzkQhPveOKH9VWyEbPvkfM5LhMQSva9ZvC3A6jyGuKVKNL154 /vVyFrtCtEiFtqbe28U8bNXcReKU1FJt73cB4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=bjBrNiU0bARJAOPpE3mI4g2ALxUYRl1Yh1RtrIN3snJ+mCslXvqpJW0x1FNgPpthm7 lnfRpc7WlQ4xSntkpFzMdwj8fYbtSygxr7iOX15EVaA+0z6URcr8STaeoSb4evYomITJ 9kfCy38G0GAJ/NtOlRVNLzxXrphM5vMBgrwN0= Received: by 10.103.227.13 with SMTP id e13mr789981mur.49.1225816003500; Tue, 04 Nov 2008 08:26:43 -0800 (PST) Received: from ndenev.cmotd.com (blah.sun-fish.com [217.18.249.150]) by mx.google.com with ESMTPS id j2sm33392989mue.4.2008.11.04.08.26.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Nov 2008 08:26:42 -0800 (PST) Message-Id: <19FD5239-C9C8-4F2A-A320-D58F8002CE42@gmail.com> From: Nikolay Denev To: Alfred Perlstein In-Reply-To: <20081104155035.GS60438@elvis.mu.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 4 Nov 2008 18:26:39 +0200 References: <20081104155035.GS60438@elvis.mu.org> X-Pgp-Agent: GPGMail d53 (v53, Leopard) X-Mailer: Apple Mail (2.929.2) Cc: freebsd-drivers@freebsd.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 16:26:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4 Nov, 2008, at 17:50 , Alfred Perlstein wrote: > * Joe Pellegrino [081103 16:30] wrote: >> I am trying to develop a small kernel module and I wanted to ask some >> questions about implementation. First, there is a component of Linux, >> called netlink, which permits IPC communication between a userspace >> app >> and kernel module using sockets. Is there a FreeBSD equivalent? I >> know you >> can do this with IOCTL and perhaps through proc but I would prefer >> using a >> technique similar to netlink. >> >> Toward that I am looking at netgraph (ng_socket) but have run into >> some >> trouble mostly related to inexperience with netgraph. So basically: >> >> 1. Is there something similar to netlink? >> >> 2. Would that be NetGraph? >> >> 3. If not what is it? >> >> I do have further questions depending on how these are answered. >> Thanks >> for your help. :) > > Hey Joe, can you give a link to us that explains what "netlink" is > and how to use it? examples and such? > > thank you, > -- > - Alfred Perlstein > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org > " Hi, http://www.ietf.org/rfc/rfc3549.txt http://en.wikipedia.org/wiki/Netlink http://www.linuxjournal.com/article/7356 (this one is a bit dated, but has some examples) - -- Regards, Nikolay Denev -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (Darwin) iEYEARECAAYFAkkQd78ACgkQHNAJ/fLbfrkhfQCgu0EM6qM3qQM7PhOf6n8tUX+3 ewoAnAmADfsS3Mf9Cnq7ssbXPYf5E/ZE =Sz8R -----END PGP SIGNATURE----- From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 4 17:15:20 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D8001065676; Tue, 4 Nov 2008 17:15:20 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (elvis.rowan.edu [150.250.64.69]) by mx1.freebsd.org (Postfix) with ESMTP id B2C1C8FC14; Tue, 4 Nov 2008 17:15:19 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (localhost [127.0.0.1]) by elvis.rowan.edu (8.13.8+Sun/8.13.8) with ESMTP id mA4HFJm4016237; Tue, 4 Nov 2008 12:15:19 -0500 (EST) Received: from localhost (jdp@localhost) by elvis.rowan.edu (8.13.8+Sun/8.13.8/Submit) with ESMTP id mA4HFJRk016233; Tue, 4 Nov 2008 12:15:19 -0500 (EST) Date: Tue, 4 Nov 2008 12:15:19 -0500 (EST) From: Joe Pellegrino To: Nikolay Denev In-Reply-To: <19FD5239-C9C8-4F2A-A320-D58F8002CE42@gmail.com> Message-ID: References: <20081104155035.GS60438@elvis.mu.org> <19FD5239-C9C8-4F2A-A320-D58F8002CE42@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-drivers@freebsd.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 17:15:20 -0000 i was just going to post those myself. Funny thing is, according to the article, this has been available since the 2.2 kernel version but it isn't in the device driver development book (oreilly) In any case I am looking for a similar component for FreeBSD. And if there isn't a precise match what would the closest way be to get that functionality? ---jdp On Tue, 4 Nov 2008, Nikolay Denev wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 4 Nov, 2008, at 17:50 , Alfred Perlstein wrote: > >> * Joe Pellegrino [081103 16:30] wrote: >>> I am trying to develop a small kernel module and I wanted to ask some >>> questions about implementation. First, there is a component of Linux, >>> called netlink, which permits IPC communication between a userspace app >>> and kernel module using sockets. Is there a FreeBSD equivalent? I know you >>> can do this with IOCTL and perhaps through proc but I would prefer using a >>> technique similar to netlink. >>> >>> Toward that I am looking at netgraph (ng_socket) but have run into some >>> trouble mostly related to inexperience with netgraph. So basically: >>> >>> 1. Is there something similar to netlink? >>> >>> 2. Would that be NetGraph? >>> >>> 3. If not what is it? >>> >>> I do have further questions depending on how these are answered. Thanks >>> for your help. :) >> >> Hey Joe, can you give a link to us that explains what "netlink" is >> and how to use it? examples and such? >> >> thank you, >> -- >> - Alfred Perlstein >> _______________________________________________ >> freebsd-drivers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers >> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" > > > Hi, > > http://www.ietf.org/rfc/rfc3549.txt > > http://en.wikipedia.org/wiki/Netlink > > http://www.linuxjournal.com/article/7356 (this one is a bit dated, but has > some examples) > > > - -- > Regards, > Nikolay Denev > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (Darwin) > > iEYEARECAAYFAkkQd78ACgkQHNAJ/fLbfrkhfQCgu0EM6qM3qQM7PhOf6n8tUX+3 > ewoAnAmADfsS3Mf9Cnq7ssbXPYf5E/ZE > =Sz8R > -----END PGP SIGNATURE----- From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 4 18:02:27 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C1C0106567C for ; Tue, 4 Nov 2008 18:02:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B96338FC2E for ; Tue, 4 Nov 2008 18:02:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA4Hxg36092012; Tue, 4 Nov 2008 10:59:42 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 04 Nov 2008 11:00:56 -0700 (MST) Message-Id: <20081104.110056.-1350515023.imp@bsdimp.com> To: jdp@elvis.rowan.edu From: "M. Warner Losh" In-Reply-To: References: <20081104155035.GS60438@elvis.mu.org> <19FD5239-C9C8-4F2A-A320-D58F8002CE42@gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 18:02:27 -0000 In message: Joe Pellegrino writes: : i was just going to post those myself. Funny thing is, according to the : article, this has been available since the 2.2 kernel version but it isn't : in the device driver development book (oreilly) In any case I am looking : for a similar component for FreeBSD. And if there isn't a precise match : what would the closest way be to get that functionality? Can you post a pointer to the article? Warner : ---jdp : : On Tue, 4 Nov 2008, Nikolay Denev wrote: : : > -----BEGIN PGP SIGNED MESSAGE----- : > Hash: SHA1 : > : > : > On 4 Nov, 2008, at 17:50 , Alfred Perlstein wrote: : > : >> * Joe Pellegrino [081103 16:30] wrote: : >>> I am trying to develop a small kernel module and I wanted to ask some : >>> questions about implementation. First, there is a component of Linux, : >>> called netlink, which permits IPC communication between a userspace app : >>> and kernel module using sockets. Is there a FreeBSD equivalent? I know you : >>> can do this with IOCTL and perhaps through proc but I would prefer using a : >>> technique similar to netlink. : >>> : >>> Toward that I am looking at netgraph (ng_socket) but have run into some : >>> trouble mostly related to inexperience with netgraph. So basically: : >>> : >>> 1. Is there something similar to netlink? : >>> : >>> 2. Would that be NetGraph? : >>> : >>> 3. If not what is it? : >>> : >>> I do have further questions depending on how these are answered. Thanks : >>> for your help. :) : >> : >> Hey Joe, can you give a link to us that explains what "netlink" is : >> and how to use it? examples and such? : >> : >> thank you, : >> -- : >> - Alfred Perlstein : >> _______________________________________________ : >> freebsd-drivers@freebsd.org mailing list : >> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers : >> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" : > : > : > Hi, : > : > http://www.ietf.org/rfc/rfc3549.txt : > : > http://en.wikipedia.org/wiki/Netlink : > : > http://www.linuxjournal.com/article/7356 (this one is a bit dated, but has : > some examples) : > : > : > - -- : > Regards, : > Nikolay Denev : > : > : > : > : > -----BEGIN PGP SIGNATURE----- : > Version: GnuPG v2.0.9 (Darwin) : > : > iEYEARECAAYFAkkQd78ACgkQHNAJ/fLbfrkhfQCgu0EM6qM3qQM7PhOf6n8tUX+3 : > ewoAnAmADfsS3Mf9Cnq7ssbXPYf5E/ZE : > =Sz8R : > -----END PGP SIGNATURE----- : _______________________________________________ : freebsd-drivers@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-drivers : To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" : : From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 4 22:38:41 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 575A910656A9 for ; Tue, 4 Nov 2008 22:38:41 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (elvis.rowan.edu [150.250.64.69]) by mx1.freebsd.org (Postfix) with ESMTP id 0325E8FC29 for ; Tue, 4 Nov 2008 22:38:40 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (localhost [127.0.0.1]) by elvis.rowan.edu (8.13.8+Sun/8.13.8) with ESMTP id mA4McYtE013860; Tue, 4 Nov 2008 17:38:34 -0500 (EST) Received: from localhost (jdp@localhost) by elvis.rowan.edu (8.13.8+Sun/8.13.8/Submit) with ESMTP id mA4McYk4013856; Tue, 4 Nov 2008 17:38:34 -0500 (EST) Date: Tue, 4 Nov 2008 17:38:34 -0500 (EST) From: Joe Pellegrino To: "M. Warner Losh" In-Reply-To: <20081104.110056.-1350515023.imp@bsdimp.com> Message-ID: References: <20081104155035.GS60438@elvis.mu.org> <19FD5239-C9C8-4F2A-A320-D58F8002CE42@gmail.com> <20081104.110056.-1350515023.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-drivers@freebsd.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 22:38:41 -0000 > Can you post a pointer to the article? > > Warner > > http://www.ietf.org/rfc/rfc3549.txt http://en.wikipedia.org/wiki/Netlink http://www.linuxjournal.com/article/7356 From owner-freebsd-drivers@FreeBSD.ORG Tue Nov 4 23:35:27 2008 Return-Path: Delivered-To: freebsd-drivers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3C4D1065673 for ; Tue, 4 Nov 2008 23:35:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 670DE8FC17 for ; Tue, 4 Nov 2008 23:35:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA4NYMxP013585; Tue, 4 Nov 2008 16:34:22 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 04 Nov 2008 16:35:37 -0700 (MST) Message-Id: <20081104.163537.2040711491.imp@bsdimp.com> To: jdp@elvis.rowan.edu From: "M. Warner Losh" In-Reply-To: References: <20081104.110056.-1350515023.imp@bsdimp.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@FreeBSD.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 23:35:27 -0000 In message: Joe Pellegrino writes: : > Can you post a pointer to the article? : > : > Warner : > : > : : http://www.ietf.org/rfc/rfc3549.txt : : http://en.wikipedia.org/wiki/Netlink : : http://www.linuxjournal.com/article/7356 So this is the stuff that replaces routing sockets, eh? Warner From owner-freebsd-drivers@FreeBSD.ORG Wed Nov 5 02:38:43 2008 Return-Path: Delivered-To: freebsd-drivers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F9EB106564A for ; Wed, 5 Nov 2008 02:38:43 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (elvis.rowan.edu [150.250.64.69]) by mx1.freebsd.org (Postfix) with ESMTP id 1682C8FC0A for ; Wed, 5 Nov 2008 02:38:42 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (localhost [127.0.0.1]) by elvis.rowan.edu (8.13.8+Sun/8.13.8) with ESMTP id mA52caHb018020; Tue, 4 Nov 2008 21:38:36 -0500 (EST) Received: from localhost (jdp@localhost) by elvis.rowan.edu (8.13.8+Sun/8.13.8/Submit) with ESMTP id mA52cZhL018016; Tue, 4 Nov 2008 21:38:35 -0500 (EST) Date: Tue, 4 Nov 2008 21:38:35 -0500 (EST) From: Joe Pellegrino To: "M. Warner Losh" In-Reply-To: <20081104.163537.2040711491.imp@bsdimp.com> Message-ID: References: <20081104.110056.-1350515023.imp@bsdimp.com> <20081104.163537.2040711491.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-drivers@FreeBSD.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 02:38:43 -0000 On Tue, 4 Nov 2008, M. Warner Losh wrote: > In message: > Joe Pellegrino writes: > > So this is the stuff that replaces routing sockets, eh? > I am not really sure but it looks like it could. I got the impression from the article that they were using it to replace IOCTLs. ---jdp From owner-freebsd-drivers@FreeBSD.ORG Wed Nov 5 04:08:09 2008 Return-Path: Delivered-To: freebsd-drivers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A128B1065673 for ; Wed, 5 Nov 2008 04:08:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 495808FC24 for ; Wed, 5 Nov 2008 04:08:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA5468aE016712; Tue, 4 Nov 2008 21:06:08 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 04 Nov 2008 21:07:23 -0700 (MST) Message-Id: <20081104.210723.-202616185.imp@bsdimp.com> To: jdp@elvis.rowan.edu From: "M. Warner Losh" In-Reply-To: References: <20081104.163537.2040711491.imp@bsdimp.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@FreeBSD.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 04:08:09 -0000 In message: Joe Pellegrino writes: : On Tue, 4 Nov 2008, M. Warner Losh wrote: : : > In message: : > Joe Pellegrino writes: : > : > So this is the stuff that replaces routing sockets, eh? : > : : I am not really sure but it looks like it could. I got the impression from : the article that they were using it to replace IOCTLs. It is for a lot more than just that, since it does multicast, etc. Warner From owner-freebsd-drivers@FreeBSD.ORG Wed Nov 5 04:56:45 2008 Return-Path: Delivered-To: freebsd-drivers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D4C7106564A for ; Wed, 5 Nov 2008 04:56:45 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (elvis.rowan.edu [150.250.64.69]) by mx1.freebsd.org (Postfix) with ESMTP id 0689D8FC14 for ; Wed, 5 Nov 2008 04:56:44 +0000 (UTC) (envelope-from jdp@elvis.rowan.edu) Received: from elvis.rowan.edu (localhost [127.0.0.1]) by elvis.rowan.edu (8.13.8+Sun/8.13.8) with ESMTP id mA54uc3d019855; Tue, 4 Nov 2008 23:56:38 -0500 (EST) Received: from localhost (jdp@localhost) by elvis.rowan.edu (8.13.8+Sun/8.13.8/Submit) with ESMTP id mA54ucrq019851; Tue, 4 Nov 2008 23:56:38 -0500 (EST) Date: Tue, 4 Nov 2008 23:56:38 -0500 (EST) From: Joe Pellegrino To: "M. Warner Losh" In-Reply-To: <20081104.210723.-202616185.imp@bsdimp.com> Message-ID: References: <20081104.163537.2040711491.imp@bsdimp.com> <20081104.210723.-202616185.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-drivers@FreeBSD.org Subject: Re: Basic Driver Development Questions. X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 04:56:45 -0000 So again the question is what would be the parallel in FreeBSD? An IPC component where I can register a handler on both sides, ect... ---jdp On Tue, 4 Nov 2008, M. Warner Losh wrote: > In message: > Joe Pellegrino writes: > : On Tue, 4 Nov 2008, M. Warner Losh wrote: > : > : > In message: > : > Joe Pellegrino writes: > : > > : > So this is the stuff that replaces routing sockets, eh? > : > > : > : I am not really sure but it looks like it could. I got the impression from > : the article that they were using it to replace IOCTLs. > > It is for a lot more than just that, since it does multicast, etc. > > Warner > From owner-freebsd-drivers@FreeBSD.ORG Wed Nov 5 23:06:40 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EC8D1065686; Wed, 5 Nov 2008 23:06:40 +0000 (UTC) (envelope-from jasonh@borisch.com) Received: from mail.borisch.com (mx1.borisch.com [209.255.13.26]) by mx1.freebsd.org (Postfix) with ESMTP id 02E528FC17; Wed, 5 Nov 2008 23:06:39 +0000 (UTC) (envelope-from jasonh@borisch.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from 192.168.200.7 ([192.168.200.7]) by exchange2k3.exchange.borisch.com ([192.168.0.232]) with Microsoft Exchange Server HTTP-DAV ; Wed, 5 Nov 2008 22:54:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook Web Access 6.5.7651.60 X-MimeCtl: Produced By Microsoft Exchange V6.5.7651.60 Content-class: urn:content-classes:message X-Mailer: Microsoft Outlook Web Access 6.5.7651.60 X-MimeCtl: Produced By Microsoft Exchange V6.5.7651.60 Date: Wed, 5 Nov 2008 17:54:34 -0500 Message-ID: <6AB9DD44-C91B-4F0D-8F5C-168C57D44911@mimectl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ath driver (Linksys WMP110 RangePlus) ar5416 thread-index: Ack/mXjL9OqrXpvCTuOxqBYPTTHW9Q== From: "Jason J. Hellenthal" To: , Cc: Subject: ath driver (Linksys WMP110 RangePlus) ar5416 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 23:06:40 -0000 Anyone know if the Linksys WMP110 RangePlus support will be added to = 7-stable. I would rather use a native driver for this card for more = features but the ndis driver seems to be working great for a couple of = weeks now with no flaw. =20 This is what the device reports in pciconf. ndis0@pci0:1:8:0: class=3D0x028000 card=3D0x00721737 chip=3D0x0023168c = rev=3D0x01 hdr=3D0x00 vendor =3D 'Atheros Communications Inc.' device =3D 'AR5008 Wireless Network Adapter' I have tried the ath module and it never picked up the card and I don't = have to much time to modify or look into this any more than I already = have. =20 The driver name from under windows is ar5416.sys. [from Linksys support = on cd/disc] =20 If additional information or resources is needed I will be more than = willing to provide whatever needed. =20 Thanks in advance... =20 -- J. Hellenthal (892) Aerospace Special Operations Support Borisch Manufacturing Corporation =20 http://www.Borisch.com/ jasonh@Borisch.com = =20 "... as we enjoy great advantages from the inventions of others, we = should be glad of an opportunity to serve others by any invention of = ours; and this we should do freely and generously." -- Benjamin Franklin =20 P Only print if necessary =20