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
enami
0bff6e573a
Cosmetic change; use IRQUNK instead of -1 always.
2000-02-03 23:03:11 +00:00
chopps
71d64756c2
wrap optimized copy routines in an ifdef
2000-02-03 21:27:35 +00:00
dante
cbacaf54d7
Add AdvanSys U2W (LVD) boards support
2000-02-03 20:28:26 +00:00
dante
fd2fd888ef
Add AdvanSys U2W host adapters
2000-02-03 16:56:23 +00:00
dante
787999d9e4
Add AdvanSys U2W boards
2000-02-03 16:51:42 +00:00
itojun
579e538de0
fix promisc mode for smc91cxx again.
2000-02-03 16:20:49 +00:00
joda
5b67628108
regen
2000-02-03 13:58:55 +00:00
joda
1533d39d9e
2 Micro -> O2 Micro
2000-02-03 13:58:28 +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
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
nisimura
c6641d91a8
Merge IOASIC register definitions.
2000-02-03 08:13:44 +00:00
thorpej
44a20a6c96
If we read a bad header signature, report what we read.
2000-02-03 06:47:31 +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
thorpej
a084fd2f81
Some PHYs go off into left field for a few seconds if you attempt to kick
...
autonegotiation while it's already enabled.
2000-02-03 06:11:13 +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
9ff57fe506
Oops, missing return;
2000-02-03 05:38:57 +00:00
nisimura
8e27abd255
Use bus_space_{write,read} for IOASIC register access.
2000-02-03 05:16:30 +00:00
thorpej
22fe15d7b4
Let mii_phy_setmedia() handle the IFM_AUTO case, too.
2000-02-02 23:34:56 +00:00
augustss
de5a3532be
Fiddle with some PHY bits on the D-Link adapter as well. From FreeBSD.
2000-02-02 20:06: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
8923ca0b00
Make PHY drivers provide a pointer to their status routine, and add
...
a generic mii_phy_status() that calls back into the PHY. It doesn't
do anything interesting yet, but it will soon.
2000-02-02 17:50:43 +00:00
thorpej
94b1e4084a
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:46:42 +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
586595e6d4
Make irq probing controled by patchable variable and disable on hpcmips
...
by default. It doesn't work on hpcmips.
2000-02-02 14:44:09 +00:00
enami
f7096eef97
Fix typo; not PCIC_DEBUG but PCICDEBUG.
2000-02-02 14:23:48 +00:00
augustss
cee0dfa2d5
Add rnd_source.
2000-02-02 13:22:07 +00:00
augustss
c9d8358135
Generate usb events on attach and detach.
...
Clean up detach a little.
2000-02-02 13:21:25 +00:00
augustss
3a1229e779
Generate usb events on attach and detach.
2000-02-02 13:20:59 +00:00
augustss
aae9ac7e11
Generate usb events on attach and detach.
...
Handle rnd stuff correctly.
2000-02-02 13:19:44 +00:00
augustss
4b93911b25
Generate usb events on attach and detach.
2000-02-02 13:18:45 +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
augustss
b10d6a6fc0
Support detach.
2000-02-02 11:42:29 +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
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
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
481e8339dc
Change the USB event mechanism to include more information about devices
...
and drivers. Partly from FreeBSD.
2000-02-02 07:33:59 +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
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
0738a5d4ac
Driver for the Davicom DM9101 10/100 Ethernet PHY. This PHY is found
...
on several inexpensive 10/100 Ethernet boards (e.g. D-Link DFE-530TX,
Winbond 10/100 boards), and is also the built-in PHY on the DM9102
10/100 Ethernet chip.
2000-02-02 04:29:49 +00:00
chopps
4483fc0f5f
restore irq 10 to pcic_isa_intr_alloc_mask
2000-02-01 22:56:17 +00:00
thorpej
001748dc57
First cut at detach support; doens't fully work yet.
2000-02-01 22:54:47 +00:00
thorpej
db8dc44033
Add support for detaching the interface.
2000-02-01 22:53:14 +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
augustss
e7f114ba6d
Make sure to use delay() in usb_delay_ms() while cold booting.
2000-02-01 17:46:17 +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
6393288539
Put some #ifdefs around power and shutdown hooks.
2000-02-01 05:42:52 +00:00
augustss
daa36b1b58
Rename TAILMASK to HEADMASK, since it really masks the head pointer.
...
From FreeBSD.
2000-01-31 22:35:13 +00:00
augustss
cc46ffeb91
Change where the has table for physical-to-virtual address translation
...
is handled. Partly from FreeBSD.
2000-01-31 22:09:13 +00:00
augustss
964e21e33a
Use ${RM}
2000-01-31 21:08:11 +00:00
augustss
ae4bbc4485
Fiddle with over-current protect when turning on port power to make
...
things work for some OHCI controllers.
2000-01-31 20:17:25 +00:00
augustss
c9aa323521
Change the way the HC done method is invoked a little.
2000-01-31 20:13:07 +00:00
thorpej
547bd53f89
Add support for the SiS 7016.
2000-01-31 18:36:12 +00:00
thorpej
f457f7c969
Regen.
2000-01-31 18:34:51 +00:00
thorpej
a2efc77ee1
Add SiS 7016 10/100 Ethernet.
2000-01-31 18:34:19 +00:00
haya
2e9b49c888
Force power off when a CardBus card is detached.
...
Use tsleep when kernel thread works.
2000-01-31 08:49:07 +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
augustss
ef79cf035a
Correct error message list. From Nick Hibma.
2000-01-28 13:32:55 +00:00
augustss
119272426a
Fix typo. From Nick Hibma.
2000-01-28 10:19:48 +00:00
augustss
8cc78f4f7d
Small restructuring: break out opening of pipes into its own function.
2000-01-28 00:51:25 +00:00
augustss
3eccf22362
GC a #define.
2000-01-28 00:45:55 +00:00
augustss
30f0efb4f2
Add uhci_root_ctrl_done() method.
2000-01-28 00:44:27 +00:00
augustss
9cd4bf4652
Remove the hack that handled truncated transfers.
2000-01-28 00:29:53 +00:00
augustss
4e9e8e52f4
Change the test to check if transfers are done. The old test was broken
...
and sometimes reported transfers as done prematurely.
This fix seems to stabilize the Ethernet drivers.
2000-01-28 00:15:54 +00:00
augustss
3c27de72ac
Fix typo in tailp bit defines. From Nick Hibma.
2000-01-28 00:11:38 +00:00
augustss
10dd6e61c3
Regen.
2000-01-28 00:09:19 +00:00
augustss
d4dda219e1
Fix typo.
2000-01-28 00:08:57 +00:00
thorpej
c74e0a8db2
Add detachment support to the MII layer.
2000-01-27 16:44:30 +00:00
enami
cf83f4ae57
Use delay by default on hpcmips for now.
2000-01-27 01:05:17 +00:00
augustss
e00a11df5e
Make it easy to switch between using attribute memory and not.
2000-01-26 22:28:38 +00:00
thorpej
b1ec3fa901
Give the ISV filter a chance to verify 21143 pass 4.1 SROMs before running
...
them through the quirk table.
2000-01-26 16:51:11 +00:00
thorpej
063cb5e5dc
Additional hackery for the Cobalt interfaces. Even though these are
...
pass 4.1 21143s, they have a 128-byte SROM, and thus use a different
SROM address size than all other pass 4.1 21143s.
A plea to hardware designers -- *please* read application notes for
the components you're using before putting your hardware together. Thanks.
2000-01-26 15:50:52 +00:00
augustss
57d2439d74
Try to avoid accessing the HC if it is dead. Suggested by mycroft.
2000-01-26 10:04:38 +00:00
haya
653eefc8f4
Add cardbus detach functionality. Add a function
...
cardbus_detach_card() in cardbus.c and enable detach code in cardslot.c
2000-01-26 09:04:59 +00:00
haya
639bd74d21
Pccbb manages interrupt handlers by itself for its child device.
2000-01-26 09:02:41 +00:00
thorpej
4656f0ba52
Remove the FreeBSD support from this file. It hasn't worked in FreeBSD
...
for some time, and only made the code harder to read.
2000-01-26 06:41:11 +00:00
thorpej
422cc09430
First attempt at a CardBus front-end for the `ahc' driver. This will
...
support the Adaptec ADP-1480 CardBus SCSI cards, which are a stright
AIC-7860 implementation.
2000-01-26 06:37:23 +00:00
thorpej
494b4a9ed3
Fix an oversight in the AIC-7xxx SEEPROM split.
2000-01-26 06:27:32 +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
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
ad
62c4800e7f
Argh - add initialization that got lost during editing of previous addition.
2000-01-26 01:23:32 +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
thorpej
2bd8866643
"i/o" -> "memory"
2000-01-25 23:23:48 +00:00
drochner
1f723151f2
use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
...
PCI BAR bit is referred to
2000-01-25 22:32:20 +00:00
drochner
7360584deb
use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
...
PCI BAR bit is referred to
(XXX is the hack still necessary?)
2000-01-25 22:31:06 +00:00
drochner
4f1e715248
use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
...
PCI BAR bit is referred to
2000-01-25 22:30:04 +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
soren
27cb56c54d
Regen.
2000-01-25 21:58:59 +00:00
soren
8b39eb4d8e
Add Digi International adapters.
2000-01-25 21:58:45 +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
thorpej
701cc4b663
Add support for the Xircom X3201-3 in 21143 emulation mode. This chip
...
appears on some Xircom and Intel RealPort(tm) cards.
From Rafal Boni, with some slight modifications from me.
2000-01-25 21:50:30 +00:00
drochner
e81d123f6d
try to dtrt for sector sizes <DEV_BSIZE (at least, don't divide by 0)
2000-01-25 20:42:33 +00:00
thorpej
6dc0e3435d
IFM_1000_FX -> IFM_1000_SX
2000-01-25 20:19:14 +00:00
thorpej
02af3f45b6
Clean up the SROM addrbits code a little.
2000-01-25 19:53:34 +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
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
augustss
b9a4fe55b5
Switch the HSE and HCPE messages. Pointed out my mycroft.
2000-01-25 17:31:05 +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
e33c595472
Do a CARDBUS_BM_ENABLE just to be sure.
2000-01-25 15:29:43 +00:00
joda
492bfe70f3
get the device name from pcidevs instead of having a list here
2000-01-25 14:34:24 +00:00
augustss
0335569abc
Make it compile even if you leave out the ucom attachment.
2000-01-25 13:56:23 +00:00
augustss
a27ee91364
Remove an item.
2000-01-25 13:27:07 +00:00
augustss
f0ebd281e5
Add done method for root control transfers.
2000-01-25 12:06:21 +00:00
augustss
73ce2abd33
Make sure PIRQD enable bit is set. From FreeBSD.
2000-01-25 11:26:06 +00:00
haya
dccf05f858
Do pccbb_chipinit() after YENTA register space allocation.
...
Add TI PCI 1451 PCI-CardBus entry.
2000-01-25 09:36:43 +00:00
enami
b1f85ee905
Don't put leading space, otherwise diskerr() prints unnecessary space
...
like this:
wd0h: aborted command reading fsbn 650256 of 650256-650271 (wd0 bn 839056; cn 888 tn 13 sn 17), retrying
2000-01-25 09:33:12 +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