wdenk | 8f0b7cb | 2005-03-27 23:41:39 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2002 |
Albert ARIBAUD | fa82f87 | 2011-08-04 18:45:45 +0200 | [diff] [blame] | 3 | * Stäubli Faverges - <www.staubli.com> |
wdenk | 8f0b7cb | 2005-03-27 23:41:39 +0000 | [diff] [blame] | 4 | * Pierre AUBERT p.aubert@staubli.com |
| 5 | * |
| 6 | * (C) Copyright 2005 |
| 7 | * Martin Krause TQ-Systems GmbH martin.krause@tqs.de |
| 8 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 9 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 8f0b7cb | 2005-03-27 23:41:39 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | /* |
| 13 | * Basic video support for SMI SM501 "Voyager" graphic controller |
| 14 | */ |
| 15 | |
| 16 | #ifndef _SM501_H_ |
| 17 | #define _SM501_H_ |
| 18 | |
Stefan Roese | 98f4a3d | 2005-09-22 09:04:17 +0200 | [diff] [blame] | 19 | #define PCI_VENDOR_SM 0x126f |
| 20 | #define PCI_DEVICE_SM501 0x0501 |
| 21 | |
wdenk | 8f0b7cb | 2005-03-27 23:41:39 +0000 | [diff] [blame] | 22 | typedef struct { |
| 23 | unsigned int Index; |
| 24 | unsigned int Value; |
| 25 | } SMI_REGS; |
| 26 | |
| 27 | /* Board specific functions */ |
| 28 | unsigned int board_video_init (void); |
| 29 | void board_validate_screen (unsigned int base); |
| 30 | const SMI_REGS *board_get_regs (void); |
| 31 | int board_get_width (void); |
| 32 | int board_get_height (void); |
| 33 | unsigned int board_video_get_fb (void); |
| 34 | |
| 35 | #endif /* _SM501_H_ */ |