On 2012-01-23 13:00, Hervé Poussineau wrote: > Jan Kiszka a écrit : >> On 2012-01-23 10:18, Hervé Poussineau wrote: >>> rtc instanciated with -device has now a working irq line >> >> That makes no sense. The mc146818rtc is no_user - for a reason. >> >> What is the use case you are trying to address? >> > > I wanted to be able to instanciate it with isa_create_simple(isa_bus, > "mc146818rtc") in machine init code.
Why? > I don't see any good reason why a rtc created this way can't work. You will still need to set the base year then, manually. And your machine has no legacy RTC replacement logic like the PC? I just don't get the benefit. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
