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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [peripheral/] [atadevice.h] - Diff between revs 919 and 1067

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

Rev 919 Rev 1067
Line 133... Line 133...
                /* current DMA mode                                   */
                /* current DMA mode                                   */
                int dma_mode;
                int dma_mode;
 
 
                /* databuffer                                         */
                /* databuffer                                         */
                unsigned short dbuf[4096];
                unsigned short dbuf[4096];
 
                unsigned short *dbuf_ptr;
                unsigned short dbuf_cnt;
                unsigned short dbuf_cnt;
 
 
                /* current statemachine state                         */
                /* current statemachine state                         */
                int state;
                int state;
 
 
                /* current CHS translation settings                   */
                /* current CHS translation settings                   */
                unsigned int heads_per_cylinder;
                unsigned int heads_per_cylinder;
                unsigned int sectors_per_track;
                unsigned int sectors_per_track;
        } settings;
        } internals;
 
 
 
 
        /******* ATA Device Registers *********************************/
        /******* ATA Device Registers *********************************/
        struct {
        struct {
                unsigned char command;
                unsigned char command;

powered by: WebSVN 2.1.0

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