summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-03-24 00:30:17 +0000
committermarius <marius@FreeBSD.org>2012-03-24 00:30:17 +0000
commitb75a3f5d87cfdfa0d9b4db192f27b92f013f0be0 (patch)
tree4b514bc99996bd5587ab132a58b42b454da3c9ce /cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
parentb6120b1ceb9df6ba12c82abcc3d2ad85e7271c3c (diff)
downloadFreeBSD-src-b75a3f5d87cfdfa0d9b4db192f27b92f013f0be0.zip
FreeBSD-src-b75a3f5d87cfdfa0d9b4db192f27b92f013f0be0.tar.gz
- Use the PCI ID macros from mpi_cnfg.h rather than duplicating them here.
Note that this driver additionally probes some device IDs for the most part not know to other MPT drivers, if at all. So rename the macros not present in mpi_cnfg.h to match the naming scheme in the latter and but suffix them with a _FB in order to not cause conflicts. - Like mpt_set_config_regs(), comment out mpt_read_config_regs() as the content of the registers read isn't actually used and both functions aren't exactly up to date regarding the possible layouts of the BARs (these function might be helpful for debugging though, so don't remove them completely). - Use DEVMETHOD_END. - Use NULL rather than 0 for pointers. - Remove an unusual check for the softc being NULL. - Remove redundant zeroing of the softc. - Remove an overly banal and actually partly incorrect as well as partly outdated comment regarding the allocation of the memory resource. MFC after: 3 days
Diffstat (limited to 'cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud