firmware.c 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Extracted from cputable.c
  3. *
  4. * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org)
  5. *
  6. * Modifications for ppc64:
  7. * Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.com>
  8. * Copyright (C) 2005 Stephen Rothwell, IBM Corporation
  9. *
  10. * This program is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License
  12. * as published by the Free Software Foundation; either version
  13. * 2 of the License, or (at your option) any later version.
  14. */
  15. #include <linux/config.h>
  16. #include <asm/firmware.h>
  17. unsigned long ppc64_firmware_features;
  18. #ifdef CONFIG_PPC_PSERIES
  19. firmware_feature_t firmware_features_table[FIRMWARE_MAX_FEATURES] = {
  20. {FW_FEATURE_PFT, "hcall-pft"},
  21. {FW_FEATURE_TCE, "hcall-tce"},
  22. {FW_FEATURE_SPRG0, "hcall-sprg0"},
  23. {FW_FEATURE_DABR, "hcall-dabr"},
  24. {FW_FEATURE_COPY, "hcall-copy"},
  25. {FW_FEATURE_ASR, "hcall-asr"},
  26. {FW_FEATURE_DEBUG, "hcall-debug"},
  27. {FW_FEATURE_PERF, "hcall-perf"},
  28. {FW_FEATURE_DUMP, "hcall-dump"},
  29. {FW_FEATURE_INTERRUPT, "hcall-interrupt"},
  30. {FW_FEATURE_MIGRATE, "hcall-migrate"},
  31. {FW_FEATURE_PERFMON, "hcall-perfmon"},
  32. {FW_FEATURE_CRQ, "hcall-crq"},
  33. {FW_FEATURE_VIO, "hcall-vio"},
  34. {FW_FEATURE_RDMA, "hcall-rdma"},
  35. {FW_FEATURE_LLAN, "hcall-lLAN"},
  36. {FW_FEATURE_BULK, "hcall-bulk"},
  37. {FW_FEATURE_XDABR, "hcall-xdabr"},
  38. {FW_FEATURE_MULTITCE, "hcall-multi-tce"},
  39. {FW_FEATURE_SPLPAR, "hcall-splpar"},
  40. };
  41. #endif