home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
print01.zip
/
readme.txt
< prev
Wrap
Text File
|
2002-05-03
|
8KB
|
183 lines
Parallel Port Device Driver with PCI support README
Version 1.23
March 19, 2002
Contents
========
1.0 Introduction
2.0 Installation Instructions
3.0 The PCIDEV.TBL file
4.0 Copyright and Trademark Information
1.0 Introduction
============
The OS/2 Parallel Port Device Driver (PP DD) is a base DD that supports
the PP interface for OS/2. There are two distinct versions of the PP DD:
- PRINT01.SYS supporting PPs on (Extended) Industry Standard Architecture
(ISA/EISA) and Peripheral Component Interconnect (PCI) PCs,
- PRINT02.SYS supporting PPs on Micro Channel Architecture (MCA) PCs.
Only one of these PP DDs will be resident for each PC running in OS/2.
The PRINT01.SYS DD is modified to support PCI PPs. The PP DD supports
up to three PCI PPs in the Standard Parallel Port (SPP) mode.
By default the OS/2 PP DD uses the polling transmission method. If the
transmission protocol is changed to the interrupt method by specifying
the /IRQ parameter in the BASEDEV= command, then the PP DD supports PCI
PPs in an interrupt-driven manner.
In this case the PP DD attempts to set interrupt service routine (ISR)
for PCI IRQ to be not-shared at task time. If this attempt fails then
the PP DD sets ISR for PCI IRQ to be shared.
If the /SHR parameter is specified then the PP DD sets ISRs for PCI IRQs
to be shared at initialization time.
Interrupt sharing at the PP DD interrupt time is handled using interrupt
pending (occured) bit in the PCI PP status register.
2.0 Installation Instructions
=========================
The OS/2 PP DD with PCI support software consists of the following files:
- PRINT01.SYS the PP DD with PCI support,
- PRTPCI.DDP the PP DD Profile,
- PCIDEV.TBL the PCI Device configuration file (see 3.0),
- README.TXT this file that you are reading.
Because the PP DD is a base DD, OS/2 determines the system's hardware
configuration and automatically installs and initializes the appropriate
PP DD. OS/2 adds a BASEDEV= command without parameters for the PP DD to
the CONFIG.SYS file.
The installation of the PP DD with PCI support is performed by replacing
the old PRINT01.SYS file in the directory \OS2\BOOT with the new file and
by copying the PCIDEV.TBL file in the directory \OS2\BOOT. System has to
be rebooted for changes to take effect.
To perform the above operations the OS/2 DD Installation command (DDINSTAL)
can be used:
- Copy the OS/2 PP DD with PCI support files (see above) to the Device
Support diskette or directory.
- Open an OS/2 window and enter DDINSTAL command to display the DD
Installation window.
- Set in the Source directory field the Device Support diskette or
directory.
- Select Install if the Source directory and Destination directory are
correct and you are ready to install the PP DD with PCI support.
- Verify BASEDEV=PRINT01.SYS command in the CONFIG.SYS file and add/change
its parameters if necessary. We recommend that you set the /F parameter
because not all PCI cards with PPs are described the PCIDEV.TBL file,
and the driver will probably do a better job of automatically self
configuring than you can do using the PCIDEV.TBL file.
- Reboot the oprating system.
The PP DD with PCI support accepts seven BASEDEV= command parameters: three
legacy parameters (/IRQ, /MPL, and /TOU:xxx) and four additional parameters:
/SHR SHaRed interrupt-driven mode to service IRQs as shared.
/V Verbose mode
to display driver information about all accepted for service PPs.
/W Wait verbose mode.
Displaying pauses with a "Press Enter to continue..." message.
/F Find PPs on PCI combo (serial/parallel) cards automatically.
/TOU:xxx set initial device time-out value in seconds (default - 120s),
this value can be changed from printer port settings dialogue
if port driver is installed.
/MPC modifies polling procedure - makes it less processor resource
consuming by scheduling other systems tasks at certain print
points, may decrease print speed.
/IRQ enables interrupt driven printing, if not specified driver uses
register polling - fast, but more processor power consuming
method.
The /SHR parameter in conjunction with /IRQ parameter directs the PP DD
to service PCI IRQs as shared.
NOTE: If your printer (for example, old dot matrix printer) generates
IRQs without setting interrupt pending (occured) bit in PCI PP status
register correctly then you cannot use PCI IRQ sharing and must not use
/SHR parameter.
Not all of the installed PPs are sometimes accepted for service. For example,
if the total number of installed PPs exceeds 3, then only 3 PPs are accepted
for service. Also, if a PCI PP is not working properly, or if a PP on PCI
combo card is not described in the PCIDEV.TBL file and the parameter /F is
not set, then such PCI PP would not be accepted for service as well.
This version of the PP DD supports PPs on PCI Parallel and PCI combo cards
that are described in the PCIDEV.TBL file and/or identified by PCI device class
code: Base Class = 0x07 - simple communications controllers, Sub-Class = 0x01 -
PPs, and, if the parameter /F is set, Sub-Class = 0x80 - other communications
device (Encodings for class codes are provided in the PCI Local Bus
Specification, Revision 2.2, Appendix D).
3.0 The PCIDEV.TBL file
===================
The PCIDEV.TBL file is a text file that describes PPs on PCI cards,
including PCI combo cards, on Vendor ID / Device ID basis and must be in
the directory D:\OS2\BOOT, where D: is the drive where OS/2 is installed.
The documentation for the PCI Device configuration file is located in the
PCIDEV.TBL file comments:
;
; this file identifies serial, parallel and combo PCI devices
; and defines the usage of the particular pci registers
; this data is not available in the system without
; external help
;
; the syntax of this file is as follow
;
; a line starting with ';' or '#' is considered a comment
#
;
# each line represents a PCI adapter
; by vendor number and adapter number
; the vendor name is NOT stored on the card anywhere
;
; each record contains (leading 0's are never required)
; mixed case allowed, prefered
;
; vendor number (in hex)
; ','
; adapter number (in hex)
; ','
; 6 comma separated fields that contain
;
; the appropriate value for each register
; these are known to the vendor
;
; S = serial port
; P = parallel port
; Pn (n=1 to 6) Enhanced parallel port
; En (n=1 to 6) matching ECP ports for the Pn port
; U = USB port
; 0 = not used
; empty = ',,' not used
; Sx(y) = single address represents multiple (x) serial ports
; some offset (y) from the base address
; s8(4) means 8 ports, calculate I/O address by adding 4 to base
; for each port
; x = 1-255
; y = 1-4096
;
4.0 Copyright and Trademark Information
===================================
The following terms are trademarks of International Business Machines
Corporation in the United States and/or other countries:
IBM
OS/2
Other company, product, and service names may be trademarks or service
marks of others.
THE INFORMATION PROVIDED IN THIS README IS PROVIDED "AS IS" WITHOUT
WARRANTY OF ANY KIND. IBM DISCLAIMS ALL WARRANTIES, WHETHER
EXPRESSED OR IMPLIED, INCLUDING WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND MERCHANTABILITY
WITH RESPECT TO THE INFORMATION IN THIS DOCUMENT. BY FURNISHING
THIS DOCUMENT, IBM GRANTS NO LICENSES TO ANY PATENTS OR COPYRIGHTS.
(C) Copyright IBM Corporation, 2002. All rights reserved.
U.S. Government Users Restricted Rights -- Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with IBM Corp.