bnx: Turn softc SHORTDMA flag into per TX ring flag

Avoid extra softc accessing during transmission.
bnx: Make "force defrag" as TX ring flag
bnx: Make sure that all of the TX rings receive tx_wreg update
lock(1): Do not require 'options COMPAT_43' in the kernel config.

We commented out COMPAT_43 in our configs some time ago, which broke
lock(1) that needed TIOCGETP and TIOCSETP ioctls which are only
available with COMPAT_43.

This commit converts lock(1) to use tcgetattr(3) and tcsetattr(3),
along with some minor cleanups.

Reported-by:  noway on #dragonflybsd
Submitted-by: Joris Giovannangeli <joris@giovannangeli.fr>
Taken-from:   FreeBSD
kernel: Unbreak building kernels that have 'options BNX_TSO_DEBUG'.
kernel: Remove 'options COMPAT_SUNOS'.

It was supposed to provide binary compatibility with SunOS 4.x for the
sparc32 port of 4.4BSD.