Add a text description for the Intel IOP302/303 processors. Be slightly

more verbose about the allocation of RAM on the controller.

Sbumitted by: Jeremy Chadwick
PR: kern/81259
MFC-After: 3 days
This commit is contained in:
Scott Long 2005-06-01 07:11:17 +00:00
parent 972d4b8211
commit b1c56c68b0
3 changed files with 7 additions and 2 deletions

View File

@ -2353,9 +2353,12 @@ aac_describe_controller(struct aac_softc *sc)
sc->aac_revision = info->KernelRevision;
if (bootverbose) {
device_printf(sc->aac_dev, "%s %dMHz, %dMB cache memory, %s\n",
device_printf(sc->aac_dev, "%s %dMHz, %dMB memory "
"(%dMB cache, %dMB execution), %s\n",
aac_describe_code(aac_cpu_variant, info->CpuVariant),
info->ClockSpeed, info->BufferMem / (1024 * 1024),
info->ClockSpeed, info->TotalMem / (1024 * 1024),
info->BufferMem / (1024 * 1024),
info->ExecutionMem / (1024 * 1024),
aac_describe_code(aac_battery_platform,
info->batteryPlatform));

View File

@ -83,6 +83,7 @@ static struct aac_code_lookup aac_cpu_variant[] = {
{"MPC824x", CPUMPC_824x},
{"Unknown StrongARM", CPUARM_xxx},
{"Unknown PowerPC", CPUPPC_xxx},
{"IOP302/303", CPUI960_30X},
{NULL, 0},
{"Unknown processor", 0}
};

View File

@ -429,6 +429,7 @@ typedef enum {
CPUARM_xxx,
CPUMPC_824x,
CPUPPC_xxx,
CPUI960_30X,
CPUSUBTYPE__last
} AAC_CpuSubType;