2005-03-28 07:41:39 +08:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2002
|
2011-08-05 00:45:45 +08:00
|
|
|
* Stäubli Faverges - <www.staubli.com>
|
2005-03-28 07:41:39 +08:00
|
|
|
* Pierre AUBERT p.aubert@staubli.com
|
|
|
|
*
|
|
|
|
* (C) Copyright 2005
|
|
|
|
* Martin Krause TQ-Systems GmbH martin.krause@tqs.de
|
|
|
|
*
|
2013-07-08 15:37:19 +08:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2005-03-28 07:41:39 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Basic video support for SMI SM501 "Voyager" graphic controller
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SM501_H_
|
|
|
|
#define _SM501_H_
|
|
|
|
|
2005-09-22 15:04:17 +08:00
|
|
|
#define PCI_VENDOR_SM 0x126f
|
|
|
|
#define PCI_DEVICE_SM501 0x0501
|
|
|
|
|
2005-03-28 07:41:39 +08:00
|
|
|
typedef struct {
|
|
|
|
unsigned int Index;
|
|
|
|
unsigned int Value;
|
|
|
|
} SMI_REGS;
|
|
|
|
|
|
|
|
/* Board specific functions */
|
|
|
|
unsigned int board_video_init (void);
|
|
|
|
void board_validate_screen (unsigned int base);
|
|
|
|
const SMI_REGS *board_get_regs (void);
|
|
|
|
int board_get_width (void);
|
|
|
|
int board_get_height (void);
|
|
|
|
unsigned int board_video_get_fb (void);
|
|
|
|
|
|
|
|
#endif /* _SM501_H_ */
|