[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rtc and chrony on Ultra 1 and Ultra 5



--- Frans Pop <aragorn@tiscali.nl> wrote:
> On Tuesday 19 April 2005 13:24, Frans Pop wrote:
> > ./drivers/char/rtc.c has this code:
> > <snip>
> > #ifdef __sparc__
> >         for_each_ebus(ebus) {
> >                 for_each_ebusdev(edev, ebus) {
>                           printk(KERN_INFO "rtc_init: ebus %s\n",
> edev->prom_name);
> >                         if(strcmp(edev->prom_name, "rtc") == 0) {
> >                                 rtc_port = edev->resource[0].start;
> >                                 rtc_irq = edev->irqs[0];
> >                                 goto found;
> >                         }
> >                 }
> >         }
> > </snip>
> 
> I've added a debug statement in this code, which gives the following
> output:
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus auxio
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus power
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus SUNW,pll
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus se
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus su
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus su
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus ecpp
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus fdthree
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus eeprom
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus flashprom
> Apr 19 20:39:22 localhost kernel: rtc_init: ebus SUNW,CS4231
> Apr 19 20:39:22 localhost kernel: rtc_init: no PC rtc found
> 
> So, apparently __sparc__ is defined for my U10. I also added a
> similar
> statement in the isa bus scan, so __sparc_v9__ is not set.


Shouldn't the SPARC V9 tag be on for an Ultra(SPARC) 10?


> Any ideas where the RTC could be hiding?



Reply to: