freebsd-dev/sys/dev/cardbus
Jonathan Chen c669d6a002 1) When mucking with mapping registers, it is best to *not* have
io or memory space access enabled.  This patch defers the setting
   of these bits until after all of the mapping registers are probed.
   It might be even better to defer this until a particular mapping
   is activated and to disable that type of access when a new
   register is activated.

2) The PCI spec is very explicit about how mapping registers and
   the expansion ROM mapping register should be probed.  This patch
   makes cardbus_add_map() follow the spec.

3) The PCI spec allows a device to use the same address decoder for
   expansion ROM access as is used for memory mapped register access.
   This patch carefully enables and disables ROM access along with
   resource (de)activiation.

This doesn't include the prefetching detection stuff (maybe later when code is written to actually turn on prefetching).  It also does not use the PCI definitions (yet, I'll try to put this in all at once later)

Submitted by: Justin T. Gibbs
2000-11-28 00:52:40 +00:00
..
cardbus_cis.c 1) When mucking with mapping registers, it is best to *not* have 2000-11-28 00:52:40 +00:00
cardbus_cis.h Initial commit of NEWCARD cardbus side (that actually compiles and works) 2000-10-18 03:25:13 +00:00
cardbus.c 1) When mucking with mapping registers, it is best to *not* have 2000-11-28 00:52:40 +00:00
cardbusreg.h 1) When mucking with mapping registers, it is best to *not* have 2000-11-28 00:52:40 +00:00
cardbusvar.h Initial commit of NEWCARD cardbus side (that actually compiles and works) 2000-10-18 03:25:13 +00:00