/* * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. * The full GNU General Public License is included in this distribution * in the file called LICENSE.GPL. */ /* probe_roms - scan for oem parameters */ #include <linux/kernel.h> #include <linux/firmware.h> #include <linux/uaccess.h> #include <linux/efi.h> #include <asm/probe_roms.h> #include "isci.h" #include "task.h" #include "probe_roms.h" static efi_char16_t isci_efivar_name[] = …; struct isci_orom *isci_request_oprom(struct pci_dev *pdev) { … } struct isci_orom *isci_request_firmware(struct pci_dev *pdev, const struct firmware *fw) { … } static struct efi *get_efi(void) { … } struct isci_orom *isci_get_efi_var(struct pci_dev *pdev) { … }