Интерактивная система просмотра системных руководств (man-ов)
ppc (4)
>> ppc (4) ( FreeBSD man: Специальные файлы /dev/* )
BSD mandoc
NAME
ppc
- Parallel Port Chipset driver
SYNOPSIS
device ppc
In
/boot/device.hints
hint.ppc.0.at=isahint.ppc.0.irq=7
For one or more PPBUS busses:
device ppbus
DESCRIPTION
The
driver provides low level support to various parallel port chipsets for the
ppbus(4)
system.
During the probe phase,
detects parallel port chipsets and initializes
private data according to their operating mode: COMPATIBLE,
NIBBLE, PS/2, EPP, ECP and other mixed modes.
If a mode is provided at startup through the
flags
variable of the boot
interface, the operating mode of the chipset is forced according to
flags
and the hardware supported modes.
During the attach phase,
allocates a ppbus structure, initializes it and calls the ppbus
attach function.
You may want to add support for the newest chipset your motherboard was
sold with.
For the ISA bus, just retrieve the specs of the chipset and write the
corresponding
ppc_mychipset_detect ();
function.
Then add an entry to the general purpose
ppc_detect ();
function.
Your
ppc_mychipset_detect ();
function should ensure that if the mode field of the
flags
boot variable is not null, then the operating
mode is forced to the given mode and no other mode is available and
ppb->ppb_avm field contains the available modes of the chipset.