summaryrefslogtreecommitdiff
path: root/include/sm501.h (plain)
blob: 34ce350e6a86a6fdc3e333ee330c3b21dd19de0b
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/*
13 * Basic video support for SMI SM501 "Voyager" graphic controller
14 */
15
16#ifndef _SM501_H_
17#define _SM501_H_
18
19#define PCI_VENDOR_SM 0x126f
20#define PCI_DEVICE_SM501 0x0501
21
22typedef struct {
23 unsigned int Index;
24 unsigned int Value;
25} SMI_REGS;
26
27/* Board specific functions */
28unsigned int board_video_init (void);
29void board_validate_screen (unsigned int base);
30const SMI_REGS *board_get_regs (void);
31int board_get_width (void);
32int board_get_height (void);
33unsigned int board_video_get_fb (void);
34
35#endif /* _SM501_H_ */
36