Jump to content

LXAPI32.SYS: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
Line 5: Line 5:
==Parameters==
==Parameters==
{{ProdS |V30=C|V31=C|V40=C|V45=C}}
{{ProdS |V30=C|V31=C|V40=C|V45=C}}
* /NOPCINAMEDEVICE - necessary if a trap on boot occurs
; /NOPCINAMEDEVICE
* /V - Verbose: Show Copyright information
:necessary if a trap on boot occurs
* /VM - Verbose modules: Like /V plus module list
; /V
* /3 - Execute an INT3 at initialisation (Use kernel debugger!)
:Verbose: Show Copyright information
* /NOMODULE - Don't load modules at system startup (Use BT32CFG.EXE to load/unload)
;/VM
* /NOCOREMODULE - Don't load core modules at system startup (Use BT32CFG.EXE to load/unload)
:Verbose modules: Like /V plus module list
* /MODPARM: - Support Linux insmod parameters for various modules
; /3
* /LOADMODULE: - Load module (only with parameter /NOCOREMODULE)
:Execute an INT3 at initialisation (Use kernel debugger!)
* /NOPCINAMEDEVICE - Don't load and parse PCI.IDS file to prevent a system trap with driver [[SEC32.SYS]] (32-bit Security Driver of AVP/2)
; /NOMODULE
:Don't load modules at system startup (Use BT32CFG.EXE to load/unload)
; /NOCOREMODULE
:Don't load core modules at system startup (Use BT32CFG.EXE to load/unload)
; /MODPARM
:Support Linux insmod parameters for various modules
;/LOADMODULE
:Load module (only with parameter /NOCOREMODULE)
;/NOPCINAMEDEVICE
:Don't load and parse PCI.IDS file to prevent a system trap with driver [[SEC32.SYS]] (32-bit Security Driver of AVP/2)


;NOTE:This driver is the base Linux API layer driver for ported drivers. It must reside before all other drivers that attaches to LXAPI32. Currently there is only [[BT32.SYS]] available.
;NOTE:This driver is the base Linux API layer driver for ported drivers. It must reside before all other drivers that attaches to LXAPI32. Currently there is only [[BT32.SYS]] available.

Latest revision as of 17:20, 17 December 2022

Radio/TV driver for BT878 based cards. The LXAPI32.SYS is a common Linux services driver. It provides functions for PCI, I2C, memory, resources with Linux function calls.

DEVICE=\...\LXAPI32.SYS

Parameters

Product Support
OS/2 1.3
OS/2 2.0
OS/2 2.1
OS/2 2.11 SMP
OS/2 Warp 3 C
OS/2 Warp Connect C
OS/2 Warp 4 C
OS/2 Warp Server for e-Business C
/NOPCINAMEDEVICE
necessary if a trap on boot occurs
/V
Verbose: Show Copyright information
/VM
Verbose modules: Like /V plus module list
/3
Execute an INT3 at initialisation (Use kernel debugger!)
/NOMODULE
Don't load modules at system startup (Use BT32CFG.EXE to load/unload)
/NOCOREMODULE
Don't load core modules at system startup (Use BT32CFG.EXE to load/unload)
/MODPARM
Support Linux insmod parameters for various modules
/LOADMODULE
Load module (only with parameter /NOCOREMODULE)
/NOPCINAMEDEVICE
Don't load and parse PCI.IDS file to prevent a system trap with driver SEC32.SYS (32-bit Security Driver of AVP/2)
NOTE
This driver is the base Linux API layer driver for ported drivers. It must reside before all other drivers that attaches to LXAPI32. Currently there is only BT32.SYS available.
NOTE
LXAPI32.SYS contains the following modules:
  • timer
  • pci_core
  • i2c_core
  • videodev
NOTE
Module parameters:
timer
pci_core dopcifixups=n disable/enable corresponding
dopcienable=n pci functions in pci_core
dopcisetmaster=n n is 0 or 1
dopcisetpowerstate=n
dopciupdateresource=n
dopciresourcesurvey=n
i2c_core
videodev

All dopci* parameters defaults to 0 because they aren't really needed in OS/2 and caused some problems.

Here is an example for using the /MODPARM parameter: /MODPARM:pci_core:dopcifixups=1;dopcienable=1 This will enable dopcifixups and dopcienable.