13M043-70 - MDIS4/2004 / MDIS5 Windows driver (MEN) for M43/M43N
MDIS4/2004 / MDIS5 Windows driver (MEN) for M43/M43N
Download 13m04370.zipiMain file, requires MDIS5 System Package for Windows. ================================================================================
===== History of MDIS5 Windows Driver Package 13M043-70 rev. 2.12.2.18
===== 2013-11-06 built from - MDIS5 LL-Driver 13M043-06 rev. 2.12
===== - MDIS5 Windows references rev. 2.18
================================================================================
-----[ 2013-11-06 : references Revision 2.18 ]-----
====== Based on Windows MDIS5 System Package 13MD05-70 Rev. 1.5 ======
--- Libraries ---
R: MK: errors and BSOD during Windows shutdown at SC26 with SMB2 driver
M: MK: synchronize power state change with IRP processing during shutdown
-----[ 2013-07-11 : 13M043-06 Revision 2.12 ]-----
R: Porting to MDIS5
M: Changed according to MDIS Porting Guide 0.9
-----[ 2012-08-08 : references Revision 2.17 ]-----
=== Libraries ===
R:1. USR_OSS: UOS_KeyWait consumes too much CPU time
2. MK: BSOD 0x8E with EXCEPTION_CODE 0xc0000047 (semaphore max count exceeded)
3. MK: must not call BBIS driver's IrqEnable with masked IRQ
4. MK: prevent concurrent BBIS/LL-Drv. IrqEnable calls
5. MK: support required for chameleon FPGAs with mixed i/o and mem mapped units
6. MK: sub device list not save for concurrent execution
7. MK: M_read/M_write calls from MDIS4 applications not suppported by mistake
8. OSS: workaround in OSS_SemWait() required for SMB2 lib
9. OSS: prevent spin-lock dead-looks
M:1. USR_OSS: delay added to provide CPU time to other threads
2. MK: error handling improved to prevent release of not claimed semaphore
3.a) MK: disabling BBIS IRQ no longer with masked IRQ
b) MK: MK_REVISION set to MDIS_MKREV_2
4. MK: enable BBIS IRQ with claimed semaphore
5. MK: use newer BBIS_CFGINFO_ADDRSPACE prior BBIS_BRDINFO_ADDRSPACE
6. MK: sub device list protected with semaphore
7. MK: support MDIS4 IOCTLs for MDIS4 applications
8.a) OSS: OSS_SemWait: IRQL = DISPATCH_LEVEL: skip waiting
b) OSS: OSS_SemWait: IRQL > DISPATCH_LEVEL: skip KeWaitForSingleObject(), return ERR_OSS
9. OSS: use WDF spin-locks and restrict usage to IRQL <= DISPATCH_LEVEL
-----[ 2012-05-14 : 13M043-06 Revision 2.11 ]-----
13m04306.xml
R: Description for MDIS4 misleading
-----[ 2011-05-25 : 13M043-06 Revision 2.10 ]-----
R: checkin due to new revision of headers maccess.h, mdis_err.h,
oss.h, usr_oss.h
-----[ 2010-12-08 : references Revision 2.16 ]-----
====== Based on Windows MDIS5 System Package 13MD05-70 Rev. 1.3 ======
--- Libraries ---
R:1. Power Management support
2. MDIS_API: new MK error codes ERR_MK_SLEEP_ILLHDL, ERR_MK_SLEEP_LOCKED
3. MDIS_API: revision string is empty for M_MK_BLK_REV_ID
4. USR_OSS: signal handling update
5. OSS: signal events stay in signal list after exit on XP SP3
6. OSS: spin lock support functions required for Chameleon BBIS
7. SMB2: DBGWRT failed with zero data pointer
M:1.a) USR_SLEEP library added
b) MK: adapted for Power Management
2. MDIS_API: supports new error code description
3. MDIS_API: string generation fixed
4.a) USR_OSS: SigUnMask removed in UOS_SigWait
b) USR_OSS: terminates no longer signal thread on queue overrun
c) USR_OSS: queue size increased
5. OSS: added close of event for XP SP3
6. OSS: OSS_SpinLockXxx functions added
7. SMB2: fixed debug message
-----[ 2010-11-05 : references Revision 2.15 ]-----
APB5:
R: 1. prevent native file check-in if win-pkg fileset was already checked-in
2. bug: building internal win-pkg if swmodule attribut internal=false set
3. APB5 script error if xml specifies os/notos tag or one sw module is
specified multiple times
4. sometimes, win-pkg zip was checked-in as ascii file
M: 1. dont't ask to check-in native files if win-pkg fileset was checked-in
2. bug fixed: building internal win-pkg only if internal=true set
3. script fixed
4. win-pkg zip check-in fixed
BUILD:
R: missing libraries for executables with the use of API DLLs
M: added libraries to TMPL_TARGETLIBS for API DLLs version
-----[ 2010-11-03 : references Revision 2.14 ]-----
Windows driver package generation (BUILD, APB5):
R:1. new mdiswiz.exe version available
2. internal files not needed for public distribution
M:1. using mdiswiz.exe rev. 1.3
2. removed category public from internal files
SW Modules:
R:1. MDIS_API: new MK error codes ERR_MK_SLEEP_ILLHDL, ERR_MK_SLEEP_LOCKED
2. MK: IRP processing must be synchronized with power management
3. OSS: signal events stay in signal list after exit on XP SP3
4. USR_OSS: SigUnMask at the end of UOS_SigWait incorrect
5. USR_OSS: Queue overrun leads to exit thread, no further signals delivered
M:1. MDIS_API: new built to support new error code description
2.a) MK: block sleep until all IRPs in progress are finished
b) MK: begin no new IRP after system indicates to enter a sleep state
3. OSS: added close of event for XP SP3
4. USR_OSS: SigUnMask removed in UOS_SigWait
5.a) USR_OSS: removed closing thread on queue overrun
b) USR_OSS: queue size increased
-----[ 2010-09-27 : references Revision 2.13 ]-----
R:1. MK: MkDevListGet/SetCtxt() declared for paged segment but PAGED_CODE
missing
2. MK: PREfast warnings for some DBGTRC
3. MK: preventing power state change in kernel mode not supported any more,
user mode application is responsible for
4. MK: support for power management
5. MDIS_API: Revision string is empty for M_MK_BLK_REV_ID
6. SMB2: DBGWRT failed with zero data pointer
M:1. MK: PAGED_CODE added
2. MK: some DBGTRC fixed
3. MK: removed preventing system state change while path opened
4.a) close open ll handle when power state change to sleep mode
b) changed return code for illegal handle
5. MDIS_API: Fixed string generation
6. SMB2: fixed debug message
-----[ 2010-07-26 : references Revision 2.12 ]-----
Windows driver package generation (APB5):
R: WEBART logging doesn't work
M: WEBART logging fixed
-----[ 2010-07-23 : references Revision 2.11 ]-----
Windows driver package generation (APB5):
M:1. 13MD05-70 released
2. new mdiswiz version with fixes in pkg2inf5
3. build environment changed
R:1. use revision from 13MD05-70 as major PRODUCTVERSION
2.a) inf files: mcvs date/revision info in inf header replaced with creation
date and mdiswiz pkg2inf revision
b) inf files: ExcludeFromSelect removed
c) inf files: models without autoid use 'XXX[_SW]&NO_AUTOID'
3. create embedded signature in 64-bit free and checked drivers
SW Modules:
R:1. smb2.lib - 16Z001_SMB: terminate bit could be set if status is polled
before an abort operation finishes
2. smb2_io.lib - ICH SMB: sometimes wasting time during transfer
M:1. smb2.lib - 16Z001_SMB: add max. 500 ms wait time after starting an abort
operation
2. smb2_io.lib - ICH SMB: LocWaitBusyReady function fixed
-----[ 2010-06-21 : 13M043-06 Revision 2.9 ]-----
Update common headers
-----[ 2010-06-11 : references Revision 2.10 ]-----
R:1. mk.lib: check for invalid interrupt object was buggy
2. mk.lib: new address mode MDIS_MA_BB_INFO_PTR
M:1. mk.lib: check for invalid interrupt object removed
2. mk.lib: support for new address mode MDIS_MA_BB_INFO_PTR
-----[ 2010-05-07 : references Revision 2.9 ]-----
R:1. low-level drivers that use new MDIS_MA_BB_INFO_PTR feature
requires chameleon.h (e.g. Z88 driver)
2. support embedded signature for 64-bit free and checked drivers
M:1.a) chameleon.h added
b) chameleon lib documentation added
2. sign all built 64-bit .sys files
-----[ 2010-04-14 : references Revision 2.8 ]-----
R: swapping variant of PLD library required for M72 driver
M: pld_sw.lib added
-----[ 2010-04-14 : references Revision 2.7 ]-----
R:1. VME4WIN for MDIS5 supported
2. mdiswiz support for new busif SMBus required
M:1.a) mk : added check for invalid interrupt object
b) oss: adapted VME KM interface access
2. replaced Qt3 based mdiswiz by Qt4 based mdiswiz
-----[ 2009-11-09 : references Revision 2.6 ]-----
R:1. APB5: missing check for unsupported setup/build options
2. APB5: .cat file was not timestamped
3. OSS_IrqRestore decreases IRQL that was not increased by current context
4. OSS_SigRemove ZwClose leads to BSOD at Windows XP
M:1. setup/build option check improved
2. /t <URL> added to signtool sign
3. Changed order to reset irqmasked
4. Added check for os version
-----[ 2009-10-30 : references Revision 2.5 ]-----
R: OSS lib: Mapped io address is zero
M: OSS lib: Fixed set virtAddr to physAddr at IO addr space
-----[ 2009-10-28 : references Revision 2.4 ]-----
R:1. MK lib: new BBIS bus type OSS_BUSTYPE_SMB handled as error
2. OSS lib: no interrupt spinlock release at last call of OSS_IrqRestore
M:1. MK: BBIS bus type check removed (to be open minded for future bus types)
2. OSS: Removed restting irqmasked at OSS_IrqMaskR
-----[ 2009-10-23 : references Revision 2.3 ]-----
R:1. MkInitExit and MkEvtDeviceD0EntryPostInterruptsEnabled must be nonpageable
2. OSS lib: irqmasked bit not cleared after releasing interrupt spinlock
M:1. MK lib: Fixed to be nonpageable
2. OSS lib: Fixed to reset irqmasked at OSS_IrqRestore
-----[ 2009-10-20 : references Revision 2.2 ]-----
R:1. Releasing interrupt spinlock that had not been masked by OSS_IrqMaskR leads
to lowering IRQL in ISR
2. Fixed OSS Libraray OSS_IRQ_HANDLE
M:1. Fixed releasing interrupt spinlock just when masked before in OSS library
2. Recompilation of MK library
-----[ 2009-10-12 : references Revision 2.1 ]-----
Initial Revision
-----[ 2009-09-25 : 13M043-06 Revision 2.8 ]-----
R: MDIS5 for linux release
M: change type definitions to be compatible to LP64 data model
(used for 64bit Linux systems)
-----[ 2009-06-08 : 13M043-06 Revision 2.7 ]-----
Update common header files
-----[ 2007-03-28 : 13M043-06 Revision 2.6 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/maccess.h RCS 1.13 -> RCS 1.15
changed
+ NIOS_II to NIOS_II_ALTERA_IDE to stay mac_mem.h for NIOS MENMON
added NIOS_II defines
File /_CVS_/COM/INCLUDE/mdis_err.h RCS 1.29 -> RCS 1.30
added NIOS_II defines
File /_CVS_/COM/INCLUDE/usr_oss.h RCS 1.19 -> RCS 1.21
UOS_SigInit() declaration changed back
(because backward compatibility problems with common example programs)
UOS_SigInit() declaration changed
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.8 -> RCS 1.9
Auto Checkin
-----[ 2006-12-15 : 13M043-06 Revision 2.5 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/dbg.h RCS 1.20 -> RCS 1.21
fixed: C++ comments did not work with OS9 Ultra-C compiler
File /_CVS_/COM/INCLUDE/mdis_api.h RCS 1.12 -> RCS 1.13
added M_BB_GET_SMBHDL for SMB2 MDIS support
File /_CVS_/COM/INCLUDE/mdis_com.h RCS 1.4 -> RCS 1.5
added
+ defines for CHAMELEON address and data modes
File /_CVS_/COM/INCLUDE/oss.h RCS 1.37 -> RCS 1.42
Cosmetics
+ OSS_BUSTYPE_SMB
+ OSS_BUSTYPE_SMB
changed OSS_VME_DM/OSS_VME_AM docu from single-line style to common style
added OSS_GetSmbHdl(), OSS_SetSmbHdl() prototype
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.7 -> RCS 1.8
new Revision
-----[ 2005-08-11 : 13M043-06 Revision 2.4 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/dbg.h RCS 1.16 -> RCS 1.20
added support for WINNT userspace
Copyright line changed
Copyright line changed
added
+ switch __INC_DBG_OS__
cosmetics
File /_CVS_/COM/INCLUDE/oss.h RCS 1.34 -> RCS 1.37
changed defines OSS_VME4L_* to OSS_VME_*
added support for userspace
added some bit mappings for PCI config header
changed header to doxygen
Copyright line changed
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.6 -> RCS 1.7
new Revision
-----[ 2005-01-31 : 13M043-06 Revision 2.3 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/oss.h RCS 1.33 -> RCS 1.34
added OSS_DL_InsertAfter prototype
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.5 -> RCS 1.6
New Revision 2.3 (MDIS-RTAI support)
-----[ 2004-07-27 : 13M043-06 Revision 2.2 ]-----
new headers
-----[ 2004-04-08 : 13M043-06 Revision 2.1 ]-----
Minor modifications for WIN2k compatibility
-----[ 2004-04-07 : 13M043-06 Revision 2.0 ]-----
Minor changes for MDIS4/2004 conformity
Bugfix in swapped acces variant build
-----[ 2004-03-24 : 13M043-06 Revision 1.11 ]-----
Added QNX support
-----[ 2003-06-06 : 13M043-06 Revision 1.10 ]-----
Added packagedesc file
-----[ 2003-04-11 : 13M043-06 Revision 1.9 ]-----
Headers changed
-----[ 2003-02-21 : 13M043-06 Revision 1.8 ]-----
misc changes in header files
-----[ 2001-08-16 : 13M043-06 Revision 1.7 ]-----
support swapped access variant
-----[ 2001-01-19 : 13M043-06 Revision 1.6 ]-----
Added HTML doku
fixed NO_MAIN_FUNC in example
-----[ 1998-08-03 : 13M043-06 Revision 1.5 ]-----
*** ADDED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DOC/m43_drv.txt
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_drv.c RCS 1.2 -> RCS 1.7
idFuncTbl is now located in LL_HANDLE
idFuncTbl is now initialized in Init
IdFuncTbl() removed
error messages are now with prefix LL
wrong static const char *IdentString type changed
M43_Init: ID_CHECK default is now 1
M43_Init: error message was wrong
M43_Getstat: M_LL_ID_SIZE returned wrong size=32
M43_Getstat: M_LL_BLK_ID_DATA changed (template style)
LL_HANDLE: unused irqHdl removed
LL_HANDLE: base renamed to ma (template style)
DBGEXIT added
update to MDIS 4.1, new function IdFuncTbl(),
Set/Getstat: M_BUF_WR_MODE removed / M_LL_CH_DIR is M_CH_INOUT
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_max.dsc RCS 1.3 -> RCS 1.5
ID_CHECK is now default=1
DESC_TYPE now U_INT32, DEBUG_LEVEL_ MK/OSS/DESC added, cosmetics
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_min.dsc RCS 1.2 -> RCS 1.3
DESC_TYPE now U_INT32, cosmetics
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/EXAMPLE/M43_EX1/COM/m43_ex1.c RCS 1.2 -> RCS 1.4
flush stdout after printing without newline
made execution faster (delay changed from 500 to 200)
VxWorks defines removed, support for variable device names implemented,
cosmetics to new style
-----[ 1998-04-21 : 13M043-06 Revision 1.4 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_max.dsc RCS 1.1 -> RCS 1.3
convert d201_1 to D201_1
CH_CURRENT removed
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_min.dsc RCS 1.1 -> RCS 1.2
convert d201_1 to D201_1
-----[ 1998-03-13 : 13M043-06 Revision 1.3 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_drv.c RCS 1.1 -> RCS 1.2
repair ident string
remove permanent debug infos
use MD16 instead of MD08
remove #include <stdarg.h>
-----[ 1998-03-11 : 13M043-06 Revision 1.2 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/EXAMPLE/M43_EX1/COM/m43_ex1.c RCS 1.1 -> RCS 1.2
adapt to VXWORKS
-----[ 1998-03-09 : 13M043-06 Revision 1.1 ]-----
Added by mcvs
Download 13m04370_mdis4.zipiThis is the MDIS4 Windows Driver Package.It requires the MDIS4 System Package and is not compatible to MDIS5. ================================================================================
===== History of MDIS4 Windows Driver Package 13M043-70 rev. 2.8.2.10
===== 2009-12-11 built from - MDIS4 LL-Driver 13M043-06 rev. 2.8
===== - MDIS4 Windows references rev. 2.10
================================================================================
-----[ 2009-12-07 : references Revision 2.10 ]-----
R:1. address mapping must not be done for new address mode MDIS_MA_BB_INFO_PTR
2. OSS_IrqRestore() called within ISR context: Releasing interrupt spinlock
that was not masked by OSS_IrqMaskR lowers IRQL (error).
M:1.a) mk.lib: only do address and resource mapping if MDIS_MA_FLAG_NOMAP is not set
.b) mk.lib: initialize the address structures correctly if mapping is not done
2.a) mk.lib: new compiled due to new added OSS_IRQ_HANDLE::irqmasked parameter
.b) oss.lib: OSS_IrqMaskR/OSS_IrqRestore(): Using new OSS_IRQ_HANDLE::irqmasked
parameter to prevent erroneous unmasking.
-----[ 2009-09-25 : 13M043-06 Revision 2.8 ]-----
R: MDIS5 for linux release
M: change type definitions to be compatible to LP64 data model
(used for 64bit Linux systems)
-----[ 2009-06-08 : 13M043-06 Revision 2.7 ]-----
Update common header files
-----[ 2009-05-18 : references Revision 2.9 ]-----
- chameleon_usr.lib, dbg.lib, desc.lib, id.lib, mbuf.lib, pld.lib:
new compiled, no functional changes
- mk.lib:
R:1. If OSS_IrqMaskR() will be called at PASSIVE_LEVEL on CPU2 while MKIsr()
runs at CPU1, OSS_IrqMaskR() acquires no spinnlock - this is an error!
2. New BBIS interface function BB_SetIrqHandle()
M:1. MKIsr(): m_irqHdl.mask++ / m_irqHdl.mask-- removed, see also OSS_IrqMaskR()
2. MKProvideRes(): for BBIS bus driver with >=MDIS_BKREV_3:
call BB_SetIrqHandle() if the function pointer is not NULL
- oss.lib:
R: If OSS_IrqMaskR() will be called at PASSIVE_LEVEL on CPU2 while MKIsr()
runs at CPU1, OSS_IrqMaskR() acquires no spinnlock - this is an error!
M: OSS_IrqMaskR(): condition to acquire interrupt spin look changed,
see also MKIsr()
-----[ 2008-04-28 : references Revision 2.8 ]-----
- INCLUDE/NATIVE/MEN/MACCESS/nt_func.h: MBLOCK_READ_D32 bug fixed
-----[ 2007-10-17 : references Revision 2.7 ]-----
- mk.lib:
CModule::MKIsr(): Deadlock bug fixed: OSS_IrqMaskR() called from ISR
will no longer try to acquire the interrupt spin lock
-----[ 2007-08-23 : references Revision 2.6 ]-----
id.lib, id_sw.lib
- added: USModule-Identification (usm_xxx functions)
-----[ 2007-08-07 : references Revision 2.5 ]-----
MACCESS/nt_func.h: type cast in RSWAP8, RSWAP16, RSWAP32
MAKETMPL/MENBUILD/makefile.inc: added: .exe build from W2k DDK
-----[ 2007-07-26 : references Revision 2.4 ]-----
inf files now with DriverPackageDisplayName entry
-----[ 2007-07-25 : references Revision 2.3 ]-----
- nt_func.h:
- volatile casts and brackets added because hw access problem (detected in m72 driver)
- chameleon_usr[_io].lib:
- by default the chameleon V0/V1 API (Chameleon*()) is not exported any more
this tables are covered anyway by chameleon V2 API!
- added support for MEN PCI vendor ID
- fixed: for Chameleon V1 tables: don't mask modCode Bits 7 - 9
- fixed: BAR descriptors where not found when placed after CPU/BRIDGE descriptors
-----[ 2007-05-02 : references Revision 2.2 ]-----
MK lib:
- new compiled due to OSS_IrqMaskR/OSS_IrqRestore() bugfix
- checked version: debug prints fixed (had caused BSOD)
-----[ 2007-03-30 : references Revision 2.1 ]-----
oss.lib: OSS_IrqMaskR/OSS_IrqRestore() bugfix: nested AcquireInterruptSpinLock call fixed
-----[ 2007-03-28 : 13M043-06 Revision 2.6 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/maccess.h RCS 1.13 -> RCS 1.15
changed
+ NIOS_II to NIOS_II_ALTERA_IDE to stay mac_mem.h for NIOS MENMON
added NIOS_II defines
File /_CVS_/COM/INCLUDE/mdis_err.h RCS 1.29 -> RCS 1.30
added NIOS_II defines
File /_CVS_/COM/INCLUDE/usr_oss.h RCS 1.19 -> RCS 1.21
UOS_SigInit() declaration changed back
(because backward compatibility problems with common example programs)
UOS_SigInit() declaration changed
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.8 -> RCS 1.9
Auto Checkin
-----[ 2007-02-22 : references Revision 2.0 ]-----
MK lib:
- dev-sem now claimed during LL-exit
- locking semaphores: error handling fixed
- now SMP save
OSS/MBUF lib:
- now SMP save
ID lib:
- added support for MSx Module (devname generation)
USR_OSS lib:
- 'Global\' prefix for signal event added for Vista
-----[ 2006-12-15 : 13M043-06 Revision 2.5 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/dbg.h RCS 1.20 -> RCS 1.21
fixed: C++ comments did not work with OS9 Ultra-C compiler
File /_CVS_/COM/INCLUDE/mdis_api.h RCS 1.12 -> RCS 1.13
added M_BB_GET_SMBHDL for SMB2 MDIS support
File /_CVS_/COM/INCLUDE/mdis_com.h RCS 1.4 -> RCS 1.5
added
+ defines for CHAMELEON address and data modes
File /_CVS_/COM/INCLUDE/oss.h RCS 1.37 -> RCS 1.42
Cosmetics
+ OSS_BUSTYPE_SMB
+ OSS_BUSTYPE_SMB
changed OSS_VME_DM/OSS_VME_AM docu from single-line style to common style
added OSS_GetSmbHdl(), OSS_SetSmbHdl() prototype
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.7 -> RCS 1.8
new Revision
-----[ 2006-02-28 : references Revision 1.10 ]-----
OSS lib:
- OSS_SigRemove(): sigHandleP check added
-----[ 2005-12-23 : references Revision 1.9 ]-----
MK lib:
- OSS_GetSmbHdl() implemented
-----[ 2005-08-11 : 13M043-06 Revision 2.4 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/dbg.h RCS 1.16 -> RCS 1.20
added support for WINNT userspace
Copyright line changed
Copyright line changed
added
+ switch __INC_DBG_OS__
cosmetics
File /_CVS_/COM/INCLUDE/oss.h RCS 1.34 -> RCS 1.37
changed defines OSS_VME4L_* to OSS_VME_*
added support for userspace
added some bit mappings for PCI config header
changed header to doxygen
Copyright line changed
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.6 -> RCS 1.7
new Revision
-----[ 2005-08-09 : references Revision 1.8 ]-----
minor changes
-----[ 2005-07-27 : references Revision 1.7 ]-----
nt_func.h: Added user space support
-----[ 2005-05-09 : references Revision 1.6 ]-----
MK lib:
- bug fix: devices that resides on ROOT enumerated BBIS devices (e.g. A201 carriers)
may caused out-of-mem!
-----[ 2005-03-29 : references Revision 1.5 ]-----
MK lib:
- PnpFreeDeviceResources(): resource cleanup fixed:
calls now MKWithdrawRes() regardless the power-state
- MKDoGetstat(M_MK_IRQ_INFO): fixed
-----[ 2005-01-31 : 13M043-06 Revision 2.3 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/oss.h RCS 1.33 -> RCS 1.34
added OSS_DL_InsertAfter prototype
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.5 -> RCS 1.6
New Revision 2.3 (MDIS-RTAI support)
-----[ 2004-09-06 : references Revision 1.4 ]-----
MK lib:
- Bugfix: i/o addresses were handled as mem addresses by mistake
-----[ 2004-08-06 : references Revision 1.3 ]-----
OSS lib:
- OSS_IrqMaskR and OSS_IrqRestore modified so they don't interfere with
OSS_IrqMask and OSS_IrqUnMask any more
- OSS_WinLogFuncErr(): CString was used by mistake
-----[ 2004-07-27 : 13M043-06 Revision 2.2 ]-----
new headers
-----[ 2004-06-22 : references Revision 1.2 ]-----
cosmetics
-----[ 2004-04-08 : 13M043-06 Revision 2.1 ]-----
Minor modifications for WIN2k compatibility
-----[ 2004-04-07 : 13M043-06 Revision 2.0 ]-----
Minor changes for MDIS4/2004 conformity
Bugfix in swapped acces variant build
-----[ 2004-03-24 : 13M043-06 Revision 1.11 ]-----
Added QNX support
-----[ 2004-03-04 : references Revision 1.1 ]-----
Initial Revision
-----[ 2003-06-06 : 13M043-06 Revision 1.10 ]-----
Added packagedesc file
-----[ 2003-04-11 : 13M043-06 Revision 1.9 ]-----
Headers changed
-----[ 2003-02-21 : 13M043-06 Revision 1.8 ]-----
misc changes in header files
-----[ 2001-08-16 : 13M043-06 Revision 1.7 ]-----
support swapped access variant
-----[ 2001-01-19 : 13M043-06 Revision 1.6 ]-----
Added HTML doku
fixed NO_MAIN_FUNC in example
-----[ 1998-08-03 : 13M043-06 Revision 1.5 ]-----
*** ADDED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DOC/m43_drv.txt
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_drv.c RCS 1.2 -> RCS 1.7
idFuncTbl is now located in LL_HANDLE
idFuncTbl is now initialized in Init
IdFuncTbl() removed
error messages are now with prefix LL
wrong static const char *IdentString type changed
M43_Init: ID_CHECK default is now 1
M43_Init: error message was wrong
M43_Getstat: M_LL_ID_SIZE returned wrong size=32
M43_Getstat: M_LL_BLK_ID_DATA changed (template style)
LL_HANDLE: unused irqHdl removed
LL_HANDLE: base renamed to ma (template style)
DBGEXIT added
update to MDIS 4.1, new function IdFuncTbl(),
Set/Getstat: M_BUF_WR_MODE removed / M_LL_CH_DIR is M_CH_INOUT
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_max.dsc RCS 1.3 -> RCS 1.5
ID_CHECK is now default=1
DESC_TYPE now U_INT32, DEBUG_LEVEL_ MK/OSS/DESC added, cosmetics
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_min.dsc RCS 1.2 -> RCS 1.3
DESC_TYPE now U_INT32, cosmetics
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/EXAMPLE/M43_EX1/COM/m43_ex1.c RCS 1.2 -> RCS 1.4
flush stdout after printing without newline
made execution faster (delay changed from 500 to 200)
VxWorks defines removed, support for variable device names implemented,
cosmetics to new style
-----[ 1998-04-21 : 13M043-06 Revision 1.4 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_max.dsc RCS 1.1 -> RCS 1.3
convert d201_1 to D201_1
CH_CURRENT removed
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_min.dsc RCS 1.1 -> RCS 1.2
convert d201_1 to D201_1
-----[ 1998-03-13 : 13M043-06 Revision 1.3 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_drv.c RCS 1.1 -> RCS 1.2
repair ident string
remove permanent debug infos
use MD16 instead of MD08
remove #include <stdarg.h>
-----[ 1998-03-11 : 13M043-06 Revision 1.2 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/EXAMPLE/M43_EX1/COM/m43_ex1.c RCS 1.1 -> RCS 1.2
adapt to VXWORKS
-----[ 1998-03-09 : 13M043-06 Revision 1.1 ]-----
Added by mcvs
Licensing Information
===== History of MDIS5 Windows Driver Package 13M043-70 rev. 2.12.2.18
===== 2013-11-06 built from - MDIS5 LL-Driver 13M043-06 rev. 2.12
===== - MDIS5 Windows references rev. 2.18
================================================================================
-----[ 2013-11-06 : references Revision 2.18 ]-----
====== Based on Windows MDIS5 System Package 13MD05-70 Rev. 1.5 ======
--- Libraries ---
R: MK: errors and BSOD during Windows shutdown at SC26 with SMB2 driver
M: MK: synchronize power state change with IRP processing during shutdown
-----[ 2013-07-11 : 13M043-06 Revision 2.12 ]-----
R: Porting to MDIS5
M: Changed according to MDIS Porting Guide 0.9
-----[ 2012-08-08 : references Revision 2.17 ]-----
=== Libraries ===
R:1. USR_OSS: UOS_KeyWait consumes too much CPU time
2. MK: BSOD 0x8E with EXCEPTION_CODE 0xc0000047 (semaphore max count exceeded)
3. MK: must not call BBIS driver's IrqEnable with masked IRQ
4. MK: prevent concurrent BBIS/LL-Drv. IrqEnable calls
5. MK: support required for chameleon FPGAs with mixed i/o and mem mapped units
6. MK: sub device list not save for concurrent execution
7. MK: M_read/M_write calls from MDIS4 applications not suppported by mistake
8. OSS: workaround in OSS_SemWait() required for SMB2 lib
9. OSS: prevent spin-lock dead-looks
M:1. USR_OSS: delay added to provide CPU time to other threads
2. MK: error handling improved to prevent release of not claimed semaphore
3.a) MK: disabling BBIS IRQ no longer with masked IRQ
b) MK: MK_REVISION set to MDIS_MKREV_2
4. MK: enable BBIS IRQ with claimed semaphore
5. MK: use newer BBIS_CFGINFO_ADDRSPACE prior BBIS_BRDINFO_ADDRSPACE
6. MK: sub device list protected with semaphore
7. MK: support MDIS4 IOCTLs for MDIS4 applications
8.a) OSS: OSS_SemWait: IRQL = DISPATCH_LEVEL: skip waiting
b) OSS: OSS_SemWait: IRQL > DISPATCH_LEVEL: skip KeWaitForSingleObject(), return ERR_OSS
9. OSS: use WDF spin-locks and restrict usage to IRQL <= DISPATCH_LEVEL
-----[ 2012-05-14 : 13M043-06 Revision 2.11 ]-----
13m04306.xml
R: Description for MDIS4 misleading
-----[ 2011-05-25 : 13M043-06 Revision 2.10 ]-----
R: checkin due to new revision of headers maccess.h, mdis_err.h,
oss.h, usr_oss.h
-----[ 2010-12-08 : references Revision 2.16 ]-----
====== Based on Windows MDIS5 System Package 13MD05-70 Rev. 1.3 ======
--- Libraries ---
R:1. Power Management support
2. MDIS_API: new MK error codes ERR_MK_SLEEP_ILLHDL, ERR_MK_SLEEP_LOCKED
3. MDIS_API: revision string is empty for M_MK_BLK_REV_ID
4. USR_OSS: signal handling update
5. OSS: signal events stay in signal list after exit on XP SP3
6. OSS: spin lock support functions required for Chameleon BBIS
7. SMB2: DBGWRT failed with zero data pointer
M:1.a) USR_SLEEP library added
b) MK: adapted for Power Management
2. MDIS_API: supports new error code description
3. MDIS_API: string generation fixed
4.a) USR_OSS: SigUnMask removed in UOS_SigWait
b) USR_OSS: terminates no longer signal thread on queue overrun
c) USR_OSS: queue size increased
5. OSS: added close of event for XP SP3
6. OSS: OSS_SpinLockXxx functions added
7. SMB2: fixed debug message
-----[ 2010-11-05 : references Revision 2.15 ]-----
APB5:
R: 1. prevent native file check-in if win-pkg fileset was already checked-in
2. bug: building internal win-pkg if swmodule attribut internal=false set
3. APB5 script error if xml specifies os/notos tag or one sw module is
specified multiple times
4. sometimes, win-pkg zip was checked-in as ascii file
M: 1. dont't ask to check-in native files if win-pkg fileset was checked-in
2. bug fixed: building internal win-pkg only if internal=true set
3. script fixed
4. win-pkg zip check-in fixed
BUILD:
R: missing libraries for executables with the use of API DLLs
M: added libraries to TMPL_TARGETLIBS for API DLLs version
-----[ 2010-11-03 : references Revision 2.14 ]-----
Windows driver package generation (BUILD, APB5):
R:1. new mdiswiz.exe version available
2. internal files not needed for public distribution
M:1. using mdiswiz.exe rev. 1.3
2. removed category public from internal files
SW Modules:
R:1. MDIS_API: new MK error codes ERR_MK_SLEEP_ILLHDL, ERR_MK_SLEEP_LOCKED
2. MK: IRP processing must be synchronized with power management
3. OSS: signal events stay in signal list after exit on XP SP3
4. USR_OSS: SigUnMask at the end of UOS_SigWait incorrect
5. USR_OSS: Queue overrun leads to exit thread, no further signals delivered
M:1. MDIS_API: new built to support new error code description
2.a) MK: block sleep until all IRPs in progress are finished
b) MK: begin no new IRP after system indicates to enter a sleep state
3. OSS: added close of event for XP SP3
4. USR_OSS: SigUnMask removed in UOS_SigWait
5.a) USR_OSS: removed closing thread on queue overrun
b) USR_OSS: queue size increased
-----[ 2010-09-27 : references Revision 2.13 ]-----
R:1. MK: MkDevListGet/SetCtxt() declared for paged segment but PAGED_CODE
missing
2. MK: PREfast warnings for some DBGTRC
3. MK: preventing power state change in kernel mode not supported any more,
user mode application is responsible for
4. MK: support for power management
5. MDIS_API: Revision string is empty for M_MK_BLK_REV_ID
6. SMB2: DBGWRT failed with zero data pointer
M:1. MK: PAGED_CODE added
2. MK: some DBGTRC fixed
3. MK: removed preventing system state change while path opened
4.a) close open ll handle when power state change to sleep mode
b) changed return code for illegal handle
5. MDIS_API: Fixed string generation
6. SMB2: fixed debug message
-----[ 2010-07-26 : references Revision 2.12 ]-----
Windows driver package generation (APB5):
R: WEBART logging doesn't work
M: WEBART logging fixed
-----[ 2010-07-23 : references Revision 2.11 ]-----
Windows driver package generation (APB5):
M:1. 13MD05-70 released
2. new mdiswiz version with fixes in pkg2inf5
3. build environment changed
R:1. use revision from 13MD05-70 as major PRODUCTVERSION
2.a) inf files: mcvs date/revision info in inf header replaced with creation
date and mdiswiz pkg2inf revision
b) inf files: ExcludeFromSelect removed
c) inf files: models without autoid use 'XXX[_SW]&NO_AUTOID'
3. create embedded signature in 64-bit free and checked drivers
SW Modules:
R:1. smb2.lib - 16Z001_SMB: terminate bit could be set if status is polled
before an abort operation finishes
2. smb2_io.lib - ICH SMB: sometimes wasting time during transfer
M:1. smb2.lib - 16Z001_SMB: add max. 500 ms wait time after starting an abort
operation
2. smb2_io.lib - ICH SMB: LocWaitBusyReady function fixed
-----[ 2010-06-21 : 13M043-06 Revision 2.9 ]-----
Update common headers
-----[ 2010-06-11 : references Revision 2.10 ]-----
R:1. mk.lib: check for invalid interrupt object was buggy
2. mk.lib: new address mode MDIS_MA_BB_INFO_PTR
M:1. mk.lib: check for invalid interrupt object removed
2. mk.lib: support for new address mode MDIS_MA_BB_INFO_PTR
-----[ 2010-05-07 : references Revision 2.9 ]-----
R:1. low-level drivers that use new MDIS_MA_BB_INFO_PTR feature
requires chameleon.h (e.g. Z88 driver)
2. support embedded signature for 64-bit free and checked drivers
M:1.a) chameleon.h added
b) chameleon lib documentation added
2. sign all built 64-bit .sys files
-----[ 2010-04-14 : references Revision 2.8 ]-----
R: swapping variant of PLD library required for M72 driver
M: pld_sw.lib added
-----[ 2010-04-14 : references Revision 2.7 ]-----
R:1. VME4WIN for MDIS5 supported
2. mdiswiz support for new busif SMBus required
M:1.a) mk : added check for invalid interrupt object
b) oss: adapted VME KM interface access
2. replaced Qt3 based mdiswiz by Qt4 based mdiswiz
-----[ 2009-11-09 : references Revision 2.6 ]-----
R:1. APB5: missing check for unsupported setup/build options
2. APB5: .cat file was not timestamped
3. OSS_IrqRestore decreases IRQL that was not increased by current context
4. OSS_SigRemove ZwClose leads to BSOD at Windows XP
M:1. setup/build option check improved
2. /t <URL> added to signtool sign
3. Changed order to reset irqmasked
4. Added check for os version
-----[ 2009-10-30 : references Revision 2.5 ]-----
R: OSS lib: Mapped io address is zero
M: OSS lib: Fixed set virtAddr to physAddr at IO addr space
-----[ 2009-10-28 : references Revision 2.4 ]-----
R:1. MK lib: new BBIS bus type OSS_BUSTYPE_SMB handled as error
2. OSS lib: no interrupt spinlock release at last call of OSS_IrqRestore
M:1. MK: BBIS bus type check removed (to be open minded for future bus types)
2. OSS: Removed restting irqmasked at OSS_IrqMaskR
-----[ 2009-10-23 : references Revision 2.3 ]-----
R:1. MkInitExit and MkEvtDeviceD0EntryPostInterruptsEnabled must be nonpageable
2. OSS lib: irqmasked bit not cleared after releasing interrupt spinlock
M:1. MK lib: Fixed to be nonpageable
2. OSS lib: Fixed to reset irqmasked at OSS_IrqRestore
-----[ 2009-10-20 : references Revision 2.2 ]-----
R:1. Releasing interrupt spinlock that had not been masked by OSS_IrqMaskR leads
to lowering IRQL in ISR
2. Fixed OSS Libraray OSS_IRQ_HANDLE
M:1. Fixed releasing interrupt spinlock just when masked before in OSS library
2. Recompilation of MK library
-----[ 2009-10-12 : references Revision 2.1 ]-----
Initial Revision
-----[ 2009-09-25 : 13M043-06 Revision 2.8 ]-----
R: MDIS5 for linux release
M: change type definitions to be compatible to LP64 data model
(used for 64bit Linux systems)
-----[ 2009-06-08 : 13M043-06 Revision 2.7 ]-----
Update common header files
-----[ 2007-03-28 : 13M043-06 Revision 2.6 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/maccess.h RCS 1.13 -> RCS 1.15
changed
+ NIOS_II to NIOS_II_ALTERA_IDE to stay mac_mem.h for NIOS MENMON
added NIOS_II defines
File /_CVS_/COM/INCLUDE/mdis_err.h RCS 1.29 -> RCS 1.30
added NIOS_II defines
File /_CVS_/COM/INCLUDE/usr_oss.h RCS 1.19 -> RCS 1.21
UOS_SigInit() declaration changed back
(because backward compatibility problems with common example programs)
UOS_SigInit() declaration changed
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.8 -> RCS 1.9
Auto Checkin
-----[ 2006-12-15 : 13M043-06 Revision 2.5 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/dbg.h RCS 1.20 -> RCS 1.21
fixed: C++ comments did not work with OS9 Ultra-C compiler
File /_CVS_/COM/INCLUDE/mdis_api.h RCS 1.12 -> RCS 1.13
added M_BB_GET_SMBHDL for SMB2 MDIS support
File /_CVS_/COM/INCLUDE/mdis_com.h RCS 1.4 -> RCS 1.5
added
+ defines for CHAMELEON address and data modes
File /_CVS_/COM/INCLUDE/oss.h RCS 1.37 -> RCS 1.42
Cosmetics
+ OSS_BUSTYPE_SMB
+ OSS_BUSTYPE_SMB
changed OSS_VME_DM/OSS_VME_AM docu from single-line style to common style
added OSS_GetSmbHdl(), OSS_SetSmbHdl() prototype
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.7 -> RCS 1.8
new Revision
-----[ 2005-08-11 : 13M043-06 Revision 2.4 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/dbg.h RCS 1.16 -> RCS 1.20
added support for WINNT userspace
Copyright line changed
Copyright line changed
added
+ switch __INC_DBG_OS__
cosmetics
File /_CVS_/COM/INCLUDE/oss.h RCS 1.34 -> RCS 1.37
changed defines OSS_VME4L_* to OSS_VME_*
added support for userspace
added some bit mappings for PCI config header
changed header to doxygen
Copyright line changed
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.6 -> RCS 1.7
new Revision
-----[ 2005-01-31 : 13M043-06 Revision 2.3 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/oss.h RCS 1.33 -> RCS 1.34
added OSS_DL_InsertAfter prototype
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.5 -> RCS 1.6
New Revision 2.3 (MDIS-RTAI support)
-----[ 2004-07-27 : 13M043-06 Revision 2.2 ]-----
new headers
-----[ 2004-04-08 : 13M043-06 Revision 2.1 ]-----
Minor modifications for WIN2k compatibility
-----[ 2004-04-07 : 13M043-06 Revision 2.0 ]-----
Minor changes for MDIS4/2004 conformity
Bugfix in swapped acces variant build
-----[ 2004-03-24 : 13M043-06 Revision 1.11 ]-----
Added QNX support
-----[ 2003-06-06 : 13M043-06 Revision 1.10 ]-----
Added packagedesc file
-----[ 2003-04-11 : 13M043-06 Revision 1.9 ]-----
Headers changed
-----[ 2003-02-21 : 13M043-06 Revision 1.8 ]-----
misc changes in header files
-----[ 2001-08-16 : 13M043-06 Revision 1.7 ]-----
support swapped access variant
-----[ 2001-01-19 : 13M043-06 Revision 1.6 ]-----
Added HTML doku
fixed NO_MAIN_FUNC in example
-----[ 1998-08-03 : 13M043-06 Revision 1.5 ]-----
*** ADDED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DOC/m43_drv.txt
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_drv.c RCS 1.2 -> RCS 1.7
idFuncTbl is now located in LL_HANDLE
idFuncTbl is now initialized in Init
IdFuncTbl() removed
error messages are now with prefix LL
wrong static const char *IdentString type changed
M43_Init: ID_CHECK default is now 1
M43_Init: error message was wrong
M43_Getstat: M_LL_ID_SIZE returned wrong size=32
M43_Getstat: M_LL_BLK_ID_DATA changed (template style)
LL_HANDLE: unused irqHdl removed
LL_HANDLE: base renamed to ma (template style)
DBGEXIT added
update to MDIS 4.1, new function IdFuncTbl(),
Set/Getstat: M_BUF_WR_MODE removed / M_LL_CH_DIR is M_CH_INOUT
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_max.dsc RCS 1.3 -> RCS 1.5
ID_CHECK is now default=1
DESC_TYPE now U_INT32, DEBUG_LEVEL_ MK/OSS/DESC added, cosmetics
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_min.dsc RCS 1.2 -> RCS 1.3
DESC_TYPE now U_INT32, cosmetics
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/EXAMPLE/M43_EX1/COM/m43_ex1.c RCS 1.2 -> RCS 1.4
flush stdout after printing without newline
made execution faster (delay changed from 500 to 200)
VxWorks defines removed, support for variable device names implemented,
cosmetics to new style
-----[ 1998-04-21 : 13M043-06 Revision 1.4 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_max.dsc RCS 1.1 -> RCS 1.3
convert d201_1 to D201_1
CH_CURRENT removed
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_min.dsc RCS 1.1 -> RCS 1.2
convert d201_1 to D201_1
-----[ 1998-03-13 : 13M043-06 Revision 1.3 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_drv.c RCS 1.1 -> RCS 1.2
repair ident string
remove permanent debug infos
use MD16 instead of MD08
remove #include <stdarg.h>
-----[ 1998-03-11 : 13M043-06 Revision 1.2 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/EXAMPLE/M43_EX1/COM/m43_ex1.c RCS 1.1 -> RCS 1.2
adapt to VXWORKS
-----[ 1998-03-09 : 13M043-06 Revision 1.1 ]-----
Added by mcvs
Download 13m04370_mdis4.zipiThis is the MDIS4 Windows Driver Package.It requires the MDIS4 System Package and is not compatible to MDIS5. ================================================================================
===== History of MDIS4 Windows Driver Package 13M043-70 rev. 2.8.2.10
===== 2009-12-11 built from - MDIS4 LL-Driver 13M043-06 rev. 2.8
===== - MDIS4 Windows references rev. 2.10
================================================================================
-----[ 2009-12-07 : references Revision 2.10 ]-----
R:1. address mapping must not be done for new address mode MDIS_MA_BB_INFO_PTR
2. OSS_IrqRestore() called within ISR context: Releasing interrupt spinlock
that was not masked by OSS_IrqMaskR lowers IRQL (error).
M:1.a) mk.lib: only do address and resource mapping if MDIS_MA_FLAG_NOMAP is not set
.b) mk.lib: initialize the address structures correctly if mapping is not done
2.a) mk.lib: new compiled due to new added OSS_IRQ_HANDLE::irqmasked parameter
.b) oss.lib: OSS_IrqMaskR/OSS_IrqRestore(): Using new OSS_IRQ_HANDLE::irqmasked
parameter to prevent erroneous unmasking.
-----[ 2009-09-25 : 13M043-06 Revision 2.8 ]-----
R: MDIS5 for linux release
M: change type definitions to be compatible to LP64 data model
(used for 64bit Linux systems)
-----[ 2009-06-08 : 13M043-06 Revision 2.7 ]-----
Update common header files
-----[ 2009-05-18 : references Revision 2.9 ]-----
- chameleon_usr.lib, dbg.lib, desc.lib, id.lib, mbuf.lib, pld.lib:
new compiled, no functional changes
- mk.lib:
R:1. If OSS_IrqMaskR() will be called at PASSIVE_LEVEL on CPU2 while MKIsr()
runs at CPU1, OSS_IrqMaskR() acquires no spinnlock - this is an error!
2. New BBIS interface function BB_SetIrqHandle()
M:1. MKIsr(): m_irqHdl.mask++ / m_irqHdl.mask-- removed, see also OSS_IrqMaskR()
2. MKProvideRes(): for BBIS bus driver with >=MDIS_BKREV_3:
call BB_SetIrqHandle() if the function pointer is not NULL
- oss.lib:
R: If OSS_IrqMaskR() will be called at PASSIVE_LEVEL on CPU2 while MKIsr()
runs at CPU1, OSS_IrqMaskR() acquires no spinnlock - this is an error!
M: OSS_IrqMaskR(): condition to acquire interrupt spin look changed,
see also MKIsr()
-----[ 2008-04-28 : references Revision 2.8 ]-----
- INCLUDE/NATIVE/MEN/MACCESS/nt_func.h: MBLOCK_READ_D32 bug fixed
-----[ 2007-10-17 : references Revision 2.7 ]-----
- mk.lib:
CModule::MKIsr(): Deadlock bug fixed: OSS_IrqMaskR() called from ISR
will no longer try to acquire the interrupt spin lock
-----[ 2007-08-23 : references Revision 2.6 ]-----
id.lib, id_sw.lib
- added: USModule-Identification (usm_xxx functions)
-----[ 2007-08-07 : references Revision 2.5 ]-----
MACCESS/nt_func.h: type cast in RSWAP8, RSWAP16, RSWAP32
MAKETMPL/MENBUILD/makefile.inc: added: .exe build from W2k DDK
-----[ 2007-07-26 : references Revision 2.4 ]-----
inf files now with DriverPackageDisplayName entry
-----[ 2007-07-25 : references Revision 2.3 ]-----
- nt_func.h:
- volatile casts and brackets added because hw access problem (detected in m72 driver)
- chameleon_usr[_io].lib:
- by default the chameleon V0/V1 API (Chameleon*()) is not exported any more
this tables are covered anyway by chameleon V2 API!
- added support for MEN PCI vendor ID
- fixed: for Chameleon V1 tables: don't mask modCode Bits 7 - 9
- fixed: BAR descriptors where not found when placed after CPU/BRIDGE descriptors
-----[ 2007-05-02 : references Revision 2.2 ]-----
MK lib:
- new compiled due to OSS_IrqMaskR/OSS_IrqRestore() bugfix
- checked version: debug prints fixed (had caused BSOD)
-----[ 2007-03-30 : references Revision 2.1 ]-----
oss.lib: OSS_IrqMaskR/OSS_IrqRestore() bugfix: nested AcquireInterruptSpinLock call fixed
-----[ 2007-03-28 : 13M043-06 Revision 2.6 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/maccess.h RCS 1.13 -> RCS 1.15
changed
+ NIOS_II to NIOS_II_ALTERA_IDE to stay mac_mem.h for NIOS MENMON
added NIOS_II defines
File /_CVS_/COM/INCLUDE/mdis_err.h RCS 1.29 -> RCS 1.30
added NIOS_II defines
File /_CVS_/COM/INCLUDE/usr_oss.h RCS 1.19 -> RCS 1.21
UOS_SigInit() declaration changed back
(because backward compatibility problems with common example programs)
UOS_SigInit() declaration changed
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.8 -> RCS 1.9
Auto Checkin
-----[ 2007-02-22 : references Revision 2.0 ]-----
MK lib:
- dev-sem now claimed during LL-exit
- locking semaphores: error handling fixed
- now SMP save
OSS/MBUF lib:
- now SMP save
ID lib:
- added support for MSx Module (devname generation)
USR_OSS lib:
- 'Global\' prefix for signal event added for Vista
-----[ 2006-12-15 : 13M043-06 Revision 2.5 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/dbg.h RCS 1.20 -> RCS 1.21
fixed: C++ comments did not work with OS9 Ultra-C compiler
File /_CVS_/COM/INCLUDE/mdis_api.h RCS 1.12 -> RCS 1.13
added M_BB_GET_SMBHDL for SMB2 MDIS support
File /_CVS_/COM/INCLUDE/mdis_com.h RCS 1.4 -> RCS 1.5
added
+ defines for CHAMELEON address and data modes
File /_CVS_/COM/INCLUDE/oss.h RCS 1.37 -> RCS 1.42
Cosmetics
+ OSS_BUSTYPE_SMB
+ OSS_BUSTYPE_SMB
changed OSS_VME_DM/OSS_VME_AM docu from single-line style to common style
added OSS_GetSmbHdl(), OSS_SetSmbHdl() prototype
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.7 -> RCS 1.8
new Revision
-----[ 2006-02-28 : references Revision 1.10 ]-----
OSS lib:
- OSS_SigRemove(): sigHandleP check added
-----[ 2005-12-23 : references Revision 1.9 ]-----
MK lib:
- OSS_GetSmbHdl() implemented
-----[ 2005-08-11 : 13M043-06 Revision 2.4 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/dbg.h RCS 1.16 -> RCS 1.20
added support for WINNT userspace
Copyright line changed
Copyright line changed
added
+ switch __INC_DBG_OS__
cosmetics
File /_CVS_/COM/INCLUDE/oss.h RCS 1.34 -> RCS 1.37
changed defines OSS_VME4L_* to OSS_VME_*
added support for userspace
added some bit mappings for PCI config header
changed header to doxygen
Copyright line changed
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.6 -> RCS 1.7
new Revision
-----[ 2005-08-09 : references Revision 1.8 ]-----
minor changes
-----[ 2005-07-27 : references Revision 1.7 ]-----
nt_func.h: Added user space support
-----[ 2005-05-09 : references Revision 1.6 ]-----
MK lib:
- bug fix: devices that resides on ROOT enumerated BBIS devices (e.g. A201 carriers)
may caused out-of-mem!
-----[ 2005-03-29 : references Revision 1.5 ]-----
MK lib:
- PnpFreeDeviceResources(): resource cleanup fixed:
calls now MKWithdrawRes() regardless the power-state
- MKDoGetstat(M_MK_IRQ_INFO): fixed
-----[ 2005-01-31 : 13M043-06 Revision 2.3 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/INCLUDE/oss.h RCS 1.33 -> RCS 1.34
added OSS_DL_InsertAfter prototype
File /_CVS_/COM/PACKAGE_DESC/13m04306.xml RCS 1.5 -> RCS 1.6
New Revision 2.3 (MDIS-RTAI support)
-----[ 2004-09-06 : references Revision 1.4 ]-----
MK lib:
- Bugfix: i/o addresses were handled as mem addresses by mistake
-----[ 2004-08-06 : references Revision 1.3 ]-----
OSS lib:
- OSS_IrqMaskR and OSS_IrqRestore modified so they don't interfere with
OSS_IrqMask and OSS_IrqUnMask any more
- OSS_WinLogFuncErr(): CString was used by mistake
-----[ 2004-07-27 : 13M043-06 Revision 2.2 ]-----
new headers
-----[ 2004-06-22 : references Revision 1.2 ]-----
cosmetics
-----[ 2004-04-08 : 13M043-06 Revision 2.1 ]-----
Minor modifications for WIN2k compatibility
-----[ 2004-04-07 : 13M043-06 Revision 2.0 ]-----
Minor changes for MDIS4/2004 conformity
Bugfix in swapped acces variant build
-----[ 2004-03-24 : 13M043-06 Revision 1.11 ]-----
Added QNX support
-----[ 2004-03-04 : references Revision 1.1 ]-----
Initial Revision
-----[ 2003-06-06 : 13M043-06 Revision 1.10 ]-----
Added packagedesc file
-----[ 2003-04-11 : 13M043-06 Revision 1.9 ]-----
Headers changed
-----[ 2003-02-21 : 13M043-06 Revision 1.8 ]-----
misc changes in header files
-----[ 2001-08-16 : 13M043-06 Revision 1.7 ]-----
support swapped access variant
-----[ 2001-01-19 : 13M043-06 Revision 1.6 ]-----
Added HTML doku
fixed NO_MAIN_FUNC in example
-----[ 1998-08-03 : 13M043-06 Revision 1.5 ]-----
*** ADDED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DOC/m43_drv.txt
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_drv.c RCS 1.2 -> RCS 1.7
idFuncTbl is now located in LL_HANDLE
idFuncTbl is now initialized in Init
IdFuncTbl() removed
error messages are now with prefix LL
wrong static const char *IdentString type changed
M43_Init: ID_CHECK default is now 1
M43_Init: error message was wrong
M43_Getstat: M_LL_ID_SIZE returned wrong size=32
M43_Getstat: M_LL_BLK_ID_DATA changed (template style)
LL_HANDLE: unused irqHdl removed
LL_HANDLE: base renamed to ma (template style)
DBGEXIT added
update to MDIS 4.1, new function IdFuncTbl(),
Set/Getstat: M_BUF_WR_MODE removed / M_LL_CH_DIR is M_CH_INOUT
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_max.dsc RCS 1.3 -> RCS 1.5
ID_CHECK is now default=1
DESC_TYPE now U_INT32, DEBUG_LEVEL_ MK/OSS/DESC added, cosmetics
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_min.dsc RCS 1.2 -> RCS 1.3
DESC_TYPE now U_INT32, cosmetics
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/EXAMPLE/M43_EX1/COM/m43_ex1.c RCS 1.2 -> RCS 1.4
flush stdout after printing without newline
made execution faster (delay changed from 500 to 200)
VxWorks defines removed, support for variable device names implemented,
cosmetics to new style
-----[ 1998-04-21 : 13M043-06 Revision 1.4 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_max.dsc RCS 1.1 -> RCS 1.3
convert d201_1 to D201_1
CH_CURRENT removed
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_min.dsc RCS 1.1 -> RCS 1.2
convert d201_1 to D201_1
-----[ 1998-03-13 : 13M043-06 Revision 1.3 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/DRIVER/COM/m43_drv.c RCS 1.1 -> RCS 1.2
repair ident string
remove permanent debug infos
use MD16 instead of MD08
remove #include <stdarg.h>
-----[ 1998-03-11 : 13M043-06 Revision 1.2 ]-----
*** CHANGED FILES ***
File /_CVS_/COM/DRIVERS/MDIS_LL/M043/EXAMPLE/M43_EX1/COM/m43_ex1.c RCS 1.1 -> RCS 1.2
adapt to VXWORKS
-----[ 1998-03-09 : 13M043-06 Revision 1.1 ]-----
Added by mcvs
Licensing Information
Supported MEN Standard Products
Supported Operating System
- Windows 2000 (MDIS4/2004 only)
- Windows XP
- Windows Vista 32-bit
- Windows Vista 64-bit (MDIS5 only)
- Windows 7 32-bit (MDIS5 only)
- Windows 7 64-bit (MDIS5 only)
Included
13M043-06 (source code)
Included Documentation
PDF user manual available as a separate download
Note
Requires MDIS system package
Licensing Information
This article is free of charge.
Ordering Information & Downloads
Main Software
13M043-70
MDIS4/2004 / MDIS5 Windows driver (MEN) for M43/M43N
Requires a compatible MDIS system package.
Related Software
13M043-06
MDIS4/2004 / MDIS5 low-level driver sources (MEN) for M43/M43N