From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Ishizaki Kou <kou.ishizaki@toshiba.co.jp>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH 17/19] powerpc: hypervisor console driver for Celleb
Date: Thu, 18 Jan 2007 11:40:04 +1100 [thread overview]
Message-ID: <1169080804.4965.31.camel@localhost.localdomain> (raw)
In-Reply-To: <200701120117.l0C1HbGR010830@toshiba.co.jp>
> +/* temp */
> +static int hvc_beat_init(void)
> +{
> + struct hvc_struct *hp;
> +
> + hp = hvc_alloc(0, NO_IRQ, &hvc_beat_get_put_ops, 16);
> + if (IS_ERR(hp))
> + return PTR_ERR(hp);
> + hvc_beat_dev = hp;
> + return 0;
> +}
Please test your are running on beat before initializing your stuff as
your driver might be built as part of a kernel that can boot other
machines.
> +static void __exit hvc_beat_exit(void)
> +{
> + if (hvc_beat_dev)
> + hvc_remove(hvc_beat_dev);
> +}
> +
> +module_init(hvc_beat_init);
> +module_exit(hvc_beat_exit);
> +
> +__setup("hvc_beat=", hvc_beat_config);
> +
> +console_initcall(hvc_beat_console_init);
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
next prev parent reply other threads:[~2007-01-18 0:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-12 1:17 [PATCH 17/19] powerpc: hypervisor console driver for Celleb Ishizaki Kou
2007-01-18 0:40 ` Benjamin Herrenschmidt [this message]
2007-01-18 7:53 ` Ishizaki Kou
-- strict thread matches above, loose matches on Subject: below --
2006-12-14 2:48 Ishizaki Kou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1169080804.4965.31.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=kou.ishizaki@toshiba.co.jp \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).