Commit Graph

957 Commits

Author SHA1 Message Date
thorpej
2ecdd552dc Add the notion of "shadow registers" to the wdc driver. These shadow
registers are registers that overlap with others on many controllers, but
which may actually be distinct on some controllers.  Right now, the two
shadows are:

- wd_status (usually overlaps wd_command)
- wd_features (usually overlaps wd_error)

Add a new helper function, wdc_init_shadow_regs(), used to initialize
the shadow register handles on controllers where they do actually overlap.

Partially from Jordan Rhody @ Wasabi Systems, Inc.
2004-05-25 20:42:40 +00:00
is
c72c5843a8 My incarnation of the RPTI 400 card tells 0:0:0:0:0:0 when using the ASIC
to read the Ethernet address. However, as other OS's drivers suggest,
something which looks right is at offset 0x110.
2004-05-25 11:51:11 +00:00
itojun
0221ce62d1 make it compile (printf # of arg mismatch) 2004-04-25 19:38:27 +00:00
cube
d902fa87b0 Add a third possible vendor code for the D-Link DFE670-TXD. While there,
make the `unmatched vendor code' error message slightly more verbose to
make things easier next time this kind of issue arises.

Reported and tested by Pierre-Philipp Braun.
2004-04-25 12:20:54 +00:00
cube
cd4928d8c7 The D-Link DFE-670TXD can appear with two different vendor IDs for the MAC
address.  The two IDs belong to D-Link.  Therefore, add a duplicate entry
with a matching vendor ID.

Reported and tested by syn at sceen dot net.
2004-03-13 15:09:16 +00:00
wiz
f5b32c1e69 RealTek -> Realtek. 2004-02-13 10:00:54 +00:00
uwe
3868e01b8d Recognize TAMARACK Ethernet Card.
From PR: 12273 and Mathias Menzel-Nielsen (matze matzsoft de).
2004-02-01 12:41:25 +00:00
uwe
91719cb6e4 Regen for TAMARAC Ethernet card. 2004-02-01 12:38:24 +00:00
uwe
357b0e291a Add CIS for TAMARACK Ethernet Card (another ne2000 clone).
From PR: 12273 and Mathias Menzel-Nielsen (matze matzsoft de).

While here, sort some stray entries alphabetically.
2004-02-01 12:35:59 +00:00
onoe
c65191a490 Adopt to new 802.11 framework.
Add support of version 5.30.17 firmware of PCMCIA 350 series.
MPI350 mini-PCI is NOT YET supported.
MONITOR mode is still not yet working.
2004-01-28 15:07:52 +00:00
sekiya
cf0433d2c7 Regen. 2004-01-25 02:43:38 +00:00
sekiya
86f0a26bce Add definition for IO-DATA WCF12 wireless CF card and allow the wi driver to
match it.  Definition originally from FreeBSD by way of Steve Rumble.
2004-01-25 02:42:49 +00:00
martin
d30d9b04d0 Attach message formating nit, adapt to recent pcic (et al) changes. 2004-01-04 12:41:46 +00:00
thorpej
a963286f8d More wdc_channel structure member namespace cleanup:
- channel -> ch_channel
- wdc -> ch_wdc
2004-01-03 22:56:52 +00:00
thorpej
5bd80d8373 Rename "struct channel_softc" to "struct wdc_channel". 2004-01-03 01:50:52 +00:00
thorpej
527c829fa0 Rename:
- wdc_xfer to ata_xfer
- channel_queue to ata_queue
and move them to <dev/ata/atavar.h> so they can be used by non-wdc ATA
controllers.  Clean up the member names of these structures while at it.
2004-01-01 17:18:53 +00:00
itohy
148136c88f Add support for RATOC REX-9530.
Not fully tested, though.
2003-12-28 06:50:42 +00:00
itohy
a4a5409e3a Regen from pcmciadevs rev 1.191. 2003-12-28 06:47:23 +00:00
itohy
10e7771b7d - RATOC System Inc. uses the same product ID for many different cards,
so do not define product ID for REX-R280.  Use CIS instead.
- Add definition for REX-9530 and REX-CFU1.
- White space police.
2003-12-28 06:46:23 +00:00
christos
de8661ee74 Don't print an empty "wi0:\n" line. Join a couple of lines. 2003-12-27 23:57:24 +00:00
nonaka
916ad8c80e Added corega WLCFL-11 entry. 2003-12-25 17:34:09 +00:00
nonaka
0198828c00 regen. 2003-12-25 17:33:22 +00:00
nonaka
eb9d2e0742 Added "corega WLCFL-11" CF size wireless LAN card. 2003-12-25 17:32:54 +00:00
jmc
43bf89bfc6 Fixes from PR#23177. Various lint/logic fixes:
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing

Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
ichiro
d0ab1c6564 regen. 2003-12-07 10:37:28 +00:00
ichiro
21b20ac54f add bluetooth products
Anycom BlueCard LSE041 R1B
Anycom Bluetooth CF Card LSE039
2003-12-07 10:37:11 +00:00
dyoung
609617af90 Enable RSSI-based rate-adaptation for wi(4). This enables wi(4)-based
APs to run at "full speed" where before they ran at just 1 or 2Mb/s.
The AP will adapt the data rate for each client based on packet
losses and the received signal strength.

I have also enabled rate adaptation for STA mode and for IBSS mode,
but the hardware gives us less control over the data rate in those
modes.
2003-12-07 05:44:49 +00:00
keihan
b8702f530b netbsd.org -> NetBSD.org
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean".  Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
fvdl
6242a54566 There are some cards that map the ATA control and IDE DMA registers
in a different fashion. Individually, they have the same functionality,
but their layout is different. An example of such a chipset is
the Promise 203xx.

To be able to deal with this, transform the cmd and dma bus_space handles
into an array of handles, each seperately created with bus_space_subregion.
The code generated by using the extra indirection shouldn't change much,
since the extra indirection is negated by having the offset calculation
already done in bus_space_subregion. E.g.

	bus_space_write_4(tag, handle, offset, value)

becomes

	bus_space_write_4(tag, handles[offset], 0, value)

Reviewed by Manuel Bouyer. Tested on wdc_isa, wdc_pcmcia, viaide, piixide (i386)
and on cmdide (sparc64).
2003-11-27 23:02:40 +00:00
dyoung
23d8f48692 Add data-link type DLT_IEEE802_11_RADIO to wi and atw. DLT_IEEE802_11_RADIO
lets you monitor radio stats like received signal strength, which
diversity antenna was used, channel/frequency, modulation, and data
rate.
2003-11-16 09:02:42 +00:00
wiz
34eb26eec2 Update URL; s/Linix/Linux/. From Jared Yanovich, forwarded by jmc@openbsd. 2003-11-10 08:55:41 +00:00
wiz
afc14a7c01 regen, so "generated from" line is correct. 2003-11-07 16:00:49 +00:00
hamajima
0086268dc3 support Corega Ether PCC-TL -- from Yasushi Oshima 2003-11-07 15:58:57 +00:00
wiz
dfb3c51536 Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:14:22 +00:00
dyoung
82097fd078 Fix PCMCIA attach messages for wi(4). Tested by Greg Troxel. 2003-11-02 03:31:29 +00:00
mycroft
9013c2cac4 Eliminate bogus initializer.
We shouldn't be adding the time stamp to the entropy pool if the interrupt
wasn't for us.
2003-10-28 23:26:28 +00:00
mycroft
af9bc6becf Eliminate bogus initializer. 2003-10-28 23:16:50 +00:00
pooka
aa476f1628 Avoid splx() with uninitialized priority level by duplicating some code
to get rid of gotos.

While doing that, add more verbosity on what failed if attach is not succesful.
2003-10-28 17:35:30 +00:00
chs
3b6d3c710c uninitialized variables 2003-10-27 07:07:34 +00:00
christos
e71ca6c8f4 Initialize variables sooner, and remove variable that was only used
uninitialized in a debugging printf.
2003-10-25 21:30:03 +00:00
christos
125ccd91b1 Fix uninitialized variable warnings 2003-10-25 18:29:12 +00:00
briggs
8cfe8cd526 After discussion between mycroft and enami, restore the WDC_PCMCIA_ATTACH
flag and use it to avoid an extra power cycle during the probe process.
2003-10-23 03:56:36 +00:00
uwe
6a7a7e91e7 Add missing newline at the end of an error message. 2003-10-23 00:22:55 +00:00
briggs
0fd0bfe35a enami noted that my last fix was not correct. Simplify the code some (and
make it more correct) by removing a flag to track wdc attachment.  Disable
the function after wdcattach() is called, and remove a conditional when
enabling the function in wdc_pcmcia_enable().
2003-10-22 15:03:04 +00:00
mjl
e959b27d7f Typo in comment. From OpenBSD. 2003-10-22 09:04:39 +00:00
briggs
1e810e3178 Since we enable the pcmcia function on attach, disable it on the detach. 2003-10-22 07:48:25 +00:00
briggs
40823fb6bb Maintain reference count properly for nested enables/disables. 2003-10-22 07:46:48 +00:00
christos
55222ec4a6 Regen 2003-10-22 00:18:32 +00:00
christos
c1ce37728d Remove backslash for new gawk 2003-10-22 00:17:39 +00:00
christos
ddccf85c50 support for NE2000_TYPE_AX88790 from
Yong-Jhen Hong yongjhen at alqualonde dot org
2003-10-22 00:12:36 +00:00