]> git.pld-linux.org Git - packages/xorg-driver-video-r128.git/blob - types.patch
- rediff patch, rel 3
[packages/xorg-driver-video-r128.git] / types.patch
1 diff -urNp -x '*.orig' xf86-video-r128-6.12.0.org/src/atipcirename.h xf86-video-r128-6.12.0/src/atipcirename.h
2 --- xf86-video-r128-6.12.0.org/src/atipcirename.h       2018-10-23 06:10:56.000000000 +0200
3 +++ xf86-video-r128-6.12.0/src/atipcirename.h   2021-11-04 00:00:29.275887352 +0100
4 @@ -36,6 +36,7 @@ enum region_type {
5  
6  #include <stdint.h>
7  #include "xf86Module.h"
8 +#include <sys/types.h>
9  
10  #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 12
11  
12 @@ -50,10 +51,10 @@ enum region_type {
13  #endif
14  #define PCI_DOMBUS_MASK (((PCI_DOM_MASK) << 8) | 0x0ffu)
15  
16 -static inline uint32_t
17 +static inline u_int32_t
18  pciTag(int busnum, int devnum, int funcnum)
19  {
20 -       uint32_t tag;
21 +       u_int32_t tag;
22         tag  = (busnum & (PCI_DOMBUS_MASK)) << 16;
23         tag |= (devnum & 0x00001fu) << 11;
24         tag |= (funcnum & 0x000007u) << 8;
This page took 0.097175 seconds and 3 git commands to generate.