Age | Commit message (Collapse) | Author |
|
|
|
was imported]. Also, backout previous.
|
|
waiting on S_COMMAND_IN_PROGRESS and replace them with a bounded loop count
plus a small delay; from NetBSD.
|
|
adw.c synched with v1.23 (from v1.14)
adw.h v1.9 ( v1.5 )
adwlib.c v1.17 ( v1.7 )
adwlib.h v1.13 ( v1.7 )
adwmcode.c v1.5 ( v1.2 )
adwmcode.h v1.5 ( v1.2 )
microcode for cards is updated to latest version,
loss of carrier problems are solved in a more
robust manner than before, lots of code cleanup.
first support for upcoming U3W cards added, as
a result of which the driver is now too large
for RAMDISK and has been moved to RAMDISKB.
Most of the work done by dante@ NetBSD.
|
|
On suspend, the apm code calls each function in its powerhook list. This list
contains pointers to functions that are to be executed on PWR_SUSPEND and
PWR_RESUME. One of these functions is pcmcia_power() which calls xxx_activate()
for each PC Card that is connected with the action DVACT_ACTIVATE (where xxx
is the name of the driver for the PC Card). On resume, the same thing happens,
except the action is DVACT_ACTIVATE.
Clearly, if a card is gone when we resume, trying to activate it is a bad idea.
This commit adds a pcic_power() function that runs before pcmcia_power(). On
resume, it uses pcic_intr_socket() to detect any events that occurred while we
were suspended. (I had to split pcic_event_thread() into a threaded part and
a non-threaded part, since the thread will not run when we are in interrupt
context, but I need the events to be processed before pcmcia_power() runs.) So,
by the time pcic_power() is through, all events that occurred during suspend
have been processed, and pcmcia_power() will not try to activate cards that are
not there since they have already been completely and properly detached.
Note that event handling for card removals first calls the deactivate functions
on the card then the detach functions. When we suspend, apm does the deactivate
for us. So on resume, if we detect a card has been removed, we skip the
deactivation step and just detach. We use the DVF_ACTIVE bit to determine
whether or not deactivation has already occurred. Deactivating a device that
has already been deactivated causes a panic.
|
|
|
|
event notification from the pcic (if an interrupt is available) or allow the
insertion and removal of PCMCIA devices even if there is no IRQ for the pcic.
Each socket is checked for status change every 0.5 seconds using art's timeout
code. Insertion and removal events should no longer ever go unnoticed.
|
|
affects 905B only.
|
|
|
|
|
|
|
|
that is done in ether_input(); jason@ ok
|
|
Hacking at USENIX 2000 :-)
|
|
Only allow superuser to clear the signal quality cache
|
|
of an Aironet device.
|
|
configuration options with ancontrol(8). Now USENIX attendees can use the
wireless setup :-)
|
|
>From NetBSD.
|
|
|
|
Don't falsely detect nonexistent drives
|
|
|
|
idea from netbsd tulip driver.
there is problem w/ an983 card, but aaron@ said he'll work it out.
aaron@ & jason@ ok.
|
|
|
|
|
|
|
|
first, so do it. also set the default media based on what's on the regs
>from NetBSD.
Someone with one of these please test the changes.
|
|
|
|
attach point for wsdisplay.
a few problems may exist w/ certain prom versions.
tested in byte- and word-wide modes.
no support yet for multiple resolutions and fonts.
pci not tested (obviously).
|
|
|
|
* support for ax88190
* set the memory size based on the ne2k type, changing the number
of transmit buffers.
* make ne2000_attach return some value so it can be used in pcmcia.
* move code for dl10019 to the pcmcia part.
|
|
|
|
|
|
|
|
from NetBSD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
builin feature to discard frames >1500 bytes (useful for jumbo frames,
also 802.1Q VLANs)
ok aaron@
|
|
|
|
that's passed in from the bus-dependent parts. Use ETHER_ADDR_LEN so we get the
whole thing; sigh@kuzirabekon.econ.nagasaki-u.ac.jp
|
|
|
|
|
|
|
|
size (not working yet), useful for 100mbit cards.
* add some diagnostic messages
* compute the xmit buffer length w/o taking crc length in count
* when SIOCSIFFLAGS is issued and none of the above conditions match,
check for IFF_UP rather than sc_enabled.
|
|
|
|
being detected as uart16450 as side effect. This also corrects the
posibility of misdetection of vadem controllers.
|
|
(cardbus to come later).
|