Re: /sys/firmware/dmi name change?

From: Mike Waychison
Date: Tue Apr 05 2011 - 14:57:46 EST


On Tue, Apr 5, 2011 at 10:30 AM, Greg KH <greg@xxxxxxxxx> wrote:
> On Tue, Apr 05, 2011 at 01:15:38PM -0400, Prarit Bhargava wrote:
>> commit 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 (and follow on commits)
>> introduced a new firmware directory called /sys/firmware/dmi which
>> provides broken out SMBIOS entries for userspace.
>>
>> In a previous discussion I've mentioned that it would be a good idea for
>> us to move away from using 'dmi' towards using 'smbios' and centralizing
>> the SMBIOS code that is scattered throughout the kernel.  One of my
>> changes was to export the SMBIOS information in a similar way that Mike
>> did in drivers/firmware/dmi-sysfs.c.
>>
>> Since this API is new for 2.6.39, can we change the name of the
>> directory to /sys/firmware/smbios?  Otherwise in 2.6.40, when further
>> changes are introduced to use SMBIOS in the kernel we will have to
>> change something that has been stable for one release.
>>
>> Mike?  Greg?  Alan?  What do you think?  IIUC, the interface isn't yet
>> "stable" so it should be changed now, correct?
>
> Fine with me if Mike's ok with it as well.  If so, someone send me a
> patch quick!

Sounds good to me.

>
> thanks,
>
> greg k-h
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/