forked from Imagelibrary/rtems
2003-04-15 Joel Sherrill <joel@OARcorp.com>
PR 387/rtems_misc * ide/ata.c: Removed warning and moved to use of simpler libc routines. * ide/ata_internal.h: Added missing newline and end of file.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2003-04-15 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
PR 387/rtems_misc
|
||||||
|
* ide/ata.c: Removed warning and moved to use of simpler libc routines.
|
||||||
|
* ide/ata_internal.h: Added missing newline and end of file.
|
||||||
|
|
||||||
2003-03-27 Joel Sherrill <joel@OARcorp.com>
|
2003-03-27 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* ide/Makefile.am: ATA code depends upon libchip/ide which is not
|
* ide/Makefile.am: ATA code depends upon libchip/ide which is not
|
||||||
|
|||||||
@@ -1185,8 +1185,10 @@ ata_initialize(rtems_device_major_number major,
|
|||||||
ata_devs[ata_devs_number].ctrl_minor = ctrl_minor;
|
ata_devs[ata_devs_number].ctrl_minor = ctrl_minor;
|
||||||
ata_devs[ata_devs_number].device = dev;
|
ata_devs[ata_devs_number].device = dev;
|
||||||
|
|
||||||
snprintf(name, ATA_MAX_NAME_LENGTH, "/dev/hd%c",
|
/* The space leaves a hole for the character. */
|
||||||
'a' + 2 * ctrl_minor + dev);
|
strcpy(name, "/dev/hd ");
|
||||||
|
name[7] = 'a' + 2 * ctrl_minor + dev;
|
||||||
|
|
||||||
device = rtems_filesystem_make_dev_t(
|
device = rtems_filesystem_make_dev_t(
|
||||||
major,
|
major,
|
||||||
(ata_devs_number *
|
(ata_devs_number *
|
||||||
@@ -1314,3 +1316,4 @@ ata_process_request_on_init_phase(rtems_device_minor_number ctrl_minor,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -325,4 +325,3 @@ typedef struct ata_ide_ctrl_s {
|
|||||||
|
|
||||||
#endif /* __ATA_INTERNAL_H__ */
|
#endif /* __ATA_INTERNAL_H__ */
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user