sm501.h 801 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * (C) Copyright 2002
  3. * Stäubli Faverges - <www.staubli.com>
  4. * Pierre AUBERT p.aubert@staubli.com
  5. *
  6. * (C) Copyright 2005
  7. * Martin Krause TQ-Systems GmbH martin.krause@tqs.de
  8. *
  9. * SPDX-License-Identifier: GPL-2.0+
  10. */
  11. /*
  12. * Basic video support for SMI SM501 "Voyager" graphic controller
  13. */
  14. #ifndef _SM501_H_
  15. #define _SM501_H_
  16. #define PCI_VENDOR_SM 0x126f
  17. #define PCI_DEVICE_SM501 0x0501
  18. typedef struct {
  19. unsigned int Index;
  20. unsigned int Value;
  21. } SMI_REGS;
  22. /* Board specific functions */
  23. unsigned int board_video_init (void);
  24. void board_validate_screen (unsigned int base);
  25. const SMI_REGS *board_get_regs (void);
  26. int board_get_width (void);
  27. int board_get_height (void);
  28. unsigned int board_video_get_fb (void);
  29. #endif /* _SM501_H_ */