nathanw
958e687d69
LP64 printf fixes.
2000-02-05 20:02:42 +00:00
augustss
494c9affea
Support detach.
2000-02-05 18:11:55 +00:00
enami
abac10f360
Yet anothor workaround for hpcmips. I guess real problem is somewhere else...
...
With rev.1.37, my MobileGearII for DoCoMo finds both ne0 and wd0
even if pcic_delay_sleep is 1.
With rev 1.40, it fails to find wd0.
2000-02-05 04:34:36 +00:00
dante
2a46aa5d9a
Fix "unused variable" warning when FAILSAFE option is defined
2000-02-04 16:23:14 +00:00
dante
b4edda97d5
Fix a compilation bug due to a missing parenthesys
2000-02-04 15:43:46 +00:00
enami
9c688fd57c
s/SYSTEM/SYSMEM/; so that this file compiles again.
2000-02-04 11:04:46 +00:00
joda
8006211b18
fix previous broken commit of the 8-bit memory handling (spotted
...
by Christian Hopps); this will enable 16-bit memory accesses for devices
that can handle it
2000-02-04 10:18:28 +00:00
itojun
0f09f8dd2b
cope with card insertion/removal during suspend-resume session.
...
(removal/ insertion after suspend and before resume)
How should we deal with card swaps?
2000-02-04 09:45:34 +00:00
chopps
d344dd94ab
keep track of the enabled state of a socket
2000-02-04 08:42:07 +00:00
enami
ed0f41807d
- Call if_deactivate instead of smc91cxx_disable when deactivating.
...
- Fix typo in comment.
2000-02-04 04:05:50 +00:00
dante
cbacaf54d7
Add AdvanSys U2W (LVD) boards support
2000-02-03 20:28:26 +00:00
itojun
579e538de0
fix promisc mode for smc91cxx again.
2000-02-03 16:20:49 +00:00
enami
1102c5ed1d
Remove temporary workaround for hpcmips. Now it works without it.
2000-02-03 09:00:39 +00:00
enami
d6554f3e25
Cosmetic changes; remove unnecessary semi-colon.
2000-02-03 08:59:20 +00:00
thorpej
5802ccb9c9
In ahc_intr(), if initialization failed, don't try to service the
...
interrupt.
2000-02-03 06:25:09 +00:00
chopps
68a7084f0c
attempt to make this more like the std indicates
2000-02-03 06:07:06 +00:00
enami
20522c36ed
Detach MII if there is.
2000-02-03 06:03:39 +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
enami
f7096eef97
Fix typo; not PCIC_DEBUG but PCICDEBUG.
2000-02-02 14:23:48 +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
f4e8883ccd
use a bit more standard (sys/device.h) prototype for {dp8390,ne2000}_detach().
2000-02-02 11:41:56 +00:00
augustss
a5f7a2c791
Detach rnd source in ep_detach(). Check for DVF_ACTIVE in epintr();
2000-02-02 11:00:48 +00:00
enami
60e57afedd
- Check also DVF_ACTIVE bit in dp8390_intr.
...
- Delete ifmedia instances on detach.
2000-02-02 10:50:56 +00:00
enami
a54d060a1c
Unhook the entropy source on detach.
2000-02-02 10:45:12 +00:00
enami
500a12d2e5
- No need to wait in pcic_chip_socket_disable. It was intended to keep
...
some period between disable and enable in spec, but is done in
pcic_chip_socket_disable. And we also disable socket in pcic_deactivate_card,
we should do it in another way if it is really necessary.
- Shorten the wait message so that ps(1) and ps in ddb be happy.
- Replace newly added long delay with sleep.
2000-02-02 10:31:45 +00:00
enami
e16a469c8f
Cosmetic changes.
2000-02-02 10:19:51 +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
e4c766e299
Make sure to untimeout() things on detach.
2000-02-02 08:57: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
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
chopps
ea37d51548
do something more like pccbbs chip_enable. don't enable interrupts
...
until we have everything else setup..
2000-02-02 04:45:21 +00:00
thorpej
001748dc57
First cut at detach support; doens't fully work yet.
2000-02-01 22:54:47 +00:00
chopps
d8e72e215d
implement probing for available irqs on non-cirrus pcmcia controllers
...
including cardbus controllers running in pcic mode
2000-02-01 22:39:51 +00:00
thorpej
a72f993570
When possible, use ring mode for descriptors. Not only is this slightly
...
more efficient on genuine DEC chips, but some clones apparently Lose Badly
if you use chain mode. To further complicate things, some clones *only*
do chain mode, so make this whole mess conditional.
2000-01-28 23:23:49 +00:00
thorpej
59fbdbb7cb
Just use a regular Tx descriptor for the setup packet; don't bother with
...
a separate one.
2000-01-28 22:23:58 +00:00
pk
f18d4a028b
Define the fixed hme PHY addresses.
2000-01-28 15:52:34 +00:00
pk
437ad6d192
Reset audio chip on device open.
2000-01-28 15:49:44 +00:00
enami
cf83f4ae57
Use delay by default on hpcmips for now.
2000-01-27 01:05:17 +00:00
thorpej
a697dac5f2
Back out a change I didn't intend to commit.
2000-01-26 06:17:59 +00:00
thorpej
8949eab0cb
Split the code that reads the SEEPROM into its own file.
2000-01-26 06:04:37 +00:00
ad
62c4800e7f
Argh - add initialization that got lost during editing of previous addition.
2000-01-26 01:23:32 +00:00
thorpej
62fb37ba49
Some changes for the Xircom X3201-3 in 21143 emulation mode:
...
- The Xircom doesn't bring itself out of reset; we have to do it.
- The Xircom requires transmit buffers to be aligned to 4 bytes, too.
Partially from Rafal Boni (though the Tx buffer alignment issue is
handled much differently in this version).
2000-01-25 22:11:12 +00:00
chopps
da499b1e3a
make the wait_ready loop use pcic_delay() (thus tsleep) too for cards
...
that take a while to become ready
2000-01-25 19:38:18 +00:00
thorpej
6aca67041c
Add a chip type for the Xircom X3201-3, and centralize the declaration
...
of the chip names array.
2000-01-25 19:29:17 +00:00
pk
855fe23671
Prevent possible wayward loop.
2000-01-25 09:30:00 +00:00
enami
5cb9984dd0
Replace long delay with sleep.
2000-01-25 09:17:35 +00:00
enami
012a23a770
Use config_pending and let the kernel thread to attach a card even on boot.
2000-01-25 09:14:27 +00:00