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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [net/] [wan/] [mixcom.h] - Blame information for rev 1275

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

Line No. Rev Author Line
1 1275 phoenix
/*
2
 * Defines for the mixcom board
3
 *
4
 * Author: Gergely Madarasz <gorgo@itc.hu>
5
 *
6
 * Copyright (C) 1999 ITConsult-Pro Co. <info@itc.hu>
7
 *
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version
11
 * 2 of the License, or (at your option) any later version.
12
 *
13
 */
14
 
15
#define MIXCOM_IO_EXTENT        0x20
16
 
17
#define MIXCOM_DEFAULT_IO       0x180
18
#define MIXCOM_DEFAULT_IRQ      5
19
 
20
#define MIXCOM_ID               0x11
21
#define MIXCOM_SERIAL_OFFSET    0x1000
22
#define MIXCOM_CHANNEL_OFFSET   0x400
23
#define MIXCOM_IT_OFFSET        0xc14
24
#define MIXCOM_STATUS_OFFSET    0xc14
25
#define MIXCOM_ID_OFFSET        0xc10
26
#define MIXCOM_ON               0x1
27
#define MIXCOM_OFF              0x0
28
 
29
/* Status register bits */
30
 
31
#define MIXCOM_CTSB             0x1
32
#define MIXCOM_CTSA             0x2
33
#define MIXCOM_CHANNELNO        0x20
34
#define MIXCOM_POWERFAIL        0x40
35
#define MIXCOM_BOOT             0x80

powered by: WebSVN 2.1.0

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