mach_mpparse.h 1021 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef __ASM_MACH_MPPARSE_H
  2. #define __ASM_MACH_MPPARSE_H
  3. #include <linux/acpi.h>
  4. static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
  5. struct mpc_config_translation *translation)
  6. {
  7. Dprintk("Bus #%d is %s\n", m->mpc_busid, name);
  8. }
  9. static inline void mpc_oem_pci_bus(struct mpc_config_bus *m,
  10. struct mpc_config_translation *translation)
  11. {
  12. }
  13. extern int parse_unisys_oem (char *oemptr);
  14. extern int find_unisys_acpi_oem_table(unsigned long *oem_addr);
  15. extern void setup_unisys(void);
  16. #ifndef CONFIG_X86_GENERICARCH
  17. extern int acpi_madt_oem_check(char *oem_id, char *oem_table_id);
  18. extern int mps_oem_check(struct mp_config_table *mpc, char *oem,
  19. char *productid);
  20. #endif
  21. #ifdef CONFIG_ACPI
  22. static inline int es7000_check_dsdt(void)
  23. {
  24. struct acpi_table_header header;
  25. memcpy(&header, 0, sizeof(struct acpi_table_header));
  26. acpi_get_table_header(ACPI_SIG_DSDT, 0, &header);
  27. if (!strncmp(header.oem_id, "UNISYS", 6))
  28. return 1;
  29. return 0;
  30. }
  31. #endif
  32. #endif /* __ASM_MACH_MPPARSE_H */