1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/xf86-video-impact/hotfix-resrange.patch
3 # Copyright (C) 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- xf86-video-impact/src/impact_driver.c.vanilla 2024-04-09 23:25:03.051797285 +0200
15 +++ xf86-video-impact/src/impact_driver.c 2024-04-09 23:26:37.336796872 +0200
17 entity = xf86ClaimNoSlot(drv, 0, dev, TRUE);
18 if (probedIDs[j].sr) {
19 base = (IMPACTSR_BASE_ADDR0 + busID * IMPACTSR_BASE_OFFSET);
20 - RANGE(range[0], base,
21 - base + sizeof(ImpactSRRegs), ResExcMemBlock);
23 base = (IMPACTI2_BASE_ADDR0 + busID * IMPACTI2_BASE_OFFSET);
24 - RANGE(range[0], base,
25 - base + sizeof(ImpactI2Regs), ResExcMemBlock);
27 pScrn = xf86AllocateScreen(drv, 0);
28 xf86AddEntityToScreen(pScrn, entity);