2005-03-27 23:41:39 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2002
|
2011-08-04 16:45:45 +00:00
|
|
|
* Stäubli Faverges - <www.staubli.com>
|
2005-03-27 23:41:39 +00:00
|
|
|
* Pierre AUBERT p.aubert@staubli.com
|
|
|
|
*
|
|
|
|
* (C) Copyright 2005
|
|
|
|
* Martin Krause TQ-Systems GmbH martin.krause@tqs.de
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2005-03-27 23:41:39 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Basic video support for SMI SM501 "Voyager" graphic controller
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SM501_H_
|
|
|
|
#define _SM501_H_
|
|
|
|
|
2005-09-22 07:04:17 +00:00
|
|
|
#define PCI_VENDOR_SM 0x126f
|
|
|
|
#define PCI_DEVICE_SM501 0x0501
|
|
|
|
|
2005-03-27 23:41:39 +00: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_ */
|