summaryrefslogtreecommitdiff
path: root/firmware/target/sh/archos/ata-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/sh/archos/ata-target.h')
-rw-r--r--firmware/target/sh/archos/ata-target.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/firmware/target/sh/archos/ata-target.h b/firmware/target/sh/archos/ata-target.h
deleted file mode 100644
index dc55cdd5d5..0000000000
--- a/firmware/target/sh/archos/ata-target.h
+++ /dev/null
@@ -1,45 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2006 by Jens Arnold
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#ifndef ATA_TARGET_H
22#define ATA_TARGET_H
23
24/* asm optimised read & write loops */
25#define ATA_OPTIMIZED_READING
26#define ATA_OPTIMIZED_WRITING
27
28#define ATA_SWAP_WORDS
29
30#define ATA_IOBASE 0x06100100
31#define ATA_DATA (*((volatile unsigned short*)0x06104100))
32#define ATA_CONTROL (*ata_control)
33
34#define ATA_ERROR (*((volatile unsigned char*)ATA_IOBASE + 1))
35#define ATA_NSECTOR (*((volatile unsigned char*)ATA_IOBASE + 2))
36#define ATA_SECTOR (*((volatile unsigned char*)ATA_IOBASE + 3))
37#define ATA_LCYL (*((volatile unsigned char*)ATA_IOBASE + 4))
38#define ATA_HCYL (*((volatile unsigned char*)ATA_IOBASE + 5))
39#define ATA_SELECT (*((volatile unsigned char*)ATA_IOBASE + 6))
40#define ATA_COMMAND (*((volatile unsigned char*)ATA_IOBASE + 7))
41
42extern volatile unsigned char* ata_control;
43
44
45#endif