|
|
1.1 root 1: \ *****************************************************************************
2: \ * Copyright (c) 2004, 2008 IBM Corporation
3: \ * All rights reserved.
4: \ * This program and the accompanying materials
5: \ * are made available under the terms of the BSD License
6: \ * which accompanies this distribution, and is available at
7: \ * http://www.opensource.org/licenses/bsd-license.php
8: \ *
9: \ * Contributors:
10: \ * IBM Corporation - initial implementation
11: \ ****************************************************************************/
12:
13: my-space assign-all-device-bars
14: my-space pci-device-props
15: my-space pci-set-irq-line
16:
17: \ See the "ISA/EISA/ISA-PnP" OF binding document.
18:
19: .( isa)
20:
21: s" isa" 2dup device-name device-type
22: \ We have to say it's ISA i.s.o. LPC, as otherwise Linux can't find
23: \ the serial port for its console. Linux uses the name instead of the
24: \ device type (and it completely ignores any "compatible" property).
25:
26: 2 encode-int s" #address-cells" property
27: 1 encode-int s" #size-cells" property
28:
29: \ We assume all ISA addresses to refer to I/O space.
30: : decode-unit 1 hex-decode-unit 1 ;
31: : encode-unit drop 1 hex-encode-unit ;
32:
33: \ 32kB of ISA I/O space.
34: 1 encode-int my-space 01000000 + encode-64+ 0 encode-int+ 0 encode-int+
35: 8000 encode-int+ s" ranges" property
36:
37: : open true ;
38: : close ;
39:
40: \ There's a SIO chip on the LPC bus.
41: INCLUDE sio.fs
42:
43: \ There's also an Atmel TPM chip on JS21
44: \ removed on Bimini Pass 2 and therefore disabled on all Biminis
45: u4? bimini? not and ?INCLUDE tpm.fs
46:
47: \ And finally there's the IPMI interface to the BMC.
48: u4? ?INCLUDE ipmi-kcs.fs
49:
50: cr
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.