Changeset 147
- Timestamp:
- Feb 21, 2013, 10:37:43 AM (12 years ago)
- Location:
- trunk/src/os2ahci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/README
r128 r147 54 54 55 55 - IBM OS/2 DDK version 9.23 or later (see ddk\base\h\version.mak) 56 - Microsoft C600 56 - Microsoft C600 57 57 - ALP Assembler (part of DDK) 58 58 - link.exe (part of DDK) … … 63 63 64 64 65 Watcom Build 66 ------------ 67 68 The source tree contains several files that were created during an 69 attempt to use the Watcom compiler (e.g. wmakefile); however, the 70 Watcom build is broken and produces a non-working driver. 65 Open Watcom Build 66 ----------------- 67 68 The Open Watcom Build is fixed and now produces a working driver. 69 70 The toolchain required for compilation with Open Watcom consists of: 71 72 - IBM OS/2 DDK version 9.23 or later (see ddk\base\h\version.mak) 73 (Used for include files and qgrep) 74 - Open Watcom C/C++ package 75 (available from: http://www.openwatcom.org/index.php/Downloads) 76 - WCC 16-bits C Compiler (part of the Open Watcom package) 77 - WASM Assembler (part of the Open Watcom package) 78 - WLINK Linker (part of the Open Watcom package) 79 - QGREP (part of DDK) 80 81 Please note that the Open Watcom Build is not as extensively tested as the 82 normal DDK Build so don't use it on production systems yet. 83 84 Use the _wbuild.cmd script or run wmake -ms -f wmakefile to build it. 85 When switching between building with the DDK and Open Watcom, 86 be sure to do a clean first. 87 71 88 72 89 … … 95 112 at http://svn.ecomstation.nl/ahci/wiki/AhciTrace 96 113 for more info. 97 /d Debug output on COM port/trace buffer; multiple "/d" 114 /d Debug output on COM port/trace buffer; multiple "/d" 98 115 options will increase verbosity: 99 116 1 = requests … … 107 124 /f Force the use of the HW write cache when using NCQ 108 125 commands; see "Native Command Queuing" below for 109 further explanation 110 /r Reset ports during initialization (default = off 111 unless the [Intel] AHCI controller was found to be 112 initialized by the BIOS in SATA mode) 126 further explanation (default = off) 127 /r Reset ports during initialization (default = on) 128 Can be turned off with /!r, however, when the 129 [Intel] AHCI controller was found to be 130 initialized by the BIOS in SATA mode, ports will 131 always be reset even when /!r was specified 113 132 /a Set adapter for adapter-specific options 114 133 (default = -1, all adapters) … … 156 175 157 176 This has the following effect: 158 177 159 178 - Enable NCQ for all hard disks 160 179 - Disable NCQ for hard disk on adapter #0, port #5 … … 330 349 to ignore type 2 controllers (i.e. controllers supporting both SATA and 331 350 AHCI) using the command line options "/A:x /I". 332 351 333 352 - The IOCTL interface for SMART is based on the idea of IDE controllers 334 353 with a master and a slave drive. OS2AHCI maps all devices (ATA or ATAPI) -
trunk/src/os2ahci/os2ahci.c
r144 r147 87 87 int debug = 0; /* if > 0, print debug messages to COM1 */ 88 88 int thorough_scan = 1; /* if != 0, perform thorough PCI scan */ 89 int init_reset ;/* if != 0, reset ports during init */89 int init_reset = 1; /* if != 0, reset ports during init */ 90 90 int force_write_cache; /* if != 0, force write cache */ 91 91 int verbosity = 1; /* == 1 -> show sign on banner … … 265 265 case 'r': 266 266 /* reset ports during initialization */ 267 init_reset = 1;267 init_reset = !invert_option; 268 268 break; 269 269
Note:
See TracChangeset
for help on using the changeset viewer.