From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: grub-devel@gnu.org
Subject: Re: [PATCH]: Fix CDROM skipping in ieee1275 ofdisk iterator.
Date: Mon, 07 Dec 2009 12:52:01 +0100 [thread overview]
Message-ID: <4B1CEC61.8040306@gmail.com> (raw)
In-Reply-To: <20091207.032118.35546400.davem@davemloft.net>
[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]
David Miller wrote:
> From: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>
> Date: Mon, 07 Dec 2009 12:05:24 +0100
>
>
>> Committed.
>> David Miller wrote:
>>
>>> I tried to surmise other ways to do this more cleanly, such as
>>> resolving the path and looking for some device property inside of the
>>> resulting node, but there simply isn't anything we can check for.
>>>
>>>
>>>
>> If you find a cleaner way we can commit it later. I was thinking of
>> resolving path to hardware one and then querying hardware directly but
>> it may conflict with OF. What do you think?
>>
>
> I don't think that is wise.
>
> We would then need two mappings, OF --> OS and OS --> OF for
> device naming.
I don't understand why we would need such a mapping. I meant to use full
OF path which gives us where device is attached physically and so we can
connect to it.
> And all of that complexity for what? This
> silly cdrom issue where a simple strncmp() is solving the
> problem quite well so far?
>
> There are conventions for alias names created by default by
> the firmware, so we should be OK with the patch I have written
> here.
>
>
The problem is that if user has defined additional aliases we fall into
original problem.
>> How much work would be needed to make ata.mod work on sparc64?
>>
>
> Probably a lot.
>
>
It already works on MIPS and AFAICT only thing it needs to work is PCI.
Do you mean that accessing PCI on sparc is a lot of work?
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]
next prev parent reply other threads:[~2009-12-07 11:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-07 6:48 [PATCH]: Fix CDROM skipping in ieee1275 ofdisk iterator David Miller
2009-12-07 11:05 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-07 11:21 ` David Miller
2009-12-07 11:52 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2009-12-07 19:49 ` David Miller
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=4B1CEC61.8040306@gmail.com \
--to=phcoder@gmail.com \
--cc=davem@davemloft.net \
--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.