freebsd-dev/sys/dev/cardbus
John Baldwin 1b1596a3b3 - Add a bus_dma tag to each PCI bus that is a child of a Host-PCI bridge.
The tag enforces a single restriction that all DMA transactions must not
  cross a 4GB boundary.  Note that while this restriction technically only
  applies to PCI-express, this change applies it to all PCI devices as it
  is simpler to implement that way and errs on the side of caution.
- Add a softc structure for PCI bus devices to hold the bus_dma tag and
  a new pci_attach_common() routine that performs actions common to the
  attach phase of all PCI bus drivers.  Right now this only consists of
  a bootverbose printf and the allocate of a bus_dma tag if necessary.
- Adjust all PCI bus drivers to allocate a PCI bus softc and to call
  pci_attach_common() from their attach routines.

MFC after:	2 weeks
2012-03-02 20:38:04 +00:00
..
cardbus_cis.c Partially revert 222753: If a CardBus card stores its CIS in a BAR, delete 2011-09-12 15:21:52 +00:00
cardbus_cis.h
cardbus_device.c Remove unused variable. 2009-02-06 00:55:19 +00:00
cardbus.c - Add a bus_dma tag to each PCI bus that is a child of a Host-PCI bridge. 2012-03-02 20:38:04 +00:00
cardbusreg.h Turns out this isn't even used at all... The bogon that I was tracing was 2008-11-03 06:37:59 +00:00
cardbusvar.h Don't call destroy_dev on the alias. This fixes half a dozen PRs I think. 2008-12-02 04:54:31 +00:00