summaryrefslogtreecommitdiffstats
path: root/sys/dev/tws
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2013-03-01 19:55:10 +0000
committermarius <marius@FreeBSD.org>2013-03-01 19:55:10 +0000
commit433c85439320c5fb5ab884a7859928377bb59c64 (patch)
tree224e701fcc4a3651b1da8ae631223f39e52034e4 /sys/dev/tws
parent8dc4f9c4f210704409703954be38a00a4cbe1951 (diff)
downloadFreeBSD-src-433c85439320c5fb5ab884a7859928377bb59c64.zip
FreeBSD-src-433c85439320c5fb5ab884a7859928377bb59c64.tar.gz
- Make tables, device ID strings etc const. This includes #ifdef'ing 0
aac_command_status_table, which is actually unused since r111532. While at it, make aac_if a pointer to the now const interface tables instead of copying them over to the softc (this alone already reduces the size of aac.ko on amd64 by ~1 KiB). - Remove redundant softc members. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. - Remove redundant bzero(9)'ing of the softc. - Use pci_enable_busmaster(9) instead of duplicating it. - Remove redundant checking for PCIM_CMD_MEMEN (resource allocation will just fail). - Canonicalize the error messages in case of resource allocation failures. - Add support for using MSI instead of INTx, controllable via the tunable hw.aac.enable_msi (defaulting to on). MFC after: 1 month
Diffstat (limited to 'sys/dev/tws')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud