Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2000 22:14:59 +0900 (JST)
From:      Atsushi Onoe <onoe@sm.sony.co.jp>
To:        rwatson@FreeBSD.org
Cc:        freebsd-mobile@FreeBSD.org
Subject:   Re: if_awi problems
Message-ID:  <200005081314.WAA02174@duplo.sm.sony.co.jp>
In-Reply-To: Your message of "Tue, 2 May 2000 21:55:39 -0400 (EDT)" <Pine.NEB.3.96L.1000502215328.19996P-120000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1000502215328.19996P-120000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> I recently decided to give my BayStack 650 FH cards a spin, as I hadn't
> used them since DC IETF and I saw if_awi had been committed to the 5.x
> source tree.  However, I've discovered that one of the two cards fails to
> perform resource allocation -- the other works fine.  In the past, I've
> used both successfully with PAO, and was wondering if anyone had any
> suggestions.  Two debugging emails I sent Warner earlier are attached.

| unknown7: <ESS1681> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1 on isa0

| ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 3 slot 0 on pccard0
| ep0: Ethernet address 00:a0:24:60:47:ec
| ep0: supplying EUI64: 00:a0:24:ff:fe:60:47:ec
| awi0: <PCnetMobile:v1.50 102097 API001> at port 0x300-0x30f irq 5 slot 1 on pccard1
| awi0: awi_pccard_attach: irq alloc failed
| device_probe_and_attach: awi0 attach returned 6

Since there is a sound device which uses IRQ 5, you must tell pccardd
not to assign IRQ 5 for pccard.

I guess you got the following output without inserting Etherlink cards.

| pccard: card inserted, slot 1
| awi0: <PCnetMobile:v1.50 102097 API001> at port 0x300-0x30f irq 3 slot 1
on pccard1
| awi0: failed to complete selftest (lost interrupt)
| awi0: awi_pccard_attach: awi_attach failed
| device_probe_and_attach: awi0 attach returned 35

I'm not sure why awi driver cannot get interrupt correctly while ep0 driver
seems to work with IRQ 3 by previous message.
Perhaps re-inserting the card could cause the different result.

> Also, anyone know anything about getting them working in adhoc mode
> instead of infrastructure mode?  I tried to get programmers documentation
> out of Bay Networks for litterally weeks on end, and never got anywhere.

Hmm... adhoc mode is not fully implemented in the awi driver.

If there are Windows version of BayStack client, you can communicate
by changing the value for
	sc->sc_mib_local.Network_Mode
in sys/dev/awi/awi.c:awi_init_mibs() from 1 to 0.
(there are no configuration utility for awi driver yet..)

If you want use two BayStack cards both with awi driver, you can use
"no_bssid" mode by assigning sc->sc_no_bssid to 1 in the same function.
Note that this mode is compatible for 'adhoc' mode of WaveLAN/IEEE (if_wi).

Atsushi Onoe


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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