fvdl
2da1f00fcd
Update cardbus frontend for new ahc driver.
2000-03-15 02:03:51 +00:00
thorpej
297455cbe2
Pick I/O before Memory space.
2000-03-14 02:08:21 +00:00
soren
95054da1a1
Fix doubled 'the's in comments.
2000-03-13 23:52:25 +00:00
veego
347a1f736e
Reverse the mapping of the control/status registers. Use I/O before MEM.
...
My card works now on a TI1220 chipset. Approved by Jason.
2000-03-12 17:05:23 +00:00
thorpej
7e044bd4e5
Move pretty much all of the PCI configuration goo into a separate
...
function.
2000-03-10 07:26:41 +00:00
thorpej
370bc1832b
Normalize the copyright notice (TNF copyrights should *always* match
...
the appropriate template), and run through indent.
2000-03-10 07:11:47 +00:00
thorpej
0fef451485
Pull the code that take the Tulip out of powersave mode into a separate
...
function.
2000-03-10 06:55:09 +00:00
haya
4398e0bd07
Fix CardBus device number. Though CardBus device number should be 0,
...
the value of bridge's function number was assigned to the device
number.
2000-03-07 09:36:52 +00:00
thorpej
8f8714687b
Reenable the code that clears SLEEP and SNOOZE from the CFDA register.
2000-03-07 01:08:47 +00:00
mycroft
4887635a10
A few things:
...
* Take advantage of the tulip_read_srom() changes.
* Don't frob the so-called `CFDA' register. We're really looking for the
PMCSR, which is in a different location anyway.
* Don't panic if we detach an interface for which we never called tlp_attach().
2000-03-07 00:43:36 +00:00
mycroft
8b13d21260
Do a CARDBUS_BM_ENABLE to be sure.
2000-03-07 00:32:52 +00:00
mycroft
de8398315a
Fix an obvious bug that caused I/O space to never be freed.
...
Also, don't use rbus_space_free() directly.
2000-03-07 00:31:46 +00:00
mycroft
bcdcb370e5
Called the power function even for 5V cards. This at least gives the power
...
a chance to stabilize before we frob the card.
2000-03-07 00:30:57 +00:00
thorpej
54e0e80815
Cosmetic change.
2000-03-01 20:50:56 +00:00
thorpej
08483fcddc
When unmapping these on detach, pass the BAR to unmap (not the type of
...
the BAR!!)
2000-03-01 20:50:37 +00:00
soren
d282f771e7
Remove redundant CIS definitions.
2000-02-18 18:55:31 +00:00
enami
01868857df
Add activate routine and check device active flag also in one second
...
tick handler.
2000-02-12 04:05:49 +00:00
joda
d40e2b51ee
add detach code
2000-02-09 22:15:57 +00:00
itohy
0a1d6b1357
Make it compile with options DEBUG.
...
Reported by Kawamoto Yosihisa (PR #9379 ).
2000-02-09 07:57:52 +00:00
augustss
494c9affea
Support detach.
2000-02-05 18:11:55 +00:00
augustss
e037c568cb
Update for cardbus unmap changes.
2000-02-04 13:48:23 +00:00
augustss
1facb42e6e
Make the driver work even if DIAGNOSTIC is not set.
2000-02-04 13:43:56 +00:00
haya
ded26ac3e4
Now cardbus_mapreg_unmap() has been implemented in
...
sys/dev/cardbus/cardbus_map.c. The detech function in
sys/dev/cardbus/if_tlp_cardbus.c uses cardbus_mapreg_unmap().
2000-02-04 07:59:20 +00:00
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