From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] fix serial console on LinuxBIOS
Date: Sat, 10 Nov 2007 16:29:07 +0100 [thread overview]
Message-ID: <87pryii0fw.fsf@xs4all.nl> (raw)
In-Reply-To: <20071109213401.GG23437@thorin> (Robert Millan's message of "Fri, 9 Nov 2007 22:34:01 +0100")
Robert Millan <rmh@aybabtu.com> writes:
> On Fri, Nov 09, 2007 at 04:30:44PM +0100, Marco Gerards wrote:
>> Robert Millan <rmh@aybabtu.com> writes:
>>
>> > This patch fixes serial console on LinuxBIOS.
>> >
>> > I'd appreciate comments (specially on the <grub/machine/machine.h> addition).
>> >
>> > --
>> > Robert Millan
>> >
>> > <GPLv2> I know my rights; I want my phone call!
>> > <DRM> What use is a phone call, if you are unable to speak?
>> > (as seen on /.)
>> >
>>
>> No header ;)
>
> Uhm what header?
That's what I said ;-)
What I meant was something like:
2007-10-31 Robert Millan <rmh@aybabtu.com>
>> > * include/grub/i386/efi/machine.h: New file.
>> > * include/grub/i386/linuxbios/machine.h: Likewise.
>> > * include/grub/i386/pc/machine.h: Likewise.
>> > * include/grub/powerpc/ieee1275/machine.h: Likewise.
>> > * include/grub/sparc64/ieee1275/machine.h: Likewise.
>> >
>> > * term/i386/pc/serial.c: Include <grub/machine/machine.h>.
>> > (serial_hw_io_addr): New variable.
>> > (serial_hw_get_port): Obtain port address from `serial_hw_io_addr'
>> > instead of `(unsigned short *) 0x400'.
>>
>> This seems fine to me. What is your intended use for machine.h? More
>> than just this?
>
> Situations very similar to this one, in that you just need to change a few
> unportable lines while the overall structure of the file remains portable.
What I meant was: what should and shouldn't be added to this .h?
>> Perhaps we can even use autoconf to define this in config.h? That
>> would be better I think.
>
> autoconf already setups the cpu / machine symlinks. Why ask it to tell the
> same info twice?
Isn't that what you are doing now? But I have no objections to this
fix, please commit it :-)
--
Marco
next prev parent reply other threads:[~2007-11-10 15:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 20:53 [PATCH] fix serial console on LinuxBIOS Robert Millan
2007-11-08 2:02 ` Jerone Young
2007-11-08 21:30 ` Robert Millan
2007-11-09 15:30 ` Marco Gerards
2007-11-09 21:34 ` Robert Millan
2007-11-10 15:29 ` Marco Gerards [this message]
2007-11-10 20:25 ` Robert Millan
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=87pryii0fw.fsf@xs4all.nl \
--to=mgerards@xs4all.nl \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.