[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: device driver for S5933
Jimmy,
Try
http://users.iol.it/acisternino/dev/driver.html
Near the bottom of the page are links to descriptions
for register-mapped and memory-mapped drivers,
and a link to download a tgz (30 KB) of the source.
I've not tried it, but google pointed it out as
the top hit in its relevancy list. It downloads
OK, but the most recent file is dated 1 Oct 1997,
and the notes indicate that was written for the
2.0.x kernel series. There are a few differences
in the kernel interface between the 2.0.x and 2.2.x
production kernels, but it shouldn't be too
difficult to change, if you intend to
use the driver on Linux.
If you don't intend to use it with Linux, you should
be aware that the code is GPL-licensed, so you
should be careful if you use this in an embedded
product, or directly linked or the source included
in a closed-source commercial product. Doing
so will expose you to shipping the source code
to your embedded or linked product, to be compliant
with the GPL.
The safe alternative is to make a loadable module
(using whatever facilites you have for your target
OS) for the driver, rather than directly compiling and
linking the code into a derivative work or your
application. This way, you will only need to ship
the source to the driver and any modifications you
made to its source files, to get it to run in your
environment. In any event, read the Copying
file in the tar.gz file before proceeding to use
the code. It contains the GPL license.
I noticed that the driver doesn't contain any IOCTL
calls to manipulate the EEPROM that you may have
attached to the chip. It would be useful to have
poke()-like calls so you can change values in
the EEPROM, like Vendor and Device ID that are loaded
into the 5933 registers at start-up.
The only 5933 driver stuff I found in the current
Linux sources are in /usr/src/linux/drivers/isdn/avmb1/t1pci.c
(check your local friendly recently installed Linux system 8-).
This is an ISDN driver for the AVM T1 link card, and
the port/mini-port (PCI/5933) and class/mini-class
(ISDN/AVM T1) stuff is all jumbled into this file,
so you would have to do some extraction work to get
a 'pure' 5933 mini-port driver out of the source.
It, of course, is also GPL-licensed, so the same issues
as above apply.
Hope this helps,
-- DaveN
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=
Dave New, NewD@elcsci.com | Machine vision?
ESI Vision Products Division | At least *they* can see the future...
3980 Ranchero Drive |
Ann Arbor, MI 48108 | Opinions expressed are mine. | PGP
2.6
(734) 332-7010 VOX | 08 12 9F AF 5B 3E B2 9B 6F DC 66 5A 41 0B AB
29
(734) 332-7077 FAX
-----Original Message-----
From: Jim Chan [mailto:tan264@hotmail.com]
Sent: Friday, September 15, 2000 1:09 AM
To: pci-sig@znyx.com
Subject: device driver for S5933
Hi guys
Does any of you got a hold of AMCC's S5933 device driver?? I tried to search
for it on the net. I found a few website regarding Linux device driver for
S5933, but couln't get acces to it. The servers are always down.
Regards
Jimmy
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.