Linus Nielsen Feltzing
00c1e0533b
Ooops! perform_soft_reset() unlocked the mutex...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2132 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:48:08 +00:00
Linus Nielsen Feltzing
c0a53eabca
STANDBY mode works again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2115 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 06:26:00 +00:00
Linus Nielsen Feltzing
5d154f9723
wait_for_rdy() now actually waits for RDY
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2057 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 11:50:57 +00:00
Linus Nielsen Feltzing
9b1d1d46e1
Now uses STANDBY_IMMEDIATE instead of STANDBY
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2052 a1c6a512-1295-4272-9138-f99709370657
2002-08-29 11:34:46 +00:00
Linus Nielsen Feltzing
22e09a3fb8
Fixed some nasty mutex glitches
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2012 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 21:06:48 +00:00
Björn Stenberg
f0599be133
Don't call perform_sleep() while already sleeping
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1988 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 22:05:47 +00:00
Björn Stenberg
457b8a0a67
Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Björn Stenberg
518e1ec1e4
New measurements show ATA_SLEEP saves us 30-40 mA over ATA_STANDBY.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1932 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 21:53:10 +00:00
Björn Stenberg
6224cdb166
Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Björn Stenberg
6ee90d9366
Removed warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1763 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:54:52 +00:00
Björn Stenberg
c9d98ca927
Added delayed write for settings. Doesn't write until someone else accesses the disk.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1762 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:42:37 +00:00
Björn Stenberg
63457c5c63
Added support for reading/writing 256 sectors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1736 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 16:37:28 +00:00
Björn Stenberg
9ab90eabd1
Removed verbose debug message
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1735 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 14:36:26 +00:00
Björn Stenberg
ed027a9d59
Allow (slow) reading to odd address
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1734 a1c6a512-1295-4272-9138-f99709370657
2002-08-14 14:34:54 +00:00
Linus Nielsen Feltzing
513e8510cc
Cleaned up the sleep options a little
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1514 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 06:01:22 +00:00
Linus Nielsen Feltzing
9d589401c1
Now uses CMD_STANDBY again. CMD_SLEEP used more power than CMD_STANDBY for some reason
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1507 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 12:00:03 +00:00
Linus Nielsen Feltzing
364783a3d5
Moved ata_read_sectors() to internal RAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1501 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 08:15:58 +00:00
Linus Nielsen Feltzing
47c0388f75
Enabled ata_write_sectors()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1481 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 15:51:26 +00:00
Linus Nielsen Feltzing
ad8ac5c3ce
Added ata_disk_is_active() function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1479 a1c6a512-1295-4272-9138-f99709370657
2002-07-28 15:16:36 +00:00
Linus Nielsen Feltzing
01fd2a093b
Corrected debug output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1474 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 22:44:52 +00:00
Linus Nielsen Feltzing
42df584960
Spindown mode is STANDBY when debugging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1461 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 19:24:27 +00:00
Linus Nielsen Feltzing
2f4b88e9bb
Possibly better USB handling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1419 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 15:02:25 +00:00
Björn Stenberg
11968a429a
Removed use of internal harddisk standby timer and instead added software sleep timer.
...
This gives lower power use and slightly faster boot, plus a more fine-grained timeout setting (1s steps instead of 5s).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1372 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 14:07:47 +00:00
Björn Stenberg
c4b285027b
Faster, deeper disk sleep. Should save us some power.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1370 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 12:18:17 +00:00
Linus Nielsen Feltzing
1639e98202
Added some debug information
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1298 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 14:23:30 +00:00
Linus Nielsen Feltzing
2012e1ec28
Some cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1260 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 13:10:42 +00:00
Linus Nielsen Feltzing
1a5032e7ed
Added old_recorder variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1195 a1c6a512-1295-4272-9138-f99709370657
2002-06-26 12:36:29 +00:00
Linus Nielsen Feltzing
1b8bb1e05e
Killed warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1066 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 13:19:25 +00:00
Linus Nielsen Feltzing
a422b8381b
Better ATA I/O detection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1065 a1c6a512-1295-4272-9138-f99709370657
2002-06-18 12:53:02 +00:00
Linus Nielsen Feltzing
8169c8f5bd
Added I/O address detection for CONTROL/ALT_STATUS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@976 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 13:51:31 +00:00
Linus Nielsen Feltzing
a4058ec28a
ata_read_sectors() couldn't read more that one sector
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@974 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 09:28:22 +00:00
Linus Nielsen Feltzing
8b1168bc94
Wrong command address for Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@902 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 07:48:08 +00:00
Björn Stenberg
a95d956316
Disable USB before enabling ATA
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@692 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 11:32:53 +00:00
Björn Stenberg
a97c4419ed
Fixed wrong reset pin. Removed unnecessary reset from init.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@691 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 11:25:24 +00:00
Björn Stenberg
5c7847c501
Check for master/slave disk. Active 5s spindown timeout.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@655 a1c6a512-1295-4272-9138-f99709370657
2002-05-22 14:37:36 +00:00
Linus Nielsen Feltzing
3922466486
Added mutex protection
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@608 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 21:28:21 +00:00
Björn Stenberg
e5992829d7
Fixed compiler warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@574 a1c6a512-1295-4272-9138-f99709370657
2002-05-14 12:28:48 +00:00
Linus Nielsen Feltzing
e14e13df5c
C99 booleans
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@568 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 19:22:38 +00:00
Linus Nielsen Feltzing
01ede91cbe
Removed a few debugf calls
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@528 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 22:58:54 +00:00
Linus Nielsen Feltzing
b900a83046
Fixed lame timeout handling and wrong return codes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@508 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:27:44 +00:00
Linus Nielsen Feltzing
dc4977d98c
Killed a few bugs. Tested in target. Works fairly good.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@501 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 22:59:03 +00:00
Björn Stenberg
2cf3b5dfd6
Adapted to changed led API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@272 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 20:14:01 +00:00
Björn Stenberg
6c9e57810d
Added ata_spindown() and use of ALT_STATUS instead of STATUS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@259 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 14:19:00 +00:00
Björn Stenberg
c6773e1436
Moved driver to 'drivers' subdir
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@189 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 09:13:23 +00:00