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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-m68k/] [atarihdreg.h] - Blame information for rev 1633

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _LINUX_ATAHDREG_H
2
#define _LINUX_ATAHDREG_H
3
 
4
/*
5
 * This file contains some defines for the Falcon IDE hd controller.
6
 * Various sources. Check out some definitions (see comments with
7
 * a ques).
8
 */
9
 
10
#define ATA_HD_BASE     0xfff00000
11
 
12
#define ATA_HD_DATA     0x00    /* _CTL when writing */
13
#define ATA_HD_ERROR    0x05    /* see err-bits */
14
#define ATA_HD_NSECTOR  0x09    /* nr of sectors to read/write */
15
#define ATA_HD_SECTOR   0x0d    /* starting sector */
16
#define ATA_HD_LCYL     0x11    /* starting cylinder */
17
#define ATA_HD_HCYL     0x15    /* high byte of starting cyl */
18
#define ATA_HD_CURRENT  0x19    /* 101dhhhh , d=drive, hhhh=head */
19
#define ATA_HD_STATUS   0x1d    /* see status-bits */
20
 
21
#define ATA_HD_CMD      0x39
22
#define ATA_HD_ALTSTATUS 0x39   /* same as HD_STATUS but doesn't clear irq */
23
 
24
#endif  /* _LINUX_ATAHDREG_H */

powered by: WebSVN 2.1.0

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