All of lore.kernel.org
 help / color / mirror / Atom feed
* arch-specific files
@ 2005-08-06 15:04 Yoshinori K. Okuji
  2005-08-07 14:15 ` Yoshinori K. Okuji
  0 siblings, 1 reply; 7+ messages in thread
From: Yoshinori K. Okuji @ 2005-08-06 15:04 UTC (permalink / raw)
  To: The development of GRUB 2

Hollis put ieee1275.c under the directory kern directly, and I don't feel 
comfortable with this. Even if that file is shared by multiple cpu types, it 
is still arch-dependent.

I'm thinking what directory should be used for this. Usually, we use 
CPU/PLATFORM, so these are possible:

generic/ieee1275
common/ieee1275
any/ieee1275

I don't know which is good. What is your opinion?

Okuji



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arch-specific files
  2005-08-06 15:04 arch-specific files Yoshinori K. Okuji
@ 2005-08-07 14:15 ` Yoshinori K. Okuji
  2005-08-09  3:37   ` Hollis Blanchard
  0 siblings, 1 reply; 7+ messages in thread
From: Yoshinori K. Okuji @ 2005-08-07 14:15 UTC (permalink / raw)
  To: The development of GRUB 2

On Saturday 06 August 2005 17:04, Yoshinori K. Okuji wrote:
> Hollis put ieee1275.c under the directory kern directly, and I don't feel
> comfortable with this. Even if that file is shared by multiple cpu types,
> it is still arch-dependent.
>
> I'm thinking what directory should be used for this. Usually, we use
> CPU/PLATFORM, so these are possible:
>
> generic/ieee1275
> common/ieee1275
> any/ieee1275
>
> I don't know which is good. What is your opinion?

For now, I just put it in kern/ieee1275.

Okuji



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arch-specific files
  2005-08-07 14:15 ` Yoshinori K. Okuji
@ 2005-08-09  3:37   ` Hollis Blanchard
  2005-08-09  6:36     ` Yoshinori K. Okuji
  0 siblings, 1 reply; 7+ messages in thread
From: Hollis Blanchard @ 2005-08-09  3:37 UTC (permalink / raw)
  To: The development of GRUB 2

On Aug 7, 2005, at 9:15 AM, Yoshinori K. Okuji wrote:

> On Saturday 06 August 2005 17:04, Yoshinori K. Okuji wrote:
>> Hollis put ieee1275.c under the directory kern directly, and I don't 
>> feel
>> comfortable with this. Even if that file is shared by multiple cpu 
>> types,
>> it is still arch-dependent.
>>
>> I'm thinking what directory should be used for this. Usually, we use
>> CPU/PLATFORM, so these are possible:
>>
>> generic/ieee1275
>> common/ieee1275
>> any/ieee1275
>>
>> I don't know which is good. What is your opinion?
>
> For now, I just put it in kern/ieee1275.

Since "of" is a very common English word, it is not a good file or 
variable name. We have standardized on the full "ieee1275" for both, so 
I have renamed this file.

-Hollis




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arch-specific files
  2005-08-09  3:37   ` Hollis Blanchard
@ 2005-08-09  6:36     ` Yoshinori K. Okuji
  2005-08-09 13:23       ` Marco Gerards
  0 siblings, 1 reply; 7+ messages in thread
From: Yoshinori K. Okuji @ 2005-08-09  6:36 UTC (permalink / raw)
  To: The development of GRUB 2

On Tuesday 09 August 2005 05:37, Hollis Blanchard wrote:
> Since "of" is a very common English word, it is not a good file or
> variable name. We have standardized on the full "ieee1275" for both, so
> I have renamed this file.

OK. That makes sense. Just a question: why do we still use "of" in some places 
then? Like ofconsole.c. Why isn't it just console.c?

Okuji



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arch-specific files
  2005-08-09  6:36     ` Yoshinori K. Okuji
@ 2005-08-09 13:23       ` Marco Gerards
  2005-08-09 14:05         ` Hollis Blanchard
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Gerards @ 2005-08-09 13:23 UTC (permalink / raw)
  To: The development of GRUB 2

"Yoshinori K. Okuji" <okuji@enbug.org> writes:

> On Tuesday 09 August 2005 05:37, Hollis Blanchard wrote:
>> Since "of" is a very common English word, it is not a good file or
>> variable name. We have standardized on the full "ieee1275" for both, so
>> I have renamed this file.
>
> OK. That makes sense. Just a question: why do we still use "of" in some places 
> then? Like ofconsole.c. Why isn't it just console.c?

It can be renamed if you think it is important..  I have chosen this
name in case another type of console is required for powerpc/ieee1275.
For example on the old world mac there is no console support in open
firmware AFAIK.  But the old world port related things do belong in
powerpc/ieee1275.

--
Marco




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arch-specific files
  2005-08-09 13:23       ` Marco Gerards
@ 2005-08-09 14:05         ` Hollis Blanchard
  2005-08-09 14:22           ` Marco Gerards
  0 siblings, 1 reply; 7+ messages in thread
From: Hollis Blanchard @ 2005-08-09 14:05 UTC (permalink / raw)
  To: The development of GRUB 2

On Aug 9, 2005, at 8:23 AM, Marco Gerards wrote:

> "Yoshinori K. Okuji" <okuji@enbug.org> writes:
>
>> On Tuesday 09 August 2005 05:37, Hollis Blanchard wrote:
>>> Since "of" is a very common English word, it is not a good file or
>>> variable name. We have standardized on the full "ieee1275" for both, 
>>> so
>>> I have renamed this file.
>>
>> OK. That makes sense. Just a question: why do we still use "of" in 
>> some places
>> then? Like ofconsole.c. Why isn't it just console.c?
>
> It can be renamed if you think it is important..  I have chosen this
> name in case another type of console is required for powerpc/ieee1275.
> For example on the old world mac there is no console support in open
> firmware AFAIK.  But the old world port related things do belong in
> powerpc/ieee1275.

That's not true; Old World Macs do have some sort of console support. 
The problems are varied: some systems don't have a working video driver 
(but if you know what you're doing, you can use the serial ports). 
Other systems default to the serial ports, so a user expecting an 
interface on their monitor will be disappointed. But technically these 
are not console driver issues.

I agree that "ofconsole" is named inconsistently.

-Hollis




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arch-specific files
  2005-08-09 14:05         ` Hollis Blanchard
@ 2005-08-09 14:22           ` Marco Gerards
  0 siblings, 0 replies; 7+ messages in thread
From: Marco Gerards @ 2005-08-09 14:22 UTC (permalink / raw)
  To: The development of GRUB 2

Hollis Blanchard <hollis@penguinppc.org> writes:

>>> OK. That makes sense. Just a question: why do we still use "of" in
>>> some places
>>> then? Like ofconsole.c. Why isn't it just console.c?
>>
>> It can be renamed if you think it is important..  I have chosen this
>> name in case another type of console is required for powerpc/ieee1275.
>> For example on the old world mac there is no console support in open
>> firmware AFAIK.  But the old world port related things do belong in
>> powerpc/ieee1275.
>
> That's not true; Old World Macs do have some sort of console
> support. The problems are varied: some systems don't have a working
> video driver (but if you know what you're doing, you can use the
> serial ports). Other systems default to the serial ports, so a user
> expecting an interface on their monitor will be disappointed. But
> technically these are not console driver issues.

With no console support I meant no console support on the monitor.

--
Marco




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-08-09 14:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-06 15:04 arch-specific files Yoshinori K. Okuji
2005-08-07 14:15 ` Yoshinori K. Okuji
2005-08-09  3:37   ` Hollis Blanchard
2005-08-09  6:36     ` Yoshinori K. Okuji
2005-08-09 13:23       ` Marco Gerards
2005-08-09 14:05         ` Hollis Blanchard
2005-08-09 14:22           ` Marco Gerards

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.