[SPARC64]: Accept 'm5823' clock chip as seen on SB1500.
Linux Kernel Mailing List <[email protected]> Wed, 02 Mar 2005 22:12:47 +0000
| Newsgroups | gmane.linux.kernel.commits.2-4 |
|---|---|
| Message-ID | <[email protected]> |
ChangeSet 1.1560, 2005/03/02 14:12:47-08:00, [email protected] [SPARC64]: Accept 'm5823' clock chip as seen on SB1500. Signed-off-by: David S. Miller <[email protected]> time.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff -Nru a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c --- a/arch/sparc64/kernel/time.c 2005-03-04 12:03:30 -08:00 +++ b/arch/sparc64/kernel/time.c 2005-03-04 12:03:30 -08:00 @@ -770,6 +770,7 @@ strcmp(model, "mk48t59") && strcmp(model, "m5819") && strcmp(model, "m5819p") && + strcmp(model, "m5823") && strcmp(model, "ds1287")) { if (cbus != NULL) { prom_printf("clock_probe: Central bus lacks timer chip.\n"); @@ -829,7 +830,8 @@ if (!strcmp(model, "ds1287") || !strcmp(model, "m5819") || - !strcmp(model, "m5819p")) { + !strcmp(model, "m5819p") || + !strcmp(model, "m5823")) { ds1287_regs = edev->resource[0].start; } else { mstk48t59_regs = edev->resource[0].start; @@ -850,7 +852,8 @@ } if (!strcmp(model, "ds1287") || !strcmp(model, "m5819") || - !strcmp(model, "m5819p")) { + !strcmp(model, "m5819p") || + !strcmp(model, "m5823")) { ds1287_regs = isadev->resource.start; } else { mstk48t59_regs = isadev->resource.start;