Merge tag 'amlogic-dt-2' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman...
[linux-2.6-block.git] / arch / x86 / kernel / eisa.c
CommitLineData
f7eaf6e0
TG
1/*
2 * EISA specific code
3 *
4 * This file is licensed under the GPL V2
5 */
6#include <linux/ioport.h>
7#include <linux/eisa.h>
ef1d4dea 8#include <linux/io.h>
f7eaf6e0
TG
9
10static __init int eisa_bus_probe(void)
11{
12 void __iomem *p = ioremap(0x0FFFD9, 4);
13
14 if (readl(p) == 'E' + ('I'<<8) + ('S'<<16) + ('A'<<24))
15 EISA_bus = 1;
16 iounmap(p);
17 return 0;
18}
19subsys_initcall(eisa_bus_probe);