]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/io/disk/v2_0/ChangeLog
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / io / disk / v2_0 / ChangeLog
1 2006-09-21  Jonathan Larmour  <jifl@eCosCentric.com>
2
3         * include/disk.h (DISK_CHANNEL): No need for extra _part_dev
4         slot intended for entire disk's own devtab.
5
6         * src/disk.c (disk_lookup): Just access pdevs_dev directly
7         with no adjusted offset.
8         (disk_init): No longer set entry 0 from device devtab.
9         It's unnecessary.
10
11 2006-09-20  Jonathan Larmour  <jifl@eCosCentric.com>
12
13         * include/disk.h: Merge eCosCentric CVS with public eCos CVS.
14         This merges (and therefore changes) the API. ChangeLog
15         entries have been incorporated in the correct places below.
16         * include/diskio.h: Also merged.
17         * cdl/io_disk.cdl: Also merged.
18         * src/disk.c: Also merged.
19
20 2006-08-18  Andy Jackson  <andy@xylanta.com>
21
22         * cdl/io_disk.cdl: Made debugging CDL controlled. 
23         * src/disk.c: Added support to allow non-CHS disk devices to 
24         use LBA information in MBR.
25
26 2006-02-03  Nick Garnett  <nickg@ecoscentric.com>
27
28         * src/disk.c (read_partition): Switched to favour LBA partition
29         information in partition tables. This also means we don't now rely
30         on the driver reporting a correct CHS size for the disk.
31         (disk_bread, disk_bwrite): API changed to take length in sectors
32         rather than bytes. Also call hardware driver to transfer in
33         (up to) max_transfer sized chunks, rather than a sector at a
34         time. Call in to driver now made with DSR lock claimed, to avoid a
35         race condition between the DSR and the calling thread.
36         (disk_get_config): Added phys_block_size to channel info.
37
38         * include/diskio.h (struct cyg_disk_identify_t): Added
39         phys_block_size and max_transfer fields. These must be filled in
40         by the driver.
41
42 2005-12-12  Jonathan Larmour  <jifl@eCosCentric.com>
43
44         * include/disk.h (DISK_CHANNEL_INIT): New macro. Allows a
45         DISK_CHANNEL to be defined dynamically.
46
47 2005-12-02  Andrew Lunn  <andrew.lunn@ascom.ch>
48
49         * src/disk.c: Add comments that bread/bwrite take the position and
50         len in terms of blocks, not bytes.
51
52 2005-10-11  Nick Garnett  <nickg@ecoscentric.com>
53
54         * src/disk.c (disk_bread, disk_bwrite): Made calls to
55         cyg_thread_yield() dependent on presence ok kernel.
56
57 2005-06-01  Jonathan Larmour  <jifl@eCosCentric.com>
58
59         * src/disk.c (disk_bwrite): Uncomment the cyg_thread_yield() at
60         the end to prevent thread starvation between threads at the same
61         priority.
62         (disk_bread): Ditto.
63
64 2004-07-21  Nick Garnett  <nickg@ecoscentric.com>
65
66         * src/disk.c (read_partition): Changed to account for very large
67         disks which report bogus CHS geometry. We can only use the LBA
68         partition parameters in such disks.
69         (disk_set_config): Added some extra debug output.
70
71 2004-07-01  Savin Zlobec  <savin@elatec.si> 
72
73         * src/disk.c:
74         * include/disk.h:
75         * include/diskio.h:
76         Use predefined arrays for partition devices and info 
77         radher than malloc. Extended DISK_CHANNEL macro to
78         support defining maximum number of partitions.
79
80 2004-04-15  Nick Garnett  <nickg@ecoscentric.com>
81
82         * src/disk.c: 
83         Various changes to support disconnect/reconnect of changeable
84         media.
85
86         * include/diskio.h: Added mount counter to disk_info structure.
87
88         * include/disk.h: Changed disk_disconnected() function to take a
89         pointer to a struct disk_channel rather than a struct
90         cyg_devtab_entry. Added mount count to disk_channel structure.
91         Moved include of diskio.h to end to fix declaration problems.
92
93 2004-02-04  Nick Garnett  <nickg@ecoscentric.com>
94
95         * src/disk.c: Fixed bug in write routine where controller result
96         field was not being initialized. Added signals on controller queue
97         condition variable after setting controller busy flag to false.
98
99         * include/disk.h: Made controller result and busy fields
100         volatile. Just in case.
101
102 2004-01-23  Nick Garnett  <nickg@ecoscentric.com>
103
104         * include/disk.h: 
105         * src/disk.c:
106         Many changes. Added additional disk_controller data structure to
107         better reflect hardware structure. Added support for serialization
108         of multithreaded accesses to a single controller. Added support
109         for asynchronous, interrupt driven, IO operations. Various
110         tidies.
111
112 2004-01-15  Nick Garnett  <nickg@ecoscentric.com>
113
114         * src/disk.c:
115         * include/disk.h: Removed block_pos arguments from
116         hardware driver read and write calls: it is not necessary.
117
118         * src/disk.c (read_mbr): Modified to read a complete sector from
119         the disk rather than pieces. Drivers should only ever see
120         reads/writes in multiples of 512 bytes.
121
122 2003-10-16 Savin Zlobec <savin@elatec.si>
123
124         * src/disk.c:
125         Check return code from MBR scan and set
126         connected flag only if there was no error.
127
128 2003-09-01 Savin Zlobec <savin@elatec.si>
129
130         * cdl/io_disk.cdl:
131         * inc/disk.h:
132         * inc/diskio.h:
133         * src/disk.c:
134         A block device IO implementation
135
136
137
138 //===========================================================================
139 //####ECOSGPLCOPYRIGHTBEGIN####
140 // -------------------------------------------
141 // This file is part of eCos, the Embedded Configurable Operating System.
142 // Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited
143 //
144 // eCos is free software; you can redistribute it and/or modify it under
145 // the terms of the GNU General Public License as published by the Free
146 // Software Foundation; either version 2 or (at your option) any later version.
147 //
148 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
149 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
150 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
151 // for more details.
152 //
153 // You should have received a copy of the GNU General Public License along
154 // with eCos; if not, write to the Free Software Foundation, Inc.,
155 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
156 //
157 // As a special exception, if other files instantiate templates or use macros
158 // or inline functions from this file, or you compile this file and link it
159 // with other works to produce a work based on this file, this file does not
160 // by itself cause the resulting work to be covered by the GNU General Public
161 // License. However the source code for this file must still be made available
162 // in accordance with section (3) of the GNU General Public License.
163 //
164 // This exception does not invalidate any other reasons why a work based on
165 // this file might be covered by the GNU General Public License.
166 //
167 // -------------------------------------------
168 //####ECOSGPLCOPYRIGHTEND####
169 //===========================================================================