thorpej
387fc6dc87
Use CFATTACH_DECL().
2002-09-30 20:37:04 +00:00
augustss
fc12d83285
Put some ifdefs around USB_USE_SOFTINTR stuff. From FreeBSD.
2002-09-30 16:36:19 +00:00
onoe
9fadcea372
old lucent adhoc-demo mode (adhoc,flag0 or wiconfig -p 3) wasn't handled
...
correctly. To avoid massive extra code in each driver, now if_iee80211subr.c
also handles non-standard old lucent adhoc-demo mode.
This also fixes PR 14227.
2002-09-30 15:48:41 +00:00
onoe
efe919010c
Jumbo commit for wi driver.
...
- Eliminate wi_hostap.c since most of the code are duplicated with
net/if_ieee80211subr.c
- Station for Infrastructure network and IBSS also use service functions
as much as possible to be consistent with other wireless drivers.
Now WEP works for station/ibss/hostap.
2002-09-30 06:50:35 +00:00
onoe
45667e55b9
re-enable IBSS creation.
2002-09-30 06:38:10 +00:00
onoe
2f8340c369
Nuke unneeded member sc_ifp and use #define sc_if instead,
...
to prepare jumbo commit for wi.c
2002-09-30 06:29:29 +00:00
wiz
b1c7ac0e6d
"definitions" has lots of 'i's, but that's not reason to leave one out.
2002-09-29 23:23:56 +00:00
augustss
9c8c3183df
Regen.
2002-09-29 21:20:39 +00:00
augustss
434abd832d
Add #ifdef USB_USE_SOFTINTR for some softintr code. From FreeBSD.
2002-09-29 21:13:01 +00:00
augustss
9dd94a1878
Remove extra call to ohci_rem_ed(). From kern/18448, Takeshi Nakayama.
2002-09-29 20:59:30 +00:00
augustss
25ff7d8c33
Add some spl calls to protect critical regions. From kern/18440,
...
Takeshi Nakayama.
2002-09-29 20:58:25 +00:00
augustss
2505336106
Add a Netgear adapter. From OpenBSD.
2002-09-29 19:55:52 +00:00
tsutsui
c90eeb8f06
Call mb86960_attach() with MB86960_TYPE_86965 since
...
all FMV-18x have MB86964 or MB86965A, not MB86960,
2002-09-29 17:15:59 +00:00
tsutsui
f84a0fccc0
Fix chip identification bit definitions in DLC7 register,
...
from Christian Groessler on port-dreamcast.
2002-09-29 17:10:37 +00:00
martin
a531f18275
Plug memory leak. From OpenBSD via PR kern/18457.
2002-09-29 10:19:21 +00:00
thorpej
0720e04052
Remove a debugging printf.
2002-09-28 19:07:43 +00:00
tsutsui
a5638d54a0
Remove unused code in #if NetBSD <= 199712 part.
2002-09-28 18:55:19 +00:00
tsutsui
a05eb615fe
Rename if_fereg.h -> if_fmvreg.h since now it has only
...
FMV-18x specific definitions.
2002-09-28 18:43:08 +00:00
tsutsui
065fc336c2
Move AT1700/RE2000 EEPROM definitions from isa/if_fereg.h to ic/ate_subr.h.
...
XXX Maybe all stuff in ate_subr.* should be merged into ic/mb86960*.[ch].
2002-09-28 18:19:08 +00:00
tsutsui
4dc734d128
Remove unused FE_VERSION.
2002-09-28 18:02:21 +00:00
tsutsui
073f0d7f8f
Remove unused FE_MB86960_H_VERSION.
2002-09-28 17:52:59 +00:00
tsutsui
d73bf82699
Remove unused FE_VERSION and FE_REG_VERSION.
2002-09-28 17:22:49 +00:00
tsutsui
43367243b6
Remove unused code in #if NetBSD <= 199712 part.
2002-09-28 17:18:28 +00:00
tsutsui
a531ef1f17
Remove MBH10302 register definitions, which is also defined
...
in dev/ic/mb86960reg.h.
2002-09-28 17:09:20 +00:00
scw
b9ca9c375c
Before declaring pci_conf_interrupt(), check to see if it's
...
already defined as a CPP macro, which is the case for SH5 at least.
2002-09-28 10:31:02 +00:00
scw
cbc5db835b
Try a little harder to work around the "Isolated After Reset" lossage.
2002-09-28 10:27:21 +00:00
scw
ee37eef012
Add smc91cxx_copy_tx_frame(), based on the version in cs89x0.c, to deal
...
with misaligned mbufs.
2002-09-28 10:24:46 +00:00
thorpej
3c31492a4f
Increase the timeout in wi_cmd(). Fixes reports of "busy didn't
...
clear". From David Young <dyoung@ojctech.com>.
2002-09-27 21:54:17 +00:00
thorpej
bf97c13c6c
Declare all cfattach structures const.
2002-09-27 20:41:46 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
drochner
0766f7d128
Remove a check whether the drive is initialized before crashdump.
...
It prevents dumping on an otherwise unused disk and seems
unnecessary anyway - the driver will deal with initialization.
fixes my PR kern/18135
2002-09-27 17:17:53 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
itojun
1eb6ef2a80
don't go into D3 state if revision <= 82558_B0. PR 18011
2002-09-27 14:54:08 +00:00
thorpej
98f020f181
Fix a latent bug uncovered by the new autoconfiguration code: make
...
sure the "ofbus" device carries the "ofbus" interface attribute.
This is the other part of the fix for PR #18433 .
2002-09-27 06:23:09 +00:00
onoe
30d884d47c
Add support for SIOC[SG]80211BSSID, SIOC[SG]80211CHANNEL.
...
Change the name of structure ieee80211_bss to ieee80211_node, which is
used for management of stations in hostap mode, and peers in ibss mode.
Split off ic_opmode, ic_phytype from ic_flags.
Preparation to merge 'wi' driver into 80211subr.c.
2002-09-27 05:36:04 +00:00
thorpej
d7067078a4
Compare the driver name against "ledma", rather than looking for
...
&ledma_ca.
2002-09-27 05:07:09 +00:00
thorpej
6c88de3b53
Introduce a new routine, config_match(), which invokes the
...
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2
Rather than referencing the cfdriver directly in the cfdata entries,
...
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
martin
e6c17aca91
If we wi_stop the card in wi_shutdown, better do that before the frontend
...
removes power from the pcmcia slot (inside the sc_disable hook).
2002-09-26 23:55:43 +00:00
martin
67bd51c724
Set error = 0 (instead of EINVAL) when it is later tested against != 0.
...
This allows using wiconfig while the interface is not (yet) marked IFF_UP
again.
2002-09-26 23:47:57 +00:00
martin
aba5b183cd
In wi_shutdown only call wi_stop if sc_enabled is set (don't try to send
...
commands to a card that is not powered up - it will always fail)
2002-09-26 22:51:30 +00:00
thorpej
e40e3c96cf
G/c extern reference to ioasic_cd.
2002-09-26 20:37:42 +00:00
thorpej
69de06f36a
No need to make sure parent's cfdriver == &ioasic_cd.
2002-09-26 18:30:54 +00:00
onoe
e8bc592172
Oops. forgot to delete old line in previous commit:
...
| Changed the name for resource id 0xfd45 to match the reality.
| WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:58:44 +00:00
onoe
55ef0eb8b9
Changed the name for resource id 0xfd45 to match the reality.
...
WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:52:44 +00:00
ad
989a076f27
Update for dzattach() change.
2002-09-26 05:54:07 +00:00
thorpej
71404bb533
Don't include <sys/map.h>.
2002-09-25 22:21:01 +00:00
reinoud
360e94d0c9
Fix some small unclear documentation and cleanup a bit...
2002-09-25 14:21:07 +00:00
mycroft
5031fe3837
Update copyright.
2002-09-25 06:23:29 +00:00
mycroft
04f09a4b0c
Additional fixes to make 16 targets work on FAS366.
2002-09-25 05:19:20 +00:00