Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2002 18:00:28 -0400
From:      David Gilbert <dgilbert@velocet.ca>
To:        Neal Nelson <neal@nelson.name>
Cc:        freebsd-hackers@freebsd.org
Subject:   [hackers] Writing a PCI ADSL Driver
Message-ID:  <15776.45692.149994.514416@canoe.velocet.net>
In-Reply-To: <20021006011546.GA322@thinkpad>
References:  <20021006011546.GA322@thinkpad>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Neal" == Neal Nelson <neal@nelson.name> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15776.45692.149994.514416>