Re: Using this driver in PLX mode?


From: Caz Yokoyama (caz_at_caztech.com)
Date: 2002-01-03 16:51:08 UTC



I started to modify your 2001-11-10 code for plx by refering orinoco_plx code, but have not succeeded yet. My code is located in my cvs repository. Here is the downloading procedure and compile log. As I wrote in readme in Prism2Plx/prism2, there are several unresolved symbols.
-caz

export CVSROOT=:pserver:anonymous_at_ftp.caztech.com:/var/cvs cvs login
(Logging in to anonymous_at_ftp.caztech.com)

CVS password:                    <- type welcome
cd SomewhereYouWantToExpand

caz_at_nyx:~/tmp$ cvs checkout Prism2Ap cvs server: Updating Prism2Ap
U Prism2Ap/COPYING
U Prism2Ap/ChangeLog
U Prism2Ap/README
U Prism2Ap/README.prism2
U Prism2Ap/prism2-0.0.0.tar.gz
U Prism2Ap/prism2.mk

cvs server: Updating Prism2Ap/Prism2Plx
cvs server: Updating Prism2Ap/Prism2Plx/plx
U Prism2Ap/Prism2Plx/plx/Makefile
U Prism2Ap/Prism2Plx/plx/hermes_plx.h
U Prism2Ap/Prism2Plx/plx/prism2_plx.c
U Prism2Ap/Prism2Plx/plx/prism2_plx.h

cvs server: Updating Prism2Ap/Prism2Plx/prism2
U Prism2Ap/Prism2Plx/prism2/Makefile
U Prism2Ap/Prism2Plx/prism2/prism2.c
U Prism2Ap/Prism2Plx/prism2/prism2_ap.c
U Prism2Ap/Prism2Plx/prism2/prism2_ap.h
U Prism2Ap/Prism2Plx/prism2/prism2_wlan.h
U Prism2Ap/Prism2Plx/prism2/readme

cvs server: Updating Prism2Ap/etc
U Prism2Ap/etc/prism2.conf
cvs server: Updating Prism2Ap/kernel-tree U Prism2Ap/kernel-tree/Makefile
U Prism2Ap/kernel-tree/README.kernel-tree cvs server: Updating Prism2Ap/modules
U Prism2Ap/modules/prism2.c
U Prism2Ap/modules/prism2_ap.c
U Prism2Ap/modules/prism2_ap.h
U Prism2Ap/modules/prism2_wlan.h

cvs server: Updating Prism2Ap/sniff
U Prism2Ap/sniff/Makefile
U Prism2Ap/sniff/README
U Prism2Ap/sniff/ieee80211.h
U Prism2Ap/sniff/management.c
U Prism2Ap/sniff/prism2ethereal.c
U Prism2Ap/sniff/wlansniff.c

caz_at_nyx:~/tmp$ cd Prism2Ap/
caz_at_nyx:~/tmp/Prism2Ap$ ls
COPYING  ChangeLog  README         etc          modules              prism2.mk
CVS      Prism2Plx  README.prism2  kernel-tree  prism2-0.0.0.tar.gz  sniff
caz_at_nyx:~/tmp/Prism2Ap$ cd Prism2Plx/
caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx$ ls
CVS plx prism2
caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx$ cd prism2/ caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx/prism2$ make gcc -O2 -Wall -Wstrict-prototypes -pipe -I/usr/src/linux-2.4.16/include -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -c prism2.c
prism2.c: In function `prism2_proc_get_hermes_recs':
prism2.c:4162: warning: control reaches end of non-void function
prism2.c: In function `prism2_proc_get_hermes_regs':
prism2.c:4168: warning: control reaches end of non-void function
caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx/prism2$ 
caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx/prism2$ 
caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx/prism2$ cd .. caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx$ ls
CVS plx prism2
caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx$ cd plx caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx/plx$ ls CVS Makefile hermes_plx.h prism2_plx.c prism2_plx.h caz_at_nyx:~/tmp/Prism2Ap/Prism2Plx/plx$ make gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -I/usr/src/linux-2.4.16/include -D__KERNEL__ -DMODULE -c prism2_plx.c

Jouni Malinen writes:
> On Thu, Jan 03, 2002 at 11:21:47AM -0500, Amit Green wrote:
>
> > Has anyone modified this driver to work with a PCI card with
> > a PLX9502 interface
>
> At least I haven't heard of anyone getting this completed yet. I know
> that there is some work being done for PCI resource allocation, but
> not necessacily for PLX.
>
> I would probably start from orinoco_plx. However, I do not happen to
> have any PLX cards, so I'm not that interested on this yet. Anyway,
> clean patch to make this work (or a PLX card ;-) would be welcome.
>
> --
> Jouni Malinen PGP id EFC895FA
>



This archive was generated by hypermail 2.1.4.