freebsd-nq/sys/dev/mrsas
Alexander Motin fa3d57c256 mrsas(4): Report more correct maximum I/O size.
Subtract one SGE for the case of misaligned address.  Also take into
account maximum number of sectors reported by firmware, that gives
nicer 256KB limit instead of 276KB calculated from the SGE limit.

While there, remove number of I/O size checks, duplicating what is
already checked by CAM and busdma(9).

MFC after:	1 month
Sponsored by:	iXsystems, Inc.
2021-07-01 15:37:01 -04:00
..
mrsas_cam.c mrsas(4): Report more correct maximum I/O size. 2021-07-01 15:37:01 -04:00
mrsas_fp.c [POWERPC64BE] mrsas: add big-endian support 2021-02-03 22:06:21 -03:00
mrsas_ioctl.c Use uintptr_t instead of unsigned long for pointers. 2020-12-16 00:13:32 +00:00
mrsas_ioctl.h mrsas: clean up empty lines in .c and .h files 2020-09-01 22:06:23 +00:00
mrsas_linux.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
mrsas.c mrsas(4): Report more correct maximum I/O size. 2021-07-01 15:37:01 -04:00
mrsas.h [POWERPC64BE] mrsas: add big-endian support 2021-02-03 22:06:21 -03:00