[MIPS] Remove BSD and Sys V compat data types.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -119,7 +119,7 @@ static int tx4927_pcibios_read_config(struct pci_bus *bus, unsigned int devfn, i
|
||||
|
||||
switch (size) {
|
||||
case 1:
|
||||
*val = *(volatile u8 *) ((ulong) & tx4927_pcicptr->
|
||||
*val = *(volatile u8 *) ((unsigned long) & tx4927_pcicptr->
|
||||
g2pcfgdata |
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
(where & 3));
|
||||
@@ -128,7 +128,7 @@ static int tx4927_pcibios_read_config(struct pci_bus *bus, unsigned int devfn, i
|
||||
#endif
|
||||
break;
|
||||
case 2:
|
||||
*val = *(volatile u16 *) ((ulong) & tx4927_pcicptr->
|
||||
*val = *(volatile u16 *) ((unsigned long) & tx4927_pcicptr->
|
||||
g2pcfgdata |
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
(where & 3));
|
||||
@@ -168,7 +168,7 @@ static int tx4927_pcibios_write_config(struct pci_bus *bus, unsigned int devfn,
|
||||
|
||||
switch (size) {
|
||||
case 1:
|
||||
*(volatile u8 *) ((ulong) & tx4927_pcicptr->
|
||||
*(volatile u8 *) ((unsigned long) & tx4927_pcicptr->
|
||||
g2pcfgdata |
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
(where & 3)) = val;
|
||||
@@ -178,7 +178,7 @@ static int tx4927_pcibios_write_config(struct pci_bus *bus, unsigned int devfn,
|
||||
break;
|
||||
|
||||
case 2:
|
||||
*(volatile u16 *) ((ulong) & tx4927_pcicptr->
|
||||
*(volatile u16 *) ((unsigned long) & tx4927_pcicptr->
|
||||
g2pcfgdata |
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
(where & 3)) = val;
|
||||
|
@@ -106,7 +106,7 @@ static int tx4938_pcibios_read_config(struct pci_bus *bus, unsigned int devfn,
|
||||
|
||||
switch (size) {
|
||||
case 1:
|
||||
*val = *(volatile u8 *) ((ulong) & tx4938_pcicptr->g2pcfgdata |
|
||||
*val = *(volatile u8 *) ((unsigned long) & tx4938_pcicptr->g2pcfgdata |
|
||||
#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:
|
||||
*val = *(volatile u16 *) ((ulong) & tx4938_pcicptr->g2pcfgdata |
|
||||
*val = *(volatile u16 *) ((unsigned long) & tx4938_pcicptr->g2pcfgdata |
|
||||
#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:
|
||||
*(volatile u8 *) ((ulong) & tx4938_pcicptr->g2pcfgdata |
|
||||
*(volatile u8 *) ((unsigned long) & tx4938_pcicptr->g2pcfgdata |
|
||||
#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:
|
||||
*(volatile u16 *) ((ulong) & tx4938_pcicptr->g2pcfgdata |
|
||||
*(volatile u16 *) ((unsigned long) & tx4938_pcicptr->g2pcfgdata |
|
||||
#ifdef __BIG_ENDIAN
|
||||
((where & 0x3) ^ 0x2)) = val;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user