# How to add an (S)VGA driver to XFree86

## Copyright (c) 1993, 1994 David E. Wexelblat `<dwex@XFree86.org>`

Issue 1.3 - May 29, 1994

## 1. Introduction

## 2. Getting Started

## 3. Directory Tree Structure

## 4. Setting Up The Build Information

## 5. The Bank-Switching Functions

## 6. The Driver Itself

#### 6.1 Multiple Chipsets And Options

#### 6.2 Data Structures

#### 6.3 The Ident() function

#### 6.4 The ClockSelect() function

#### 6.5 The Probe() function

#### 6.6 The EnterLeave() function

#### 6.7 The Restore() function

#### 6.8 The Save() function

#### 6.9 The Init() function

#### 6.10 The Adjust() function

#### 6.11 The ValidMode() function

#### 6.12 The SaveScreen() function

#### 6.13 The GetMode() function

#### 6.14 The FbInit() function

## 7. Building The New Server

## 8. Debugging

## 9. Advice

## 10. Advanced Topics

## 11. References

## 12. Vendor Contact Information