On Fri, 2013-01-25 at 16:36 +0100, Tom Gundersen wrote: > This registers /sys/firmware/efi{,/efivars} whenever EFI is enabled > and the system supports it. > > This allows > *) userspace to check for the existence of /sys/firmware/efi as a way > to determine whether or it is running on an EFI system. > *) 'mount -t efivarfs none /sys/firmware/efi/efivars' without manually > loading any modules. > > Signed-off-by: Tom Gundersen <teg@xxxxxxx> > Cc: Matt Fleming <matt.fleming@xxxxxxxxx> > Cc: Kay Sievers <kay@xxxxxxxx> > Cc: Jeremy Kerr <jeremy.kerr@xxxxxxxxxxxxx> > Cc: Matthew Garrett <mjg59@xxxxxxxxxxxxx> > Cc: Chun-Yi Lee <jlee@xxxxxxxx> > Cc: Andy Whitcroft <apw@xxxxxxxxxxxxx> > --- > drivers/firmware/Makefile | 1 + > drivers/firmware/efisubsys.c | 52 ++++++++++++++++++++++++++++++++++++++++++++ > drivers/firmware/efivars.c | 30 +++++-------------------- > 3 files changed, 59 insertions(+), 24 deletions(-) > create mode 100644 drivers/firmware/efisubsys.c Tom, this patch is still on my radar. It's just that I thought it was *such* a good idea I decided to chainsaw the existing efivars code to make it more modular and eventually split things up into a new drivers/firmware/efi directory. Please bear with me. -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html