]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- When creating the DMA tag for user data, don't ask for more segments
authormarius <marius@FreeBSD.org>
Sat, 26 May 2012 08:03:42 +0000 (08:03 +0000)
committermarius <marius@FreeBSD.org>
Sat, 26 May 2012 08:03:42 +0000 (08:03 +0000)
commit6389579efbe636140c3c1a1af0545afc328a0e5b
treeda8b2a658f386682eea1d33e851bd4298027320b
parent4f1c4001e841ceff0695420c7b69a3d3c178830f
- When creating the DMA tag for user data, don't ask for more segments
  than required for handling MAXPHYS and report the resulting maximum
  I/O size to CAM instead of implicitly limiting it to DFLTPHYS.
- Move the variables of sym_action2() out of nested scope as required
  by style(9) and remove extraneous curly braces.
- Replace a magic value for PCIR_COMMAND with the appropriate macro.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.

Tested with a HBA donated by wilko.

MFC after: 3 days
sys/dev/sym/sym_conf.h
sys/dev/sym/sym_hipd.c