On Thu, Oct 17, 2013 at 7:04 PM, Ingo Jürgensmann <i...@2013.bluespice.org> 
wrote:
>> "debug=ser" and "debug=mem" share the same struct console.
>> "debug=ser" does:
>>        amiga_console_driver.write = amiga_serial_console_write;
>>        register_console(&amiga_console_driver);
>> "debug=mem" does:
>>        amiga_console_driver.write = amiga_mem_console_write;
>>        register_console(&amiga_console_driver);
>> and then the core console code complains it's registered twice, so
>> it ignores the second one. Hence it's harmless (but the second one won't
>> work).
>
> In fact, dmesg on AmigaOS worked as well and produced the same output. :-)

Ah yes, it didn't get registered again, but as amiga_console_driver.write
got overwritten, it still used the mem console.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


--
To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/camuhmdw7yxjwvhk6ufxfakt8wasrvoxsjqtmgekajtb7zvq...@mail.gmail.com

Reply via email to