1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Move CSR definitions to iec*.h from firewirereg.h.

This commit is contained in:
Hidetoshi Shimokawa 2003-04-29 13:27:13 +00:00
parent 616aa29a0e
commit 5364715a0e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114215
3 changed files with 28 additions and 28 deletions

View File

@ -291,34 +291,6 @@ void fw_drain_txq __P((struct firewire_comm *));
extern int firewire_debug;
extern devclass_t firewire_devclass;
#define DV_BROADCAST_ON (1<<30)
#define IP_CHANNELS 0x0234
#define STATE_CLEAR 0x0000
#define STATE_SET 0x0004
#define NODE_IDS 0x0008
#define RESET_START 0x000c
#define SPLIT_TIMEOUT_HI 0x0018
#define SPLIT_TIMEOUT_LO 0x001c
#define CYCLE_TIME 0x0200
#define BUS_TIME 0x0204
#define BUSY_TIMEOUT 0x0210
#define BUS_MGR_ID 0x021c
#define BANDWIDTH_AV 0x0220
#define CHANNELS_AV_HI 0x0224
#define CHANNELS_AV_LO 0x0228
#define CONF_ROM 0x0400
#define TOPO_MAP 0x1000
#define SPED_MAP 0x2000
#define oMPR 0x900
#define oPCR 0x904
#define iMPR 0x980
#define iPCR 0x984
#define FWPRI ((PZERO+8)|PCATCH)
#if __FreeBSD_version >= 500000

View File

@ -35,6 +35,27 @@
*
*/
#define STATE_CLEAR 0x0000
#define STATE_SET 0x0004
#define NODE_IDS 0x0008
#define RESET_START 0x000c
#define SPLIT_TIMEOUT_HI 0x0018
#define SPLIT_TIMEOUT_LO 0x001c
#define CYCLE_TIME 0x0200
#define BUS_TIME 0x0204
#define BUSY_TIMEOUT 0x0210
#define PRIORITY_BUDGET 0x0218
#define BUS_MGR_ID 0x021c
#define BANDWIDTH_AV 0x0220
#define CHANNELS_AV_HI 0x0224
#define CHANNELS_AV_LO 0x0228
#define IP_CHANNELS 0x0234
#define CONF_ROM 0x0400
#define TOPO_MAP 0x1000
#define SPED_MAP 0x2000
#define CSRTYPE_SHIFT 6
#define CSRTYPE_MASK (3 << CSRTYPE_SHIFT)
#define CSRTYPE_I (0 << CSRTYPE_SHIFT) /* Immediate */

View File

@ -34,6 +34,13 @@
* $FreeBSD$
*
*/
#define DV_BROADCAST_ON (1<<30)
#define oMPR 0x900
#define oPCR 0x904
#define iMPR 0x980
#define iPCR 0x984
struct ciphdr {
#if BYTE_ORDER == BIG_ENDIAN
u_int8_t eoh0:1, /* 0 */