summaryrefslogtreecommitdiff
blob: 37d577a02494005faa0b37525304b63981be1057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- pci.c	2005-07-20 16:12:35.000000000 -0400
+++ /usr/local/cvs/gentoo-src/Xorgautoconfig/pci.c	2005-10-17 14:15:29.000000000 -0400
@@ -24,7 +24,7 @@
   struct device *next;
   struct pci_dev *dev;
   unsigned int config_cnt;
-  byte config[256];
+  u8 config[256];
 };
 
 struct device *first_dev;
@@ -67,7 +67,7 @@
       }
 }
 
-word get_conf_word(struct device *d, unsigned int pos)
+u16 get_conf_word(struct device *d, unsigned int pos)
 {
   return d->config[pos] | (d->config[pos+1] << 8);
 }
@@ -76,7 +76,7 @@
 {
   struct device *d;
   struct pci_dev *p;
-  word w;
+  u16 w;
   
   pacc = pci_alloc();
   pci_filter_init(pacc, &filter);