thorpej
44a20a6c96
If we read a bad header signature, report what we read.
2000-02-03 06:47:31 +00:00
thorpej
001748dc57
First cut at detach support; doens't fully work yet.
2000-02-01 22:54:47 +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
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
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
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
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
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
e33c595472
Do a CARDBUS_BM_ENABLE just to be sure.
2000-01-25 15:29:43 +00:00
thorpej
be3c43687c
Make sure the latency timer is set to a reasonable value.
...
From Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>.
2000-01-25 03:44:27 +00:00
thorpej
0c93dded4a
Use config_pending. Addresses kern/9247.
2000-01-24 18:34:44 +00:00
joda
de798768b3
(cardbus_attach_card): zero out ca
2000-01-13 10:27:31 +00:00
augustss
6b1620b095
Remove extra #endif so we can compile again.
1999-12-17 14:06:43 +00:00
abs
43838a47fd
Add back cut Cardbus_conf_write/cardbus_conf_write lines.
1999-12-16 21:04:10 +00:00
kleink
2fd74b0fb4
Normalize symbol names used for multiple inclusion protection.
1999-12-15 12:28:54 +00:00
thorpej
014cd3fcc1
Take a stab at making this work on big-endian systems.
1999-12-12 17:46:36 +00:00
explorer
4313f463a0
add 3com 575CT, which Dell (at least) seems to be shipping
1999-12-11 22:22:34 +00:00
thorpej
d4bb1032cb
Handle the 21143 PMCSR, like we do in the PCI front-end.
1999-12-11 00:39:13 +00:00
thorpej
caae0e1aa1
- Don't try to run the chip in big-endian mode. Not all chips support
...
this consistently, and it doesn't always work even when the chip
supports it.
- Make sure things DMA'd to the chip that the chip interprets are in
little-endian mode.
1999-12-11 00:32:59 +00:00
thorpej
085bc011ab
Add cardbus_get_capability(), cloned from pci_get_capability().
1999-12-11 00:29:11 +00:00
joda
9758d8ed66
check for NULL from malloc
1999-12-08 16:52:51 +00:00
thorpej
546480874c
After reading the 21143 manual again, make sure SNOOZE is cleared in
...
the CFDA register, too.
1999-12-07 07:36:19 +00:00
thorpej
6e36651a27
Add the 21143 PMCSR offset, from Masanori Kanaoka.
1999-12-07 07:33:25 +00:00
thorpej
3d60aecdd7
Make sure to bring the chip out of sleep mode. From Masanori Kanaoka.
1999-12-07 07:11:49 +00:00
thorpej
0c3eefb6a5
Add a basic CardBus front-end for the `tlp' driver. Still more work to do.
1999-11-19 18:23:35 +00:00
joda
b578473fae
include dev/cardbus/cardbusdevs.h
1999-11-18 16:57:41 +00:00
joda
88d26dd881
regen
1999-11-18 16:03:43 +00:00
joda
08bc681319
fix bogus comment
1999-11-18 16:03:12 +00:00
joda
175087230a
use CARDBUS_VENDOR_INVALID
1999-11-18 15:11:15 +00:00
joda
8c62b47d9f
regen
1999-11-18 15:09:59 +00:00
joda
40f1a07541
add INVALID vendor, and an Intel modem
1999-11-18 15:09:30 +00:00
thorpej
ce25407921
Make this a lot more like the PCI front-end.
1999-11-17 08:49:16 +00:00
soren
f361f1b1b8
Also disable EX_CONF_INTPHY on the B model.
1999-11-17 08:42:06 +00:00
thorpej
e1a760a4a7
The 3c575-TX does *not* have an internal PHY.
1999-11-17 07:59:57 +00:00
haya
3be097c31d
Handle insertion and removal events more strictly.
1999-11-15 06:08:02 +00:00
haya
89d0a53e2c
Fill 0 into CardBus base address registers before a card is
...
configured.
1999-11-15 06:01:11 +00:00
joda
f9bf746086
(cardbus_attach_card): don't free cc
1999-11-12 18:18:38 +00:00
joda
4278cf451e
if the image size is zero, assume it really means one block
1999-11-12 18:17:36 +00:00
joda
c7cca9cd39
make this compile with CARDBUS_DEBUG
1999-11-09 15:03:59 +00:00
haya
e54d837b8b
Maintenance CardBus/PCI extension ROM mapping routine.
...
1. Make Extension ROM not to be mapped on I/O space.
2. Do not check the bus-space indicator in ROM register.
1999-11-09 09:20:30 +00:00
joda
1b686307cb
correct number of BAR:s in cardbus_cis_info
1999-11-08 20:21:24 +00:00
joda
fe2d79ec9a
Let decode_tuples take function to call for each tuple, and use this
...
to get some vital information from the CIS (some network cards need
this to get the mac-address). This should be merged with the related
code for PCMCIA cards, but that requires more thought.
1999-11-08 20:19:10 +00:00
joda
dbb2685da6
add some bare-bones CIS information to the attach_args struct
1999-11-08 19:59:08 +00:00
joda
f6be3b394d
regen
1999-11-08 19:57:32 +00:00
joda
19ff47781e
copy xircom entries from pcidevs
1999-11-08 19:57:13 +00:00
soren
6f961bbe31
It's okay for a memory region to be larger than it's alignment.
1999-11-06 06:20:53 +00:00
haya
88f1d44cc2
Change the interface of cardbus_function_enable() and
...
cardbus_function_disable().
1999-11-01 09:59:23 +00:00
joda
d094848950
uncomment fxp_cardbus
1999-10-31 15:14:17 +00:00
joda
b0e5ebfddc
commit a more working version if this driver; so far only tested on an
...
Intel `PRO/100 LAN+Modem56 CardBus II'
1999-10-31 15:12:39 +00:00
joda
ee08428d1c
handle multi function cards
1999-10-29 12:02:13 +00:00