mach_mpparse.h 829 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifdef CONFIG_ACPI
  17. static inline int es7000_check_dsdt(void)
  18. {
  19. struct acpi_table_header header;
  20. memcpy(&header, 0, sizeof(struct acpi_table_header));
  21. acpi_get_table_header(ACPI_SIG_DSDT, 0, &header);
  22. if (!strncmp(header.oem_id, "UNISYS", 6))
  23. return 1;
  24. return 0;
  25. }
  26. #endif
  27. #endif /* __ASM_MACH_MPPARSE_H */