diff options
author | raj <raj@FreeBSD.org> | 2008-12-18 18:27:12 +0000 |
---|---|---|
committer | raj <raj@FreeBSD.org> | 2008-12-18 18:27:12 +0000 |
commit | 188fbdbc6c6e07890800f4b1e6081abd971e1c8b (patch) | |
tree | 414398636e7b21076b7dbacfa639c59ac00f1658 /sys/powerpc/mpc85xx/mpc85xx.h | |
parent | 021bbbd29f0cd53f8701fb27bd43a344f5bb02f7 (diff) | |
download | FreeBSD-src-188fbdbc6c6e07890800f4b1e6081abd971e1c8b.zip FreeBSD-src-188fbdbc6c6e07890800f4b1e6081abd971e1c8b.tar.gz |
Extend and improve MPC85XX Local Bus management.
- Make LBC resources management self-contained: introduce explicit LBC
resources definition (much like the OCP), provide dedicated rman for LB mem
space.
- Full configuration of an LB chip select device: program LAW and BR/OR, map
into KVA, handle all LB attributes (bus width, machine select, ecc,
write protect etc).
- Factor out LAW manipulation routines into shared code, adjust OCP area
accordingly.
- Other LBC fixes and clean-ups.
Obtained from: Semihalf
Diffstat (limited to 'sys/powerpc/mpc85xx/mpc85xx.h')
-rw-r--r-- | sys/powerpc/mpc85xx/mpc85xx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/mpc85xx/mpc85xx.h b/sys/powerpc/mpc85xx/mpc85xx.h index 525783a..4d31b58 100644 --- a/sys/powerpc/mpc85xx/mpc85xx.h +++ b/sys/powerpc/mpc85xx/mpc85xx.h @@ -31,5 +31,7 @@ uint32_t ccsr_read4(uintptr_t addr); void ccsr_write4(uintptr_t addr, uint32_t val); +int law_enable(int trgt, u_long addr, u_long size); +int law_disable(int trgt, u_long addr, u_long size); #endif /* _MPC85XX_H_ */ |