git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
mips
/
pci
/
ops-tx4938.c
diff --git
a/arch/mips/pci/ops-tx4938.c
b/arch/mips/pci/ops-tx4938.c
index
4c0dcfc
..
4450070
100644
(file)
--- a/
arch/mips/pci/ops-tx4938.c
+++ b/
arch/mips/pci/ops-tx4938.c
@@
-34,16
+34,16
@@
struct resource pci_mem_resource = {
};
struct resource tx4938_pcic1_pci_io_resource = {
};
struct resource tx4938_pcic1_pci_io_resource = {
-
.name = "PCI1 IO",
-
.start = 0,
-
.end = 0,
-
.flags = IORESOURCE_IO
+ .name = "PCI1 IO",
+ .start = 0,
+ .end = 0,
+ .flags = IORESOURCE_IO
};
struct resource tx4938_pcic1_pci_mem_resource = {
};
struct resource tx4938_pcic1_pci_mem_resource = {
-
.name = "PCI1 mem",
-
.start = 0,
-
.end = 0,
-
.flags = IORESOURCE_MEM
+ .name = "PCI1 mem",
+ .start = 0,
+ .end = 0,
+ .flags = IORESOURCE_MEM
};
static int mkaddr(int bus, int dev_fn, int where, int *flagsp)
};
static int mkaddr(int bus, int dev_fn, int where, int *flagsp)
@@
-106,7
+106,7
@@
static int tx4938_pcibios_read_config(struct pci_bus *bus, unsigned int devfn,
switch (size) {
case 1:
switch (size) {
case 1:
- *val = *(volatile u8 *) ((ulong) & tx4938_pcicptr->g2pcfgdata |
+ *val = *(volatile u8 *) ((u
nsigned
long) & tx4938_pcicptr->g2pcfgdata |
#ifdef __BIG_ENDIAN
((where & 3) ^ 3));
#else
#ifdef __BIG_ENDIAN
((where & 3) ^ 3));
#else
@@
-114,7
+114,7
@@
static int tx4938_pcibios_read_config(struct pci_bus *bus, unsigned int devfn,
#endif
break;
case 2:
#endif
break;
case 2:
- *val = *(volatile u16 *) ((ulong) & tx4938_pcicptr->g2pcfgdata |
+ *val = *(volatile u16 *) ((u
nsigned
long) & tx4938_pcicptr->g2pcfgdata |
#ifdef __BIG_ENDIAN
((where & 3) ^ 2));
#else
#ifdef __BIG_ENDIAN
((where & 3) ^ 2));
#else
@@
-154,7
+154,7
@@
static int tx4938_pcibios_write_config(struct pci_bus *bus, unsigned int devfn,
switch (size) {
case 1:
switch (size) {
case 1:
- *(volatile u8 *) ((ulong) & tx4938_pcicptr->g2pcfgdata |
+ *(volatile u8 *) ((u
nsigned
long) & tx4938_pcicptr->g2pcfgdata |
#ifdef __BIG_ENDIAN
((where & 3) ^ 3)) = val;
#else
#ifdef __BIG_ENDIAN
((where & 3) ^ 3)) = val;
#else
@@
-162,7
+162,7
@@
static int tx4938_pcibios_write_config(struct pci_bus *bus, unsigned int devfn,
#endif
break;
case 2:
#endif
break;
case 2:
- *(volatile u16 *) ((ulong) & tx4938_pcicptr->g2pcfgdata |
+ *(volatile u16 *) ((u
nsigned
long) & tx4938_pcicptr->g2pcfgdata |
#ifdef __BIG_ENDIAN
((where & 0x3) ^ 0x2)) = val;
#else
#ifdef __BIG_ENDIAN
((where & 0x3) ^ 0x2)) = val;
#else