blob: 34ce350e6a86a6fdc3e333ee330c3b21dd19de0b [file] [log] [blame]
wdenk8f0b7cb2005-03-27 23:41:39 +00001/*
2 * (C) Copyright 2002
Albert ARIBAUDfa82f872011-08-04 18:45:45 +02003 * Stäubli Faverges - <www.staubli.com>
wdenk8f0b7cb2005-03-27 23:41:39 +00004 * Pierre AUBERT p.aubert@staubli.com
5 *
6 * (C) Copyright 2005
7 * Martin Krause TQ-Systems GmbH martin.krause@tqs.de
8 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02009 * SPDX-License-Identifier: GPL-2.0+
wdenk8f0b7cb2005-03-27 23:41:39 +000010 */
11
12/*
13 * Basic video support for SMI SM501 "Voyager" graphic controller
14 */
15
16#ifndef _SM501_H_
17#define _SM501_H_
18
Stefan Roese98f4a3d2005-09-22 09:04:17 +020019#define PCI_VENDOR_SM 0x126f
20#define PCI_DEVICE_SM501 0x0501
21
wdenk8f0b7cb2005-03-27 23:41:39 +000022typedef 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_ */