freebsd-nq/sys/sparc64
Marius Strobl dcb740a42a Some clean-up, style changes and changes that will reduce differences
between this driver and other Host-PCI bridge drivers based on this one:

- Make the code fit into 80 columns.
- Make the code adhere style(9) (don't use function calls in initializers,
  use uintXX_t instead of u_intXX_t, add missing prototypes, ...).
- Remove unused and superfluous struct declaration, softc member, casts,
  includes, etc.
- Use FBSDID.
- Sprinkle const.
- Try to make comments and messages consistent in style throughout the
  driver.
- Use convenience macros for the number of interrupts and ranges of the
  bridge.
- Use __func__ instead of hardcoded function names in panic strings and
  error messages. Some of the hardcoded function names actually were
  outdated through moving code around. [1]
- Rename softc members related to the PCI side of the bridge to sc_pci_*
  in order to make it clear which side of the bridge they refer to (so
  stuff like sc_bushandle vs. sc_bh is less confusing while reading the
  code).

PR:	76052 [1]
2005-11-22 21:34:26 +00:00
..
central - Convert these bus drivers to make use of the newly introduced set of 2005-11-22 16:39:44 +00:00
compile
conf Turn PUC_FASTINTR back off on by default on sparc64 since it breaks with 2005-11-21 21:40:33 +00:00
creator - Declare lookup tables etc. const. 2005-07-10 11:16:34 +00:00
ebus - Convert these bus drivers to make use of the newly introduced set of 2005-11-22 16:39:44 +00:00
fhc - Convert these bus drivers to make use of the newly introduced set of 2005-11-22 16:39:44 +00:00
include Add stoppcbs[] arrays on Alpha and sparc64 and have each CPU save its 2005-11-03 21:08:20 +00:00
isa - When iterating over the register resources of the children don't use 2005-05-19 15:47:37 +00:00
pci Some clean-up, style changes and changes that will reduce differences 2005-11-22 21:34:26 +00:00
sbus - Convert these bus drivers to make use of the newly introduced set of 2005-11-22 16:39:44 +00:00
sparc64 Eliminate pmap_init2(). It's no longer used. 2005-11-20 06:09:49 +00:00