[TC] TURBOchannel support for the DECstation
This is the platform-specific part of TURBOchannel bus support for the DECstation. It implements determining whether the bus is actually there, getting bus parameters, IRQ assignments for devices and protected accesses to possibly unoccupied slots that may trigger bus error exceptions. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
56a47da1b9
commit
33cf45b90e
@@ -88,6 +88,7 @@ static inline void prom_init_kn02(void)
|
||||
{
|
||||
dec_kn_slot_base = KN02_SLOT_BASE;
|
||||
dec_kn_slot_size = KN02_SLOT_SIZE;
|
||||
dec_tc_bus = 1;
|
||||
|
||||
dec_rtc_base = (void *)CKSEG1ADDR(dec_kn_slot_base + KN02_RTC);
|
||||
}
|
||||
@@ -96,6 +97,7 @@ static inline void prom_init_kn02xa(void)
|
||||
{
|
||||
dec_kn_slot_base = KN02XA_SLOT_BASE;
|
||||
dec_kn_slot_size = IOASIC_SLOT_SIZE;
|
||||
dec_tc_bus = 1;
|
||||
|
||||
ioasic_base = (void *)CKSEG1ADDR(dec_kn_slot_base + IOASIC_IOCTL);
|
||||
dec_rtc_base = (void *)CKSEG1ADDR(dec_kn_slot_base + IOASIC_TOY);
|
||||
@@ -105,6 +107,7 @@ static inline void prom_init_kn03(void)
|
||||
{
|
||||
dec_kn_slot_base = KN03_SLOT_BASE;
|
||||
dec_kn_slot_size = IOASIC_SLOT_SIZE;
|
||||
dec_tc_bus = 1;
|
||||
|
||||
ioasic_base = (void *)CKSEG1ADDR(dec_kn_slot_base + IOASIC_IOCTL);
|
||||
dec_rtc_base = (void *)CKSEG1ADDR(dec_kn_slot_base + IOASIC_TOY);
|
||||
|
Reference in New Issue
Block a user