diff options
author | mdodd <mdodd@FreeBSD.org> | 2000-01-13 09:09:02 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2000-01-13 09:09:02 +0000 |
commit | c945c09e3c10772c9efea06d5c30a68cee55fbe3 (patch) | |
tree | d54cc53082fbe8540c6cf7b7a0c1ea9e85b140dc /sys/kern/subr_smp.c | |
parent | a6ceaaf2dd424868a9a6f110b91a1ccee7ab42bb (diff) | |
download | FreeBSD-src-c945c09e3c10772c9efea06d5c30a68cee55fbe3.zip FreeBSD-src-c945c09e3c10772c9efea06d5c30a68cee55fbe3.tar.gz |
Allow SMP systems with an MCA bus to work properly.
Reviewed by: peter
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r-- | sys/kern/subr_smp.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index ca8cfd2..8e349a9 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -688,10 +688,10 @@ static bus_type_name bus_type_table[] = {CBUS, "CBUS"}, {CBUSII, "CBUSII"}, {EISA, "EISA"}, - {UNKNOWN_BUSTYPE, "---"}, + {MCA, "MCA"}, {UNKNOWN_BUSTYPE, "---"}, {ISA, "ISA"}, - {UNKNOWN_BUSTYPE, "---"}, + {MCA, "MCA"}, {UNKNOWN_BUSTYPE, "---"}, {UNKNOWN_BUSTYPE, "---"}, {UNKNOWN_BUSTYPE, "---"}, @@ -712,10 +712,10 @@ static int default_data[7][5] = {1, 0, ISA, 255, 255}, {1, 0, EISA, 255, 255}, {1, 0, EISA, 255, 255}, - {0, 255, 255, 255, 255},/* MCA not supported */ + {1, 0, MCA, 255, 255}, {2, 0, ISA, 1, PCI}, {2, 0, EISA, 1, PCI}, - {0, 255, 255, 255, 255} /* MCA not supported */ + {2, 0, MCA, 1, PCI} }; @@ -1679,8 +1679,10 @@ default_mp_table(int type) case 1: case 2: case 3: + case 4: case 5: case 6: + case 7: bus_data[0].bus_id = default_data[type - 1][1]; bus_data[0].bus_type = default_data[type - 1][2]; bus_data[1].bus_id = default_data[type - 1][3]; |