Re: IDE driver program
From: Weijie Zhu (zwj196801_at_163.net)
Date: 02/27/04
- Next message: Selin Metin: "Re: Disable debugging on serial com1"
- Previous message: chakka sudhakar: "file system filter driver can we unload dynamically ?"
- In reply to: Oliver Münchow: "Re: IDE driver program"
- Next in thread: Oliver Münchow: "Re: IDE driver program"
- Reply: Oliver Münchow: "Re: IDE driver program"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 20:46:07 -0800
Hi Oliver,
Here is my platform.reg, could you help me?
[HKEY_LOCAL_MACHINE\Platform]
"Name"=LOC_PLATFORMNAME
"Type"=dword:2
; HIVE BOOT SECTION
; The UTL driver must be at the beginning of the registry since we
; need it to be loaded as the very first driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UTLDRV]
"Prefix"="UTL"
"Dll"="UTLDRV.DLL"
"Order"=dword:0
"Index"=dword:0
"FriendlyName"="Utility Driver"
; "Flags"=dword:1000 <== this will hinder utldrv from being loaded
; END HIVE BOOT SECTION
; This registry setting controls the checkboxes dsiplayed in the Sounds CPL
; under "enable clicks & taps". Set bit0 if you have a keyboard, set bit1 if
; you have a touch screen. Set bit2 if you have HW buttons (NOTE: for now
; HW buttons are mutually exclusive with the keyboard)
; For ODO setting it to 3=keybd, and touch screen
[HKEY_LOCAL_MACHINE\ControlPanel]
"InputConfig"=dword:2
; Odo touch hardware is marginal. Allow large error since touch hardware is noisy
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"MaxCalError"=dword:7
; this is for AT9X0 touch panel
; portrait
IF BSP_TOUCH_UCB1300
"CalibrationData"="488,486 738,239 234,240 236,730 739,727 "
ENDIF
IF BSP_TOUCH_WM9712
"CalibrationData"="503,508 758,243 250,248 249,772 755,768 "
ENDIF
;Storage manager
[HKEY_LOCAL_MACHINE\System\StorageManager]
"Dll"="fsdmgr.dll"
;File System driver
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Relfsd]
"Dll"="relfsd.dll"
"Paging"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
"AutoMount"=dword:1
"AutoPart"=dword:0
"AutoFormat"=dword:0
"MountFlags"=dword:0
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"Folder"="Mounted Volume"
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:00000024
"Paging"=dword:1
"CacheSize"=dword:ffffffff
; Resources available at time of device.exe initialization.
; Key names are descriptive; resource ids are definitive.
; System ids are defined in ddk\inc\resmgr.h.
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
"Identifier"=dword:1
"Minimum"=dword:1
"Space"=dword:20
"Ranges"="1-0x20"
"Flags"=dword:1000
; "Shared"=""
[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
"Identifier"=dword:2
"Minimum"=dword:0
"Space"=dword:10000
"Ranges"="0-0xFFFF"
"Flags"=dword:1000
;[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
; "Display"="ddi.dll"
[HKEY_LOCAL_MACHINE\Drivers\Display\AT_LCD1]
; 320x240 LCD Landscape 16Bpp
; Portrait Display 240x320
; "CxScreen"=dword:78
; "CyScreen"=dword:A0
; "CyScreen"=dword:140
; Landscape Display 320x240
"CxScreen"=dword:F0
"CyScreen"=dword:140
"Bpp"=dword:8
"VGA"=dword:0
"NTSC"=dword:0
"LCD"=dword:1
"IClass"="{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"
;; MQSW - MEDIAQ Registry Addition
[HKEY_LOCAL_MACHINE\Drivers\display\mq120]
"Rotate"=dword:1
"Ge_On"=dword:1
;ENDIF
[HKEY_LOCAL_MACHINE\Drivers\PCMCIA]
"StatusChangeActivityEvent"="PowerManager/ActivityTimer/SystemActivity"
[HKEY_LOCAL_MACHINE\SYSTEM\GWE]
"ActivityEvent"="PowerManager/ActivityTimer/UserActivity"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"DisableGwesPowerOff"=dword:1
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"SystemIdleTimerResetEvent"="PowerManager/SystemIdleTimerReset"
IF IMGNOKITL
IF BSP_BUILDIN_NE2000
[HKEY_LOCAL_MACHINE\Comm\NE20001\Parms]
"BusType"=dword:0
"InterruptNumber"=dword:19
"IoBaseAddress"=dword:a4000000
"SysIntr"=dword:19
ENDIF
ENDIF
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
IF BSP_NOAUDIO !
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev\]
"Prefix"="WAV"
"Dll"="wavedev.dll"
"Index"=dword:1
"Order"=dword:1
"Priority256"=dword:40
[HKEY_LOCAL_MACHINE\Audio\SoftwareMixer]
IF BSP_AUDIO_UCB1300 !
"SampleRate"=dword:AC44
ENDIF
IF BSP_AUDIO_UCB1300
"SampleRate"=dword:2B11
ENDIF
"Buffers"=dword:4
"BufferSize"=dword:800
"EnableLowPassFilter"=dword:1
; "Priority 256"=dword:32
"Priority 256"=dword:dc
;----------------------------------------------------------------------------
ENDIF
;----------------------------------------------------------------------------
IF BSP_NOWAVCLICK !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WAPIMAN\Clicks]
"ClickDLL"="WavClick.dll"
"KeyLoud"=dword:64
"KeySoft"=dword:65
"TouchLoud"=dword:66
"TouchSoft"=dword:67
ENDIF
IF BSP_NOSERIAL !
IF BSP_USERADIO !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"Dll"="AtlasSer.Dll"
"SysIntr"=dword:12
"IoBase"=dword:AB000000
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"Order"=dword:1
"Index"=dword:1
"FullRS232"=dword:1 ;Serial 0 have a full RS232 support
"FriendlyName"="Serial Cable on USP0 Atlas Debugging Board"
"Priority256"=dword:41
ENDIF
IF BSP_SERIAL_2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"Dll"="AtlasSer.Dll"
"SysIntr"=dword:1e
"IoBase"=dword:AB010000
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:1
"Prefix"="COM"
"Order"=dword:1
"Index"=dword:2
"FullRS232"=dword:0 ;Serial 1 does have a full RS232 support with GPIOs
"FriendlyName"="Serial Cable on USP1 Atlas Debugging Board"
ENDIF
IF BSP_NOIRDA !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrDA]
"Dll"="AtlasSer.Dll"
"SysIntr"=dword:18
"IoBase"=dword:AB040000
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
"DeviceType"=dword:2
"Order"=dword:1
"Index"=dword:3 ;Assign COM4 for IrDA raw if =4 error
"FullRS232"=dword:0 ;
"FriendlyName"="Raw IR on USP2"
IF IMGNOSIR !
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
"Bind"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir]
"DisplayName"=LOC_DISPLAYNAME_COMM_IRSIR
"Group"="NDIS"
"ImagePath"="irsir.dll"
[HKEY_LOCAL_MACHINE\Comm\Irsir\Linkage]
"Route"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"Port"=dword:3
; 0 = Use external dongle, 1 = Use internal IR
"IntIR"=dword:1
; 0 = Internal transceiver, 1 = Extended Systems JetEye dongle
"TransceiverType"=dword:0
ENDIF
ENDIF
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM]
"Dll"="IRCOMM.DLL"
"Prefix"="COM"
"Order"=dword:2
"Index"=dword:4
ENDIF
IF BSP_NOATAPIDISK !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\AtapiDisk\]
"Prefix"="IDE"
"Dll"="atlas_atapi"
"Order"=dword:3
"Class"=dword:01
"SubClass"=dword:01
"IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\AtapiDisk\Device0]
"Prefix"="DSK"
"Dll"="atlas_atapi"
"Settings"=dword:B
"DeviceId"=dword:0
"Ioctl"=dword:4
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
; Uncomment the following lines if you want to enable slave device.
;[HKEY_LOCAL_MACHINE\Drivers\DeferLoad\AtapiDisk\Device1]
; "Prefix"="DSK"
; "Dll"="atlas_atapi"
; "Settings"=dword:B
; "DeviceId"=dword:1
; "Ioctl"=dword:4
; "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="IDE Hard Disk Drive"
"Folder"=LOC_STORE_HD_FOLDER
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"EnableCacheWarm"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\CDProfile]
"Name"="IDE CDROM/DVD Drive"
"Folder"=LOC_STORE_CD_FOLDER
"DefaultFileSystem"="UDFS"
"PartitionDriver"=""
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\CDProfile\PartitionTable]
ENDIF
Regards
-Weijie
- Next message: Selin Metin: "Re: Disable debugging on serial com1"
- Previous message: chakka sudhakar: "file system filter driver can we unload dynamically ?"
- In reply to: Oliver Münchow: "Re: IDE driver program"
- Next in thread: Oliver Münchow: "Re: IDE driver program"
- Reply: Oliver Münchow: "Re: IDE driver program"
- Messages sorted by: [ date ] [ thread ]