Commit graph

52 commits

Author SHA1 Message Date
Sylvain Petreolle
1a453ba5b6 [UNIATA]
Update to 0.45b.
CORE-8280

svn path=/trunk/; revision=64855
2014-10-20 21:20:35 +00:00
Thomas Faber
038c129cf6 [UNIATA]
- Update to 0.45a8
CORE-8432 #resolve

svn path=/trunk/; revision=63984
2014-08-30 10:17:53 +00:00
Thomas Faber
6582b51c46 [UNIATA]
- Fix page length calculation in IdeSendCommand/SCSIOP_MODE_SENSE case. Should be pushed upstream(TM).
- Remove outdated file

svn path=/trunk/; revision=63631
2014-06-22 18:48:15 +00:00
Christoph von Wittich
5783342323 [uniata]
update uniata to 45a3
fixes installation on ATI IXP700 SATA controller

svn path=/trunk/; revision=62493
2014-03-13 18:54:06 +00:00
Amine Khaldi
aec6fa47e8 [UNIATA]
* Use the proper debugging define.

svn path=/trunk/; revision=61351
2013-12-23 15:11:00 +00:00
Timo Kreuzer
7647f53075 [SCSIPORT]
Fix a bug in size calculation that causes memory corruption on 64 bit
Fix some MSVC/x64 warnings

[UNIATA]
Fix some MSVC/x64 warnings

svn path=/trunk/; revision=58985
2013-05-10 19:46:50 +00:00
Amine Khaldi
bf8b1b2aaa [UNIATA]
* Sync to 0.44d.
[ATACTL]
* Sync to 0.44d.

svn path=/trunk/; revision=58608
2013-03-24 19:41:59 +00:00
Amine Khaldi
296c68fb57 [UNIATA]
* Sync to 0.44c3.
CORE-6649 #resolve #comment Committed in r58151. Thanks Alter ;)
CORE-6563

svn path=/trunk/; revision=58151
2013-01-09 17:19:26 +00:00
Amine Khaldi
a0d3578e63 [UNIATA]
* Sync to 0.44b4.
CORE-6563

svn path=/trunk/; revision=57525
2012-10-09 21:02:00 +00:00
Amine Khaldi
534a4aec24 * Reapply r57265 now that the testbot issues are solved.
[UNIATA]: Sync to 0.43f5.
[ATACTL]: Sync to 0.43f5.
CORE-6563 #comment Committed the 0.43f5 sync.

svn path=/trunk/; revision=57292
2012-09-13 21:07:44 +00:00
Amine Khaldi
8da07373a9 * Revert r57265 until the testbot issues caused by earlier revisions are fixed.
svn path=/trunk/; revision=57266
2012-09-10 20:45:26 +00:00
Amine Khaldi
deaba45849 [UNIATA]: Sync to 0.43f5.
[ATACTL]: Sync to 0.43f5.

svn path=/trunk/; revision=57265
2012-09-10 19:38:32 +00:00
Amine Khaldi
9f4cee2ca1 [UNIATA] [ATACTL]
* Sync to 0.43a1.
See issue #7237 for more details.

svn path=/trunk/; revision=57072
2012-08-13 16:25:08 +00:00
Amine Khaldi
63dcafd315 [UNIATA]
* Sync with v0.42i2.

svn path=/trunk/; revision=57053
2012-08-08 01:17:53 +00:00
Amine Khaldi
527512d65b [UNIATA]
* Fix a typo. Already sent upstream.

svn path=/trunk/; revision=57051
2012-08-06 14:35:59 +00:00
Amine Khaldi
ff6df0d592 [UNIATA]
* Sync with v0.42h.

svn path=/trunk/; revision=57050
2012-08-06 13:26:40 +00:00
Amine Khaldi
b63aef1042 [UNIATA]
* Fix the debug build.

svn path=/trunk/; revision=57038
2012-08-03 23:08:55 +00:00
Amine Khaldi
d1f163d021 [UNIATA]
* Sync with UniATA v0.42e2.
* Hello AHCI support, you've been missed ! (that's WIP but still)

svn path=/trunk/; revision=57018
2012-08-01 20:30:19 +00:00
Aleksey Bragin
4dbe1813f4 [UNIATA]
- Update Uniata to 41b5. Thanks to Alter for the great driver and Olaf Siejka for preparing the patch, getting our changes upstream and testing the updated version.
See issue #7148 for more details.

svn path=/trunk/; revision=56870
2012-07-11 23:34:55 +00:00
Cameron Gutman
79dd33a566 [UNIATA]
- Try to fix KVM testbot

svn path=/trunk/; revision=55980
2012-03-03 23:13:21 +00:00
Cameron Gutman
29571a7f78 [STORAGE]
- Experimental change to try to increase real hardware compatibility
- Load both atapi and uniata and allow atapi to have priority and uniata will pick up devices that atapi doesn't like
- Fix a bug in uniata enumeration

svn path=/trunk/; revision=55958
2012-03-02 17:19:04 +00:00
Rafal Harabien
17dcf7d2e5 [UNIATA]
- Sync to 0.41b2
- Fixed bug with unnecessary call to AtapiEnableInterrupts() inside AtapiSendCommand() when DRQ is never asserted
- Added registry option AtapiSendDisableIntr to manage ATAPI command sending behavior. AFAIU, under VirtualBox it is unnecessary to disable interrupts around sending ATAPI commands.
- Implemented registry options for BUSY and DRQ timing adjustments.
- Added VirtualBox tuning option - VirtualBox value in registry. Sets timings and ATAPI (CD/DVD) related options to the most compatible values.
- Fixed bug with UDMA2 support on Intel ICH1/2/3/4/5 chips.
- Made some experimental changes in automatic slow-down algorithm. This code is rather old, but was not tested properly.
- Fixed bug with accessing SATA registers on Intel chips
- Many other fixes

svn path=/trunk/; revision=51736
2011-05-14 15:52:49 +00:00
Aleksey Bragin
a393a04761 [UNIATA]
- Rafal Harabien: Sync UniATA to 0.40a5. Changelog:
* Fixed bug with BSOD on newer SATA/AHCI Intel chips. 
* Added support for different number of devices on different channls.
* Updated AHCI support code (not ready yet).
* All ReactOS specific changes have been left.
See issue #5976 for more details.

svn path=/trunk/; revision=50985
2011-03-06 16:32:36 +00:00
Aleksey Bragin
c884962fb3 [UNIATA]
- Update uniata to 0.40a1. Prepared by Samuel Serapion, edited by me.
See issue #5762 for more details.

svn path=/trunk/; revision=50115
2010-12-23 16:59:55 +00:00
Timo Kreuzer
5b46128dfb [UNIATA]
Merge from amd64 branch:
44634: Make x86 specific optimizations x86 specific, use macros otherwise. (Samuel Serapion)
44639: Try to fix numerous pointer to ULONG casts. (Samuel Serapion)
47846/47847: Remove all the byteswap "optimisations" and use portable RTL byteswap functions (Timo Kreuzer)

svn path=/trunk/; revision=47848
2010-06-26 00:15:24 +00:00
Aleksey Bragin
917fa8ad14 [UNIATA]
- Adjust timings in WaitOnBaseBusy, WaitForDrq, WaitShortForDrq to match old atapi driver. Thanks Caemyr for testing and finding optimal values (which are slightly below the values used in this commit). The proper solution would be to implement adaptive delays scaling.
See issue #4995 for more details.

svn path=/trunk/; revision=46716
2010-04-04 13:43:56 +00:00
Timo Kreuzer
dd1c6f7b06 Reintegrate header branch part 1/x
DDKAPI -> NTAPI

svn path=/trunk/; revision=46542
2010-03-29 01:51:11 +00:00
Timo Kreuzer
719200874a Revert r46466 this time for real
svn path=/trunk/; revision=46493
2010-03-27 18:57:56 +00:00
Timo Kreuzer
d0701d72b7 Reintegrate header branch
- DDKAPI -> NTAPI
- delete duplicate definitions
- move files to right locations
- Fix Mm64BitPhysicalAddress definition
- Add a number of missing definitions
- add XDK

svn path=/trunk/; revision=46466
2010-03-26 13:50:02 +00:00
Aleksey Bragin
ebfc115694 [UNIATA]
- Reduce pause between SelectDrive and ATAPI_RESET from 10000 to 500 (as it is in the old ATAPI driver).

svn path=/trunk/; revision=45868
2010-03-05 13:16:52 +00:00
Timo Kreuzer
9ea495ba33 Create a branch for header work.
svn path=/branches/header-work/; revision=45691
2010-02-26 22:57:55 +00:00
Colin Finck
a9c37bad74 Document what r44552 is all about.
svn path=/trunk/; revision=44555
2009-12-12 19:38:03 +00:00
Colin Finck
c42afd308e Set a lower maximum number of iterations in AtapiSoftReset.
This reduces the UniATA bootup time in VMware (which doesn't seem to clear the IDE_STATUS_BUSY flag) from 70 seconds to around 8.

Tested successfully under QEMU, VBox, VMware and an Athlon XP-based system.

svn path=/trunk/; revision=44552
2009-12-12 17:14:26 +00:00
Aleksey Bragin
162a9238f2 [uniata]
- Revert 40896, uniata is back to "amazingly fast" mode.

svn path=/trunk/; revision=43921
2009-11-02 20:18:24 +00:00
Aleksey Bragin
451776ec01 [uniata]
- Don't wait so long for drive reset. Reapplying r26470 by Dmitriy Gorbachev.

svn path=/trunk/; revision=43920
2009-11-02 20:12:19 +00:00
Stefan Ginsberg
88e9b2a513 - In Win32 DBG is defined to 0 for a non-debug build and to 1 for a debug build. In ReactOS we do this slightly different: DBG is correctly defined to 1 for debug, but not defined at all on non-debug/release build. Because gcc is awesome we can then check for debug compilation with both #ifdef DBG and #if DBG (error free! yay gcc!), and so we have mixed usage all over the tree.
- Fix this by defining DBG on non-debug build too and deprecate all usage of #ifdef DBG.

svn path=/trunk/; revision=41436
2009-06-17 12:44:05 +00:00
Aleksey Bragin
b5000fe04d - Increase waiting time for DRQ removal inside AtapiInterrupt twice.
- Don't disable/enable IDE controller interrupts in AtapiSendCommand. This confuses Virtual Box's controller (it consumes one interrupt without ever emitting it) and thus sending any ATAPI command fails.
- Turn off ATAPI DMA raw read support by default. It seems to be incompatible with (at least) Virtual Box IDE controller.
See issue #3645 for more details.

svn path=/trunk/; revision=41173
2009-05-28 12:13:17 +00:00
Dmitry Gorbachev
9c8b1c07fc Do not overwrite *max_bcount.
svn path=/trunk/; revision=41078
2009-05-23 15:02:35 +00:00
Aleksey Bragin
e74bb0e059 - Fix WaitOnBusy, WaitOnBaseBusy and Wait[Short]ForDrq to wait and loop exactly the same as our existing atapi driver. This greatly enhances uniata's compatibility, especially on modern highspeed hardware where a controller usually didn't have enough time to change its state and was considered invalid.
svn path=/trunk/; revision=40896
2009-05-12 13:27:45 +00:00
Aleksey Bragin
22e12898e7 - Specify NTAPI for all functions without calling convention specified (Alexey Komarov <q4a@reactos.org>).
- Remove (unsupported) -mrtd compiler flag.

svn path=/trunk/; revision=40393
2009-04-06 14:38:21 +00:00
Dmitry Gorbachev
fa2d477672 Silence GCC 4.4.0 warnings.
svn path=/trunk/; revision=38563
2009-01-04 14:27:04 +00:00
Stefan Ginsberg
6d9a712475 - Silence Uniata warnings, add a .diff and remove allowwarnings=true
svn path=/trunk/; revision=38452
2008-12-29 11:03:54 +00:00
Daniel Reimer
a00765a47a Update UniATA to Version 0.39j Credits go to Samuel Serapion
svn path=/trunk/; revision=37700
2008-11-28 09:02:24 +00:00
Daniel Reimer
39f5b70ba0 Update UniATA Driver to Version 0.3.9f. It works well in ROS.
thx to Samuel Serapión aka encoded.

svn path=/trunk/; revision=32763
2008-03-24 21:35:52 +00:00
Daniel Reimer
ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Aleksey Bragin
a6b4148654 - Fix DBG=0 build
svn path=/trunk/; revision=29396
2007-10-05 12:07:50 +00:00
Colin Finck
a395a0f9df - Fix many warnings
- Fix a bug in id_dma.cpp on line 1261: This probably shouldn't be an assignment, but a check, otherwise all ATI chips will be treated as Silicon Image chips

svn path=/trunk/; revision=29288
2007-09-28 22:32:34 +00:00
Colin Finck
1fb1498412 Fix the uniata linking problems. Hope I did everything right :-D
I still disabled building the driver, so someone else can test it first.

- The i386.h, libgcc2.c, libgcc2.h, longlong.h and powerpc.h files were taken from the boot/freeldr/freeldr/math directory.
  They are used for 64-bit division support
- Created a directory "ros_glue" for all this stuff, moved the ros_glue.cpp file there
- Imported the three functions MOV_DD_SWP (the i486 version), MOV_DW2DD_SWP and MOV_DW_SWP from the misc_i386.cpp file of CrossNt into the ros_glue_asm.s file

svn path=/trunk/; revision=29285
2007-09-28 18:57:05 +00:00
Aleksey Bragin
604d7ae80f - Add ros_glue.cpp for implementing CrNt stubs.
- Start changing CrNt to actual ReactOS functions (no need for supporting different versions / importing CrossNT lib).

svn path=/trunk/; revision=29280
2007-09-28 12:35:41 +00:00
Hervé Poussineau
e49bdbeea7 Fix compilation (but not linking!)
svn path=/trunk/; revision=29277
2007-09-28 11:39:34 +00:00