mailer | 7 Oct 07:00
Favicon

vitja: r18725 - trunk/firmware/target/arm

Date: 2008-10-07 07:04:11 +0200 (Tue, 07 Oct 2008)
New Revision: 18725

Log Message:
Fill some ata_identify fields, e.g model name, firmware, block count

Modified:
   trunk/firmware/target/arm/ata-nand-telechips.c

Modified: trunk/firmware/target/arm/ata-nand-telechips.c
===================================================================
--- trunk/firmware/target/arm/ata-nand-telechips.c	2008-10-07 00:31:51 UTC (rev 18724)
+++ trunk/firmware/target/arm/ata-nand-telechips.c	2008-10-07 05:04:11 UTC (rev 18725)
@@ -33,6 +33,8 @@
 #include "button.h"
 #include <sprintf.h>

+#define SECTOR_SIZE 512
+
 /* #define USE_TCC_LPT */
 /* #define USE_ECC_CORRECTION */

@@ -41,13 +43,14 @@

 long last_disk_activity = -1;

+/* as we aren't actually ata manually fill some fields */
+static unsigned short ata_identify[SECTOR_SIZE/2];
+
 /** static, private data **/
(Continue reading)


Gmane