URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1359 |
Rev 1364 |
Line 106... |
Line 106... |
oraddr_t baseaddr;
|
oraddr_t baseaddr;
|
|
|
/* Which IRQ to generate */
|
/* Which IRQ to generate */
|
int irq;
|
int irq;
|
|
|
/* Which ATA host is this? */
|
|
unsigned ata_number;
|
|
|
|
/* ata host registers */
|
/* ata host registers */
|
struct {
|
struct {
|
int ctrl;
|
int ctrl;
|
int stat;
|
int stat;
|
int pctr;
|
int pctr;
|
Line 129... |
Line 126... |
} ata_host;
|
} ata_host;
|
|
|
/* ---------------------------- */
|
/* ---------------------------- */
|
/* ----- Prototypes ----- */
|
/* ----- Prototypes ----- */
|
/* ---------------------------- */
|
/* ---------------------------- */
|
void ata_reset(void);
|
void ata_reset(void *dat);
|
uint32_t ata_read32( oraddr_t addr, void *dat );
|
uint32_t ata_read32( oraddr_t addr, void *dat );
|
void ata_write32( oraddr_t addr, uint32_t value, void *dat );
|
void ata_write32( oraddr_t addr, uint32_t value, void *dat );
|
void ata_status(void);
|
void ata_status(void *dat);
|
|
|
|
|
/* ---------------------------- */
|
/* ---------------------------- */
|
/* ----- Macros ----- */
|
/* ----- Macros ----- */
|
/* ---------------------------- */
|
/* ---------------------------- */
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.