[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Support of SPARC arch planned ?



Hello,

[this email is send to two mailing lists, as I think both can help. And, yes, I
read both, so no need to CC to me]

I have just buy a wireless "starter-kit" from USR which contain two PCMCIA card
an a PCI adapter for one of the PCMCIA card.

OK, I'm new to wireless (this is my first installation). After some surf on the
web, it seems I have at least two possibility for this "PCI-version" :

- use the orinoco_plx driver
- use the prism2_plx driver from linux-wlan-ng.

Now, the "good" part ;-) :

I want to install the "PCI-version" on an SPARC Ultra 10 running Debian. :-)

The first try of orinoco_plx cause problems with the kernel, so I downloaded
the linux-wlan-ng-0.1.16-pre5 version. Unfortunalty, the __sparc__ CPU is not
supported. :-(

I have try to add some code in src/include/wlan/wlan_compat.h, and after some
"hack" for compiling (use sparc64-linux-gcc, use ld with the correct flags,
...), I have now a module prism2_plx. Cool. :-)

But, it don't work (I think it's normal, my the modification of the
wlan_compat.h seems too simple : just add some new #define ...SPARC... x)

Now, when I load the module I have in the logs (really close to the test with orinoco_plx) :
Nov  6 01:46:43 cool kernel: init_module: prism2_plx.o: 0.1.16-pre5 Loaded
Nov  6 01:46:43 cool kernel: init_module: dev_info is: prism2_plx
Nov  6 01:46:43 cool kernel: A PLX PCI/PCMCIA interface device found, phymem:0x1ff00008000, phyio=0x1fe02000480, irq:6747200, mem: 0x1ff00008000
Nov  6 01:46:43 cool kernel:               \|/ ____ \|/
Nov  6 01:46:43 cool kernel:               "@'/ .. \`@"
Nov  6 01:46:43 cool kernel:               /_| \__/ |_\
Nov  6 01:46:43 cool kernel:                  \__U_/
Nov  6 01:46:43 cool kernel: modprobe(3002): Oops
Nov  6 01:46:43 cool kernel: TSTATE: 0000004411009600 TPC: 000000000206a900 TNPC: 000000000206a904 Y: 00000000    Not tainted
Nov  6 01:46:43 cool kernel: g0: fffff800107eef18 g1: 0000000000000001 g2: 0000000000000000 g3: 0000000000000000
Nov  6 01:46:43 cool kernel: g4: fffff80000000000 g5: 0000000000000000 g6: fffff80011b90000 g7: 0000000000000000
Nov  6 01:46:43 cool kernel: o0: 0000000000000077 o1: 00000000006b5f5f o2: 0000000000000000 o3: 00000000005db400
Nov  6 01:46:43 cool kernel: o4: 000001ff00008000 o5: 0000000000000000 sp: fffff80011b93261 ret_pc: 000000000206a8f8
Nov  6 01:46:43 cool kernel: l0: 000001ff00008000 l1: 000001ff00008000 l2: fffff8001061b000 l3: 0000000000000000
Nov  6 01:46:43 cool kernel: l4: 0000000000000000 l5: 0000000000000004 l6: 0000000000000000 l7: 0000000000000008
Nov  6 01:46:43 cool kernel: i0: 000001fe02000480 i1: 000000000207c960 i2: 000000000206a820 i3: fffff8001061b000
Nov  6 01:46:43 cool kernel: i4: 0000000000000000 i5: ffffffffffffffff i6: fffff80011b93321 i7: 000000000051fc80
Nov  6 01:46:43 cool kernel: Caller[000000000051fc80]
Nov  6 01:46:43 cool kernel: Caller[000000000051fd2c]
Nov  6 01:46:43 cool kernel: Caller[000000000206ad60]
Nov  6 01:46:43 cool kernel: Caller[000000000044916c]
Nov  6 01:46:43 cool kernel: Caller[0000000000410af4]
Nov  6 01:46:43 cool kernel: Caller[0000000000026a5c]
Nov  6 01:46:43 cool kernel: Instruction DUMP: 94100018  7f8f75aa  98100011 <d20c4000> 80a26001  22400009  d00c6002  110081e7  130081e7 

And the lsmod give me :

prism2_plx             90312 (initializing)
p80211                 22144   0 [prism2_plx]
...

I'm ready to check/compile/test anything, as I really want to have it working
on the SPARC system. So, if someone can help me, I will be very happy.

Another information who can be usefull: 

cool:~ 123% /sbin/lspci -vv -s 02:03.0
02:03.0 Network controller: Unknown device 16ec:3685 (rev 02)
Subsystem: Unknown device 1638:00e2
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 6747200
Region 1: I/O ports at 2000400 [size=128]
Region 2: Memory at 000001ff00008000 (32-bit, non-prefetchable) [size=4K]
Region 3: I/O ports at 2000480 [size=64]

Thanks in advance for any help.

		Olivier
-- 
Olivier Bornet                 |      français : http://puck.ch/f
Swiss Ice Hockey Results       |      english  : http://puck.ch/e
http://puck.ch/                |      deutsch  : http://puck.ch/g
Olivier.Bornet@puck.ch         |      italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://wwwkeys.pgp.net

Attachment: pgp3wSVEphPSO.pgp
Description: PGP signature


Reply to: