Alexander Motin 15cb3b5404 pcib(4): Write window registers after resource adjustment
When adjusting resources we should write updated window base/limit into
the registers.  Without this newly added address range won't be routed
through the bridge properly.

Use MIN()/MAX() against current window base/limit to not shrink it on
the other side if the window is shared by several resources.

Align passed resource start/end to the set window granularity to keep
it properly aligned.  Currently this is mostly called by other bridges
having the same window alignment, but it may be change one day.

Reviewed by:	jrtc27, jhb
MFC after:	1 week
Sponsored by:	iXsystems, Inc.
Differential Revision: 	https://reviews.freebsd.org/D31693
2021-08-26 20:39:27 -04:00
..
2021-08-24 11:24:07 +00:00
2021-08-21 11:20:54 -04:00
2021-08-13 11:36:42 +03:00
2021-08-26 05:34:54 +08:00
2021-08-11 16:33:41 -04:00
2021-08-24 11:24:07 +00:00
2021-08-24 11:24:07 +00:00
2021-08-24 11:24:07 +00:00
2021-08-26 11:23:44 +02:00
2021-08-23 18:38:05 +00:00
2021-08-23 18:38:05 +00:00
2021-08-14 11:26:12 -04:00
2021-08-14 15:57:54 +03:00