]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ahc(4): Default to memory mapped IO
authorHP van Braam <hp@tmm.cx>
Fri, 10 May 2024 02:13:03 +0000 (20:13 -0600)
committerWarner Losh <imp@FreeBSD.org>
Fri, 10 May 2024 02:15:08 +0000 (20:15 -0600)
commitc733dc7a6f866eeae0ac7762e6f1dee22e24c4d3
tree152fef928fb33cfa3dcf6c0b37d58fa6b28d663a
parent09025a7147084783bf1dd4d1bec463ceab8d16b4
ahc(4): Default to memory mapped IO

When this driver was written it made sense to make this default to off,
but these days almost all BIOSses will do the right thing. Furthermore
non-mmio communication only works on Intel architectures.

So lets default to allowing mmio, but not change the semantics of the
AHC_ALLOW_MEMIO flag to not break existing installs. Also document the
already existing hint.ahc.<unit>.allow_memio.

Signed-off-by: HP van Braam <hp@tmm.cx>
Reviewed by: imp (small style tweak)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1219
share/man/man4/ahc.4
sys/dev/aic7xxx/ahc_pci.c
sys/powerpc/conf/GENERIC
sys/powerpc/conf/GENERIC64
sys/powerpc/conf/GENERIC64LE