From owner-freebsd-hackers Sun Oct 6 15: 0:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCD5237B401 for ; Sun, 6 Oct 2002 15:00:42 -0700 (PDT) Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02B8C43E86 for ; Sun, 6 Oct 2002 15:00:33 -0700 (PDT) (envelope-from dgilbert@velocet.ca) Received: from trooper.velocet.ca (trooper.velocet.net [216.138.242.2]) by sabre.velocet.net (Postfix) with ESMTP id D5C98137F3A; Sun, 6 Oct 2002 18:00:32 -0400 (EDT) Received: by trooper.velocet.ca (Postfix, from userid 66) id 9C789745B2; Sun, 6 Oct 2002 18:00:32 -0400 (EDT) Received: by canoe.velocet.net (Postfix, from userid 101) id A1F26567606; Sun, 6 Oct 2002 18:00:28 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15776.45692.149994.514416@canoe.velocet.net> Date: Sun, 6 Oct 2002 18:00:28 -0400 To: Neal Nelson Cc: freebsd-hackers@freebsd.org Subject: [hackers] Writing a PCI ADSL Driver In-Reply-To: <20021006011546.GA322@thinkpad> References: <20021006011546.GA322@thinkpad> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Neal" == Neal Nelson writes: Neal> Hi there. I'm thinking of writing a device driver for a Neal> Traverse Pulsar PCI ADSL card and I was looking for some ideas Neal> before I committed myself. I've been offered hardware and Neal> support by the makers (http://www.traverse.com.au/) but I want Neal> to make sure that I can actually do the job before accepting. Neal> I was wondering what kind of device driver I would need to Neal> create. I use ADSL at home but I only know how to use it, I Neal> don't know how it really works. Would I be able to create a Neal> character device and just pretend it was a modem or would I need Neal> to create a network device so that it can talk PPPoE over it? My Neal> main concern is how to get ppp to talk to the device. Neal> Hopefully I'll be able to get hold of the Linux driver soon and Neal> see how that does things but I want to be very careful about the Neal> licensing issues, so that I can make the driver available under Neal> the normal BSD license. I'll have to see what the makers say Neal> about that first though. Neal> Any advice would be gratefully accepted. I would expect that the most sensible "class" for the driver would be somewhat like an ethernet device. Most commonly they're used with PPPoE or bridged ethernet. This may irk some ... the underlying implementation is almost always ATM, but they try very hard to behave like ethernet devices. One of the common internal ADSL cards that we sell (we're an ISP) probes in FreeBSD as an sis0 (or somesuch... I forget just what driver it is). I can't convince the interface to come up, but there is an ethernet controller chip common to other ethernet cards on the ADSL card. Of course, YMMV. Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message