mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 20:37:06 +00:00
fix AS1000/AS1000A support. It turns out the that iobus depends on the
CPU version (apecs:ev4::cia:ev5) and the irq hardware depends on the systype previously, only ev4 AS1000s and ev5 AS1000a's would have worked. tested by: wilko (in its -stable form) noticed by: daniel
This commit is contained in:
parent
1b771c9281
commit
f4aea0e88a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69883
|
@ -148,6 +148,15 @@ dec_1000a_init(int cputype)
|
|||
case PCS_PROC_EV4:
|
||||
case PCS_PROC_EV45:
|
||||
platform.iobus = "apecs";
|
||||
break;
|
||||
|
||||
default:
|
||||
platform.iobus = "cia";
|
||||
break;
|
||||
}
|
||||
platform.cons_init = dec_1000a_cons_init;
|
||||
switch (cputype) {
|
||||
case ST_DEC_1000:
|
||||
platform.pci_intr_route = dec_1000_intr_route;
|
||||
platform.pci_intr_disable = dec_1000_intr_disable;
|
||||
platform.pci_intr_enable = dec_1000_intr_enable;
|
||||
|
@ -155,14 +164,13 @@ dec_1000a_init(int cputype)
|
|||
break;
|
||||
|
||||
default:
|
||||
platform.iobus = "cia";
|
||||
platform.pci_intr_route = dec_1000a_intr_route;
|
||||
platform.pci_intr_disable = dec_1000a_intr_disable;
|
||||
platform.pci_intr_enable = dec_1000a_intr_enable;
|
||||
platform.pci_intr_init = dec_1000a_intr_init;
|
||||
break;
|
||||
}
|
||||
platform.cons_init = dec_1000a_cons_init;
|
||||
|
||||
}
|
||||
|
||||
/* XXX for forcing comconsole when srm serial console is used */
|
||||
|
|
Loading…
Reference in a new issue