Commit 2a137fd0 authored by Ben Collins's avatar Ben Collins

[SPARC64]: In clock_probe(), treat m5819p just like m5819.

parent 4c6ae316
......@@ -792,6 +792,7 @@ void __init clock_probe(void)
strcmp(model, "mk48t08") &&
strcmp(model, "mk48t59") &&
strcmp(model, "m5819") &&
strcmp(model, "m5819p") &&
strcmp(model, "ds1287")) {
if (cbus != NULL) {
prom_printf("clock_probe: Central bus lacks timer chip.\n");
......@@ -850,7 +851,8 @@ void __init clock_probe(void)
}
if (!strcmp(model, "ds1287") ||
!strcmp(model, "m5819")) {
!strcmp(model, "m5819") ||
!strcmp(model, "m5819p")) {
ds1287_regs = edev->resource[0].start;
} else {
mstk48t59_regs = edev->resource[0].start;
......@@ -870,7 +872,8 @@ void __init clock_probe(void)
prom_halt();
}
if (!strcmp(model, "ds1287") ||
!strcmp(model, "m5819")) {
!strcmp(model, "m5819") ||
!strcmp(model, "m5819p")) {
ds1287_regs = isadev->resource.start;
} else {
mstk48t59_regs = isadev->resource.start;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment