diff options
Diffstat (limited to 'include/asm-alpha/io.h')
-rw-r--r-- | include/asm-alpha/io.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/asm-alpha/io.h b/include/asm-alpha/io.h index f5ae98c25d1f..5d15af24573b 100644 --- a/include/asm-alpha/io.h +++ b/include/asm-alpha/io.h | |||
@@ -533,19 +533,6 @@ extern void outsl (unsigned long port, const void *src, unsigned long count); | |||
533 | #define eth_io_copy_and_sum(skb,src,len,unused) \ | 533 | #define eth_io_copy_and_sum(skb,src,len,unused) \ |
534 | memcpy_fromio((skb)->data,src,len) | 534 | memcpy_fromio((skb)->data,src,len) |
535 | 535 | ||
536 | static inline int | ||
537 | check_signature(const volatile void __iomem *io_addr, | ||
538 | const unsigned char *signature, int length) | ||
539 | { | ||
540 | do { | ||
541 | if (readb(io_addr) != *signature) | ||
542 | return 0; | ||
543 | io_addr++; | ||
544 | signature++; | ||
545 | } while (--length); | ||
546 | return 1; | ||
547 | } | ||
548 | |||
549 | /* | 536 | /* |
550 | * The Alpha Jensen hardware for some rather strange reason puts | 537 | * The Alpha Jensen hardware for some rather strange reason puts |
551 | * the RTC clock at 0x170 instead of 0x70. Probably due to some | 538 | * the RTC clock at 0x170 instead of 0x70. Probably due to some |