1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/dev/mpt
Marius Strobl fd61f4215c - 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
2012-03-24 00:30:17 +00:00
..
mpilib Change some headers such that lang/gcc* ports no longer patch them. 2012-02-14 12:50:20 +00:00
mpt_cam.c
mpt_cam.h
mpt_debug.c
mpt_pci.c - Use the PCI ID macros from mpi_cnfg.h rather than duplicating them here. 2012-03-24 00:30:17 +00:00
mpt_raid.c
mpt_raid.h
mpt_reg.h
mpt_user.c
mpt.c
mpt.h - Use the PCI ID macros from mpi_cnfg.h rather than duplicating them here. 2012-03-24 00:30:17 +00:00