repo.or.cz
/
cris-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git]
/
arch
/
alpha
/
kernel
/
pc873xx.h
blob
04353302757397ef4f0e1ce95df5c2f191feecd4
1
/* SPDX-License-Identifier: GPL-2.0 */
2
3
#ifndef _PC873xx_H_
4
#define _PC873xx_H_
5
6
/*
7
* Control Register Values
8
*/
9
#define REG_FER 0x00
10
#define REG_FAR 0x01
11
#define REG_PTR 0x02
12
#define REG_FCR 0x03
13
#define REG_PCR 0x04
14
#define REG_KRR 0x05
15
#define REG_PMC 0x06
16
#define REG_TUP 0x07
17
#define REG_SID 0x08
18
#define REG_ASC 0x09
19
#define REG_IRC 0x0e
20
21
/*
22
* Model numbers
23
*/
24
#define PC87303 0
25
#define PC87306 1
26
#define PC87312 2
27
#define PC87332 3
28
#define PC87334 4
29
30
int
pc873xx_probe
(
void
);
31
unsigned int
pc873xx_get_base
(
void
);
32
char
*
pc873xx_get_model
(
void
);
33
void
pc873xx_enable_epp19
(
void
);
34
void
pc873xx_enable_ide
(
void
);
35
36
#endif