Chapter 3. Structure

Sharing core

At the core of the parport subsystem is the sharing mechanism (see drivers/parport/share.c). This module, parport, is responsible for keeping track of which ports there are in the system, which device drivers might be interested in new ports, and whether or not each port is available for use (or if not, which driver is currently using it).