mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-08 00:40:21 +08:00
2010-08-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/ide/ata_internal.h, libchip/ide/ata.c: Moved code into separate functions. Added public ata_breq_init(), ata_identify_device(), and ata_process_request_on_init_phase() functions.
This commit is contained in:
1 parent
8b82bc3b41
commit
f5194a9485
3 files changed
+223
-171
No files matched your search
@@ -1,3 +1,10 @@
|
||||
2010-08-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libchip/ide/ata_internal.h, libchip/ide/ata.c: Moved code into
|
||||
separate functions. Added public ata_breq_init(),
|
||||
ata_identify_device(), and ata_process_request_on_init_phase()
|
||||
functions.
|
||||
|
||||
2010-06-24 Arnout Vandecappelle <arnout@mind.be>
|
||||
|
||||
PR 1586/misc
|
||||
|
||||
+196
-171
File diff suppressed because it is too large.
Load diff
@@ -300,4 +300,24 @@ typedef struct ata_ide_ctrl_s {
|
||||
rtems_chain_control reqs; /* requests chain */
|
||||
} ata_ide_ctrl_t;
|
||||
|
||||
/* Block device request with a single buffer provided */
|
||||
typedef struct blkdev_request1 {
|
||||
rtems_blkdev_request req;
|
||||
rtems_blkdev_sg_buffer sg[1];
|
||||
} blkdev_request1;
|
||||
|
||||
void ata_breq_init(blkdev_request1 *breq, uint16_t *sector_buffer);
|
||||
|
||||
rtems_status_code ata_identify_device(
|
||||
rtems_device_minor_number ctrl_minor,
|
||||
int dev,
|
||||
uint16_t *sector_buffer,
|
||||
ata_dev_t *device_entry
|
||||
);
|
||||
|
||||
void ata_process_request_on_init_phase(
|
||||
rtems_device_minor_number ctrl_minor,
|
||||
ata_req_t *areq
|
||||
);
|
||||
|
||||
#endif /* __ATA_INTERNAL_H__ */
|
||||
Reference in new issue
Block a user