- Timestamp:
- Mar 27, 2019, 3:12:47 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/Makefile
r198 r200 12 12 # Define default build version if not specified in environment 13 13 BLD_MAJOR=2 14 BLD_MINOR=0 6# must be 2 digits14 BLD_MINOR=07 # must be 2 digits 15 15 BLD_REV=0 # not used at this time 16 16 -
trunk/src/os2ahci/ahci.c
r198 r200 249 249 /* more ports in port_map than in HOST_CAP & 0x1f */ 250 250 ports = ai->hw_ports; 251 DPRINTF( 1,"implemented port map (0x%x) contains more ports than hw_ports (%d), using hw_ports\n", ai->port_map, ports);251 DPRINTF(0,"implemented port map (0x%x) contains more ports than hw_ports (%d), using hw_ports\n", ai->port_map, ports); 252 252 ai->port_map = (1UL << ports) - 1UL; 253 253 } … … 558 558 { 559 559 if (i >= MAX_IRQ_HANDLERS) return -1; /* no more handlers available */ 560 DPRINTF(2,"registering interrupt #%d\n", ai->irq); 560 561 DPRINTF(2,"registering interrupt %d pin=%d\n", ai->irq, ai->irq_pin); 561 562 562 563 rc = Dev32Help_SetIRQ(ahci_intr, ai->irq, p, ai->irq); -
trunk/src/os2ahci/ata.c
r198 r200 272 272 if ((sg_addr & 1) || (chunk & 1)) 273 273 { 274 dprintf(1,"error: ata_cmd() called with unaligned S/G element(s)\n");274 DPRINTF(0,"warning: ata_cmd() called with unaligned S/G element(s)\n"); 275 275 return(ATA_CMD_UNALIGNED_ADDR); 276 276 } -
trunk/src/os2ahci/trace.c
r198 r200 38 38 ai->bios_config[HOST_VERSION / sizeof(u32)]); 39 39 40 for (p = 0; p < ai->hw_ports; p++)40 for (p = 0; p <= ai->port_max; p++) 41 41 { 42 42 P_INFO *pi = &ai->ports[p]; -
trunk/tools/AddToFile.cmd
r190 r200 1 1 /** AddToFile.cmd 2 2 * Adds the specified line to the end of the specified file. 3 * Written by and Copyright (c) 2010-201 6David Azarewicz http://88watts.net3 * Written by and Copyright (c) 2010-2018 David Azarewicz http://88watts.net 4 4 * 5 * @#D Azarewicz:1.0 1#@##1## 16 Sep 2016 DAZAR1 ::::::@@AddToFile.cmd (c) David Azarewicz 20165 * @#D Azarewicz:1.02#@##1## 15 Nov 2018 DAZAR1 ::::::@@AddToFile.cmd (c) David Azarewicz 2018 6 6 * V1.01 16-Sep-2016 First official release 7 * V1.02 02-Jun-2017 Added Asd to bldlevel, added DATE1 7 8 * 8 9 * The following line is for the help sample code for the VAR function: … … 18 19 Say 'Functions:'; 19 20 Say ' DATEL - Adds the date as a long number.'; 20 Say ' BLDLEVEL - Adds a formatted BLDLEVEL string.'; 21 Say ' DATE1 - Adds the date in 2017-Jul-01 format.'; 22 Say ' BLDLEVEL - Adds a standardized formatted BLDLEVEL string.'; 21 23 Say ' DATEYEAR - Adds the current year.'; 22 24 Say ' DATEMONTH - Adds the current month.'; … … 33 35 rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd); 34 36 call 'AddToFile.cmd' MyCmd; 37 MyCmd=MyFile||',#define DDATE,DATE1'; 38 rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd); 39 call 'AddToFile.cmd' MyCmd; 35 40 MyCmd=MyFile||',option description,BLDLEVEL,Vendor,1.2.3,Description,Fixpack,Asd'; 36 41 rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd); … … 223 228 do while (QUEUED() > 0) 224 229 PARSE PULL Line1':'Line2 230 if (Line1 = "Revision") then leave; 225 231 if (Line1 = "Last Changed Rev") then leave; 226 232 Line2 = "";
Note:
See TracChangeset
for help on using the changeset viewer.