Commit Graph

58 Commits

Author SHA1 Message Date
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
joda
1ea6cd1de0 add cardbus_exrom.c to cardbus device 1999-10-29 11:31:40 +00:00
joda
54fed4c419 add support for reading memory mapped CIS via BAR or EXROM register 1999-10-29 11:30:27 +00:00
haya
47fc621312 Remove unnecessary check in cardbusmatch. 1999-10-29 07:29:08 +00:00
haya
dd9c83a378 Change cardbus messages when cardbus does not configured. 1999-10-29 07:27:43 +00:00
joda
8ff7881953 add macro to get ROM image number, given a CIS pointer 1999-10-28 22:29:04 +00:00
joda
12d5a03a7f code to read PCI expansion ROM 1999-10-28 22:27:00 +00:00
joda
4d92da53d4 allow mapping of the expansion rom 1999-10-27 14:14:18 +00:00
joda
132b3f5e57 add Expasion ROM register (0x30);
fix typo in Cardbus_conf_write
1999-10-27 14:09:52 +00:00
joda
d9c500abb3 (cardbus_attach_card): don't mask everything *but* the latency timer 1999-10-27 14:01:04 +00:00
haya
91b09f5b16 Change cardbus API. The first argument of cardbus_mapreg_map() is
changed to struct cardbus_softc * from cardbus_devfunc_t.  The old
function is renamed to Cardbus_mapreg_map().
1999-10-27 10:04:41 +00:00
haya
7b66141eed Use opt_cardbus.h for cardbus.c and opt_cardslot.h for cardslot.c.
Remove unnecessary include from cardbus.c.
1999-10-27 09:29:18 +00:00
drochner
87568e8d82 defopt the XNS protocol (options NS), clean up the use of related
option headers / defines
1999-10-25 19:18:10 +00:00