summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-06-01 07:11:17 +0000
committerscottl <scottl@FreeBSD.org>2005-06-01 07:11:17 +0000
commit5ebeded6feae61e5084184cb1ca9cbe34a694535 (patch)
tree3730b19820d72965392595e3c13d4205c6945172 /sys/dev/aac
parenta33aa1a503252c441edd39b870880ec64f7f3be7 (diff)
downloadFreeBSD-src-5ebeded6feae61e5084184cb1ca9cbe34a694535.zip
FreeBSD-src-5ebeded6feae61e5084184cb1ca9cbe34a694535.tar.gz
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
Diffstat (limited to 'sys/dev/aac')
-rw-r--r--sys/dev/aac/aac.c7
-rw-r--r--sys/dev/aac/aac_tables.h1
-rw-r--r--sys/dev/aac/aacreg.h1
3 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index ea71528..d8e1d1a 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -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));
diff --git a/sys/dev/aac/aac_tables.h b/sys/dev/aac/aac_tables.h
index 47ebd03..4ce82ac 100644
--- a/sys/dev/aac/aac_tables.h
+++ b/sys/dev/aac/aac_tables.h
@@ -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}
};
diff --git a/sys/dev/aac/aacreg.h b/sys/dev/aac/aacreg.h
index 9116beb..11357e3 100644
--- a/sys/dev/aac/aacreg.h
+++ b/sys/dev/aac/aacreg.h
@@ -429,6 +429,7 @@ typedef enum {
CPUARM_xxx,
CPUMPC_824x,
CPUPPC_xxx,
+ CPUI960_30X,
CPUSUBTYPE__last
} AAC_CpuSubType;
OpenPOWER on IntegriCloud