1. 30 4月, 2011 4 次提交
    • M
      driver: Google EFI SMI · 74c5b31c
      Mike Waychison 提交于
      The "gsmi" driver bridges userland with firmware specific routines for
      accessing hardware.
      
      Currently, this driver only supports NVRAM and eventlog information.
      Deprecated functions have been removed from the driver, though their
      op-codes are left in place so that they are not re-used.
      
      This driver works by trampolining into the firmware via the smi_command
      outlined in the FADT table.  Three protocols are used due to various
      limitations over time, but all are included herein.
      
      This driver should only ever load on Google boards, identified by either
      a "Google, Inc." board vendor string in DMI, or "GOOGLE" in the OEM
      strings of the FADT ACPI table.  This logic happens in
      gsmi_system_valid().
      Signed-off-by: NDuncan Laurie <dlaurie@google.com>
      Signed-off-by: NAaron Durbin <adurbin@google.com>
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      74c5b31c
    • M
      x86: Better comments for get_bios_ebda() · f548ccd4
      Mike Waychison 提交于
      Make the comments a bit clearer for get_bios_ebda so that it actually
      tells us what it is returning.
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f548ccd4
    • M
      x86: get_bios_ebda_length() · 57d5f9f8
      Mike Waychison 提交于
      Add a wrapper routine that tells us the length of the EBDA if it is
      present.  This guy also ensures that the returned length doesn't let the
      EBDA run past the 640KiB mark.
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      57d5f9f8
    • R
      misc: fix ti-st build issues · 773d6790
      Randy Dunlap 提交于
      st_drv uses skb*() interfaces, so it should depend on NET.
      It also uses GPIO interfaces, so it should depend on GPIOLIB.
      
      st_kim.c uses syss_*() calls, so it should #include
      <linux/sysfs.h>.
      
      Fixes these observed build errors:
      ERROR: "skb_queue_purge" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "skb_pull" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "skb_queue_tail" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "__alloc_skb" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "kfree_skb" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "skb_dequeue" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "skb_put" [drivers/misc/ti-st/st_drv.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Pavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      773d6790
  2. 26 4月, 2011 4 次提交
  3. 23 4月, 2011 9 次提交
  4. 20 4月, 2011 13 次提交
  5. 19 4月, 2011 10 次提交