chopps
dcfbcbec76
remove bogus debug (was reading unmapped CCR)
2000-02-22 21:29:36 +00:00
thorpej
bfaa657135
Fix printf formats on the Alpha.
2000-02-22 08:23:22 +00:00
enami
158df7b6f1
Don't establish an interrupt if attach is in progress. Anyway, current wdc
...
and its children doesn't require interrupt on attach.
2000-02-21 03:55:22 +00:00
enami
91026fe7f2
Cosmetic changes.
2000-02-21 03:26:41 +00:00
enami
6779fc2bb2
Fix thinko in previous commit.
2000-02-20 03:48:40 +00:00
enami
ac75116d32
Try other config entry on i/o space alloc failure.
2000-02-20 03:18:15 +00:00
sommerfeld
7adb22cfa5
Add detach support.
...
Light cleanup.
2000-02-17 15:58:32 +00:00
enami
4a1320b29f
Put the entry of FNW-3700T after the entry of SVEC-PN650TX
...
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-02-14 23:13:49 +00:00
itojun
99b18eac36
on attach, check if we've got meaningful mac address or not,
...
to detect io mapping problem.
on detach, handle resource deallocations more carefully.
2000-02-13 06:17:58 +00:00
enami
84b6105bbe
Check if device is active in wi_intr and wi_inquire.
2000-02-12 23:35:28 +00:00
chopps
53e6733789
awi is an 8-bit only card, so set the 8bit flag.
2000-02-12 19:58:35 +00:00
itojun
02bf7fcd13
add wi_detach and friends so that we can hot-swap wi card.
2000-02-12 16:08:04 +00:00
chopps
d8595b9af3
map common memory 8 bit for cis scan when following longlinks.
2000-02-10 09:01:52 +00:00
enami
e00270524e
ASIX AX88190 support (Planex FNW-3700-T and Melco LPC3-TX) from FreeBSD/PAO3.
2000-02-09 15:40:23 +00:00
enami
67bc20747a
Support Xircom CompactCard Ethernet CFE-10.
2000-02-09 14:54:53 +00:00
enami
99f529f0b3
- Since all resources are mandatory, no need to manage individually.
...
- KNF some code.
- Factor out some code into function.
- Disestablish an interrupt handler when failed to enable card power.
2000-02-09 14:42:33 +00:00
enami
dc87f2899f
- No need to keep track enable/disable state here. The smc91cxx.c also
...
manages it.
- Disestablish an interrupt when failed to enable card.
- Don't say I'm enabled if failed to enable card.
2000-02-09 13:40:42 +00:00
enami
94a6dd9169
Regen.
2000-02-09 13:33:22 +00:00
enami
947c0fee74
Add an entry for Planex FNW-3700-T.
2000-02-09 13:32:23 +00:00
enami
e729d284ad
Add an entry for Melco LPC3-TX.
2000-02-09 13:20:55 +00:00
enami
e92b285eaf
Add an entry for Xircom CompactCard Ethernet CFE-10.
2000-02-09 13:07:45 +00:00
enami
1658944ebe
- Don't rely on implicit declaration.
...
- Sinc wi/ existing coding style.
2000-02-08 12:51:30 +00:00
enami
c7573d517e
- Bail out from attach stage if failed to enable card, number of iospace
...
or memspace is unexpected, failed to map iospace or failed to configure
the controller properly.
- Disestablish an interrupt handler if failed to enable card.
2000-02-08 12:49:12 +00:00
augustss
a534cd4254
Correct John Markus Bjørndalen's horribly mangled name in a comment.
2000-02-07 09:40:37 +00:00
augustss
a8365d0e29
Use pcmcia_devinfo().
2000-02-07 09:36:27 +00:00
augustss
e2ab50484b
Add a pcmcia_devinfo() function (akin to pci_devinfo). It generates a
...
string suitable for printing in the attach message.
2000-02-07 09:35:29 +00:00
nathanw
958e687d69
LP64 printf fixes.
2000-02-05 20:02:42 +00:00
enami
645c869160
Add detach support for ethernet portion.
2000-02-05 04:44:00 +00:00
enami
9267b8f018
Remove unnecessary includes.
2000-02-05 04:41:49 +00:00
enami
730f15bb19
Free resources on attach failure.
2000-02-04 09:31:07 +00:00
enami
82235a8673
Actually, no need to keep track of sc_ih.
2000-02-04 09:30:28 +00:00
chopps
2a1352a5b3
enable the card before establishing the interrupt to avoid being called
...
with stray interrupts before we are ready.
clear the card interrupt after enabling the card
2000-02-04 08:45:41 +00:00
explorer
59db45db2a
bring over WEP mode from FreeBSD/OpenBSD
2000-02-04 07:48:29 +00:00
explorer
4a5667f967
undo part of the previous commit. I'll just steal the code from freebsd,
...
to minimize differences between the drivers.
2000-02-04 06:22:52 +00:00
enami
af9710cf6e
Disestablish an interrupt if failed to enable the card.
2000-02-04 04:54:51 +00:00
enami
6f28840935
Remove no longer necessary old code.
2000-02-04 03:40:00 +00:00
enami
3ff6804bdd
Release the resource on attach failure.
2000-02-04 03:38:06 +00:00
explorer
de4f36ae63
Add encryption structure definitions -- it's interesting tht the gold card
...
has 128 bit encryption, but the key space is 14 * 8 bits, or 112 bits...
I wonder where the other 16 bits comes from?
2000-02-04 02:03:02 +00:00
cgd
942a54e0c1
replace the *_lookup table entry match/lookup functions in all of
...
these drivers with a single common function (which supports tables
of variable-sized structures). Things are mostly as they were before:
tables are terminated by entry with NULL name, etc. There's also
the ability to call a driver-specific match function which can be used
to augment the table lookup.
2000-02-04 01:27:12 +00:00
chopps
71d64756c2
wrap optimized copy routines in an ifdef
2000-02-03 21:27:35 +00:00
enami
d6df5ce334
Make the product lookup table driven.
2000-02-03 08:52:21 +00:00
enami
f1ce315cc0
Regen.
2000-02-03 08:26:33 +00:00
enami
fc92de5f92
Add an entry for Icom WAVEMASTER SL-200.
2000-02-03 08:25:55 +00:00
chopps
a5dc628e12
manipulate packet counters, support detach, and add commented out code to
...
DTRT on suspend
2000-02-02 18:39:44 +00:00
thorpej
eed75dbc26
Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
...
flags down from the parent to child vi mii_attach().
2000-02-02 17:09:38 +00:00
itojun
b2cac6e684
if_detach for sm/pcmcia.
...
with addition of resource allocation flags in softc (to DTRT on detach).
2000-02-02 16:04:40 +00:00
itojun
7a7a3bcfdf
handle attach failure in ne/pcmcia more carefully. (otherwise we'll
...
have trouble on detach)
2000-02-02 13:06:15 +00:00
itojun
7aa608e563
handle attach failure in more detail. make sure to
...
pcmcia_function_disable() on failure.
2000-02-02 13:02:56 +00:00
itojun
4e1b4b724b
implement cnw_detach.
...
XXX it looks that whenever there's error-return in xx_attach,
we need to have some check in xx_detach(). otherwise, routines such as
ether_ifdetach() will be called without call to ether_ifattach().
2000-02-02 12:25:13 +00:00
itojun
f4e8883ccd
use a bit more standard (sys/device.h) prototype for {dp8390,ne2000}_detach().
2000-02-02 11:41:56 +00:00
itojun
2b4766a6b2
enami's fix to dp8390 did the trick, it does not hang up any more.
...
enable detach routine by default.
2000-02-02 11:17:32 +00:00
itojun
17f5887294
implement if_detach code for ne/pcmcia.
...
XXX still incomplete, ne_pcmcia_detach() commented out for safery - please test
2000-02-02 10:00:06 +00:00
enami
a909d816d2
Add detach support.
2000-02-02 09:34:51 +00:00
augustss
82559ba682
Move detach operations around a little to simplify (and perhaps get it
...
right?). Prompted by Jason, itojun and myself.
2000-02-02 08:41:00 +00:00
augustss
4a6ae7bdfc
Get rid of shutdown hook and attached media on detach.
2000-02-02 08:08:50 +00:00
thorpej
84dc99fdea
Bring some order to the chaos which was the MII code function naming
...
"conventions".
2000-02-02 08:05:26 +00:00
augustss
ea45df4d30
Make sure to get rid of shutdown hook and ttach media on detach.
2000-02-02 08:00:21 +00:00
itojun
af1d56129f
wrap bpfdetach() with NBPFILTER > 0.
2000-02-02 07:47:33 +00:00
augustss
0151072444
Make ep driver detachable.
2000-02-02 07:23:28 +00:00
augustss
2c371af454
Make ray driver detachable.
2000-02-02 07:22:06 +00:00
enami
11264e95ef
Regen.
2000-02-01 10:21:00 +00:00
enami
ad68157d83
Add an entry for Melco WLI PCM (but driver isn't available yet).
2000-02-01 10:19:51 +00:00
enami
25b484e01a
Pass an appropriate value as alignment (0 is not such a value).
2000-02-01 10:12:04 +00:00
enami
d549d0992b
Rearrenge code a bit for the sake of another device.
2000-02-01 10:00:41 +00:00
enami
db644f36ea
Cosmetic changes.
2000-02-01 08:58:25 +00:00
enami
98ba9b6a65
Sync awi_pcmcia_get_enaddr with mbe_pcmcia_get_enaddr.
2000-02-01 08:52:05 +00:00
enami
f06ba20199
RCS Id police.
2000-02-01 08:43:25 +00:00
enami
82cf6568cf
Sync wi/ if_wavelan_ieee.h version 1.4 of FreeBSD.
2000-02-01 08:23:37 +00:00
enami
19aa9f2cbb
The workaround for Hagiwara SYS-COM Compact Flash card is no longer necessary.
2000-02-01 06:48:15 +00:00
enami
a945b488ae
Regen.
2000-02-01 05:51:31 +00:00
enami
032ef78e07
Print more detailed name for Corega ethernet cards.
2000-02-01 05:50:18 +00:00
augustss
e00a11df5e
Make it easy to switch between using attribute memory and not.
2000-01-26 22:28:38 +00:00
augustss
3d3f376619
Print out what kind of card it is earlier and more accurately.
2000-01-26 02:25:47 +00:00
thorpej
dc4e418fa6
Add the Linksys Etherfast 10/100. These are currently being rebadged
...
as the NetGear FA410TX 16-bit PC Card.
2000-01-26 01:27:12 +00:00
thorpej
def54ed969
Regen.
2000-01-26 01:06:03 +00:00
thorpej
a73e3e37b1
Add the Linksys Etherfast.
2000-01-26 01:05:23 +00:00
soren
a81c1788ab
Regen.
2000-01-25 21:58:23 +00:00
soren
3a9b991c44
Add Lexar Media CF.
2000-01-25 21:58:06 +00:00
mycroft
3f72e2e3f9
Oops; fix a bug in the previous:
...
If one entry has the DL10019 bit set and another does not, don't fail
immediately if the checksum doesn't work.
2000-01-25 18:04:07 +00:00
itojun
9d17b2ca6a
bring in stabilization codes in freebsd PAO/bsdi cnw driver.
...
- link integrity bit check.
- don't send too many packets, add some delay between them (this one is
not enabled by default - try it if you see performance problem on
heavy traffic)
2000-01-25 16:48:47 +00:00
thorpej
c02060ba9b
Regen.
2000-01-25 15:44:21 +00:00
thorpej
d1c481fc31
Fix a typo.
2000-01-25 15:43:59 +00:00
mycroft
509c38cc44
Regen.
2000-01-25 08:07:14 +00:00
mycroft
6a4d06f322
Use the Ethernet vendor ID to differentiate multiple cards with the same
...
vendor,product pair. (Yuck.)
2000-01-25 08:06:49 +00:00
jlam
03ebb087f7
Regen.
2000-01-25 06:53:26 +00:00
jlam
4d836ce7f2
Fix product code for Aironet PC4800. Should be 0x0007.
2000-01-25 06:52:54 +00:00
chopps
b5064330de
The cfe is initialized to the default entry, when a table entry value
...
is present don't OR in the flags with the defaults, replace them.
2000-01-25 06:36:17 +00:00
chopps
8c090e4862
set havenet to 0 when we are switching between operating modes and only
...
after association in ifrastructure mode. Also, deal with roam start
and rejoin net commands.
2000-01-25 05:32:28 +00:00
sommerfeld
43311a870f
Regen
2000-01-25 01:17:40 +00:00
sommerfeld
97597e1d12
Add ID for BayStack 660 (DS version of 650)
2000-01-25 01:15:06 +00:00
enami
7acb650645
- fix comment style/indentaion.
...
- add comment to refer aic_pcmcia_enable.
2000-01-24 23:14:23 +00:00
chopps
7d55178466
support switching to/from adhoc/infrastructure mode with media opt.
...
fill in 802.11 correctly for 802.11 infrastructure.
code not verified with base station yet.
2000-01-24 22:05:53 +00:00
augustss
c0214682f7
Add missing \n in attach message, and add a little more information.
2000-01-24 01:32:00 +00:00
chopps
9704db4fc4
add driver for raylink/aviator wireless 802.11 FH 2Mbps cards, currently only
...
tested with aviator 2.4
2000-01-23 23:59:21 +00:00
chopps
1e33763b41
regen
2000-01-23 23:56:58 +00:00
chopps
7527798475
WebGear->Raytheon
2000-01-23 23:55:45 +00:00
aymeric
8ac52796d5
add right casts to printf bus_space parameters
2000-01-23 20:44:04 +00:00
enami
b7868a436d
Don't overwrite cfe->flags.
2000-01-20 08:47:59 +00:00
jlam
24ea998b2a
Regen.
2000-01-18 17:20:32 +00:00
jlam
069f019108
Add Aironet Wireless Communications' vendor and product codes.
2000-01-18 17:19:33 +00:00