English
Language : 

OXMPCI952 Datasheet, PDF (46/108 Pages) Oxford Semiconductor – Integrated High Performance Dual UARTs, 8-bit Local Bus/Parallel Port. 3.3v PCI/miniPCI interface.
OXFORD SEMICONDUCTOR LTD.
5.8 Device Drivers
This section has been provided for external device driver
development.
Device Drivers are required to know whether the device is
operating in the PCI or the miniPCI environments, for the
purposes of fine-tuning the drivers to match the feature
content of the OXmPCI952 device. In order for device
drivers to distinguish between these 2 modes of operation,
some fields of the existing local registers LCC and MIC
have been defined to indicate the mode of operation.
These are as follows
Local Register LCC Register (DWORD offset 00h)
Bit 0 Status of the MODE pin (Read only)
Local Register MIC Register (DWORD offset 04h)
Bit 27 MiniPCI Status (Read Only)
Bit 29 CLKRUN control via Power Management –
(R/W field for miniPCI application)
Bit 30 Disable CLKRUN control (R/W field for MiniPCI)
Bit 31 Disable Parallel Port Filter (R/W field for Parallel Port)
It is expected that device drivers will inspect (at least) bit 27
of the MIC register to determine if the device is operating in
the PCI or miniPCI environment. This information is
required in order to make use of controls for the miniPCI
applications.
Device drivers will already know what functions are present
(such as the 8-bit local bus or the Parallel Port) by virtue of
the Device ID that is automatically presented to the
operating system during initial configuration.
OXmPCI952
DS-0020 Jun 05
Page 46