Chapter 2. Basic Flow for PCI Drivers
Prev |  | Next

# Chapter 2. Basic Flow for PCI Drivers

## Outline

The minimum flow for PCI soundcards is as follows:

- define the PCI ID table (see the section PCI Entries ).

- create `probe()` callback.

- create `remove()` callback.

- create a pci_driver structure containing the three pointers above.

- create an `init()` function just calling the `pci_register_driver()` to register the pci_driver table defined above.

- create an `exit()` function to call the `pci_unregister_driver()` function.

Prev |  | Next
oss directory | Home | Full Code Example