firmware.c 1.5 KB

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