![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0-only 0002 /* 0003 * EISA specific code 0004 */ 0005 #include <linux/ioport.h> 0006 #include <linux/eisa.h> 0007 #include <linux/io.h> 0008 0009 #include <xen/xen.h> 0010 0011 static __init int eisa_bus_probe(void) 0012 { 0013 void __iomem *p; 0014 0015 if (xen_pv_domain() && !xen_initial_domain()) 0016 return 0; 0017 0018 p = ioremap(0x0FFFD9, 4); 0019 if (p && readl(p) == 'E' + ('I' << 8) + ('S' << 16) + ('A' << 24)) 0020 EISA_bus = 1; 0021 iounmap(p); 0022 return 0; 0023 } 0024 subsys_initcall(eisa_bus_probe);
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |