OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_52/] [or1ksim/] [peripheral/] [atadevice_cmdi.c] - Diff between revs 1065 and 1308

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1065 Rev 1308
Line 22... Line 22...
 
 
/*
/*
 For fun, count the number of FIXMEs :-(
 For fun, count the number of FIXMEs :-(
*/
*/
 
 
 
#include <string.h>
 
 
#include "messages.h"
#include "messages.h"
#include "atadevice.h"
#include "atadevice.h"
#include "atadevice_cmdi.h"
#include "atadevice_cmdi.h"
#include "atacmd.h"
#include "atacmd.h"
 
 
Line 344... Line 346...
    buf += 3;
    buf += 3;
 
 
    /*
    /*
       word 26-23: Firmware revision
       word 26-23: Firmware revision
    */
    */
    strncpy(buf, FIRMWARE, 8);
    strncpy((char *)buf, FIRMWARE, 8);
    buf += 4;
    buf += 4;
 
 
    /*
    /*
       word 46-27: Model number
       word 46-27: Model number
    */
    */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.