opnsense-src/sys/dev/mrsas
Alexander Motin 156b889469 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.

(cherry picked from commit fa3d57c256)
2021-08-02 11:56:10 -04:00
..
mrsas.c mrsas(4): Report more correct maximum I/O size. 2021-08-02 11:56:10 -04:00
mrsas.h [POWERPC64BE] mrsas: add big-endian support 2021-02-04 02:58:19 -03:00
mrsas_cam.c mrsas(4): Report more correct maximum I/O size. 2021-08-02 11:56:10 -04:00
mrsas_fp.c [POWERPC64BE] mrsas: add big-endian support 2021-02-04 02:58:19 -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