|
@@ -238,23 +238,6 @@ __ixp4xx_readsl(const volatile void __iomem *bus_addr, u32 *vaddr, u32 count)
|
|
|
#define memcpy_fromio(a,c,l) _memcpy_fromio((a),(c),(l))
|
|
|
#define memcpy_toio(c,a,l) _memcpy_toio((c),(a),(l))
|
|
|
|
|
|
-static inline int
|
|
|
-check_signature(const unsigned char __iomem *bus_addr, const unsigned char *signature,
|
|
|
- int length)
|
|
|
-{
|
|
|
- int retval = 0;
|
|
|
- do {
|
|
|
- if (readb(bus_addr) != *signature)
|
|
|
- goto out;
|
|
|
- bus_addr++;
|
|
|
- signature++;
|
|
|
- length--;
|
|
|
- } while (length);
|
|
|
- retval = 1;
|
|
|
-out:
|
|
|
- return retval;
|
|
|
-}
|
|
|
-
|
|
|
#endif
|
|
|
|
|
|
#ifndef CONFIG_PCI
|