[patch 2/6] PS3: Remove unused os-area params
Geoff Levand
geoffrey.levand at am.sony.com
Tue Oct 9 03:53:32 EST 2007
Ranulf Doswell wrote:
> On 06/10/2007, *geoffrey.levand at am.sony.com
> <mailto:geoffrey.levand at am.sony.com>* <geoffrey.levand at am.sony.com
> <mailto:geoffrey.levand at am.sony.com>> wrote:
>
>> struct saved_params {
>>- /* param 0 */
>> s64 rtc_diff;
>> unsigned int av_multi_out;
>>- unsigned int ctrl_button;
>>- /* param 1 */
>>- u8 static_ip_addr[4];
>>- u8 network_mask[4];
>
>>- u8 default_gateway[4];
>>- /* param 2 */
>>- u8 dns_primary[4];
>>- u8 dns_secondary[4];
>> } static saved_params;
>
> As these values are correctly populated by the hypervisor from the
> preferences on the standard PS3 OS, it is incredibly useful to have this
> information available.
No, it is not used, and I never used it.
> Whilst none of the current 'popular' distributions use these fields, I
> am currently in the process of making a bootable CD image that does use
> them in order to initialise the network. Not having this information
> available means that the only sensible option is to use DHCP, which may
> well not be available in every case.
>
> Please can we have these fields back? They don't actually take up all
> that much room, yet they are incredibly useful.
As a general rule we don't put unused code into the kernel, and I have no
plan to provide the support you mention. Please submit a patch to the ML
with your feature for review.
-Geoff
More information about the Linuxppc-dev
mailing list