1608N/A #define ASTPTR(p) ((ASTRecPtr)((p)->driverPrivate))
1608N/A- * These definitions will be removed when they are included in the
1608N/A-#define VIS_GETVIDEOMODENAME (VIOC | 12)
1608N/A-#define VIS_STOREVIDEOMODENAME (VIOC | 13)
1608N/A-#define VIS_MAX_VMODE_LEN 48
1608N/A-typedef struct vis_video_mode {
1608N/A- char mode_name[VIS_MAX_VMODE_LEN];
1608N/A-#define VIS_GETPCICONFIG (VIOC | 14)
1608N/A-typedef struct vis_pci_cfg {
1608N/A-#define VIS_SETIOREG (VIOC | 17)
1608N/A-#define VIS_GETIOREG (VIOC | 18)
1608N/A-typedef struct vis_io_reg {
1608N/A extern struct pci_device *ASTGetPciInfo(ASTRecPtr);
1608N/A extern ScrnInfoPtr ASTAllocScreen(DriverPtr, GDevPtr);
1608N/A extern pointer ASTMapVidMem(ScrnInfoPtr, unsigned int, CARD32,
1608N/A * Copyright (c) 2005 ASPEED Technology Inc.
1634N/A+ * Copyright (c) 2005, 2016, Oracle
and/or its affiliates. All rights reserved.
1608N/A * Permission to use, copy, modify, distribute, and sell this software and its
1608N/A * documentation for any purpose is hereby granted without fee, provided that
1608N/A #define MISC_PORT_WRITE 0x42
1608N/A #define VGA_ENABLE_PORT 0x43