mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Move CSR definitions to iec*.h from firewirereg.h.
This commit is contained in:
parent
616aa29a0e
commit
5364715a0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114215
|
@ -291,34 +291,6 @@ void fw_drain_txq __P((struct firewire_comm *));
|
||||||
extern int firewire_debug;
|
extern int firewire_debug;
|
||||||
extern devclass_t firewire_devclass;
|
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)
|
#define FWPRI ((PZERO+8)|PCATCH)
|
||||||
|
|
||||||
#if __FreeBSD_version >= 500000
|
#if __FreeBSD_version >= 500000
|
||||||
|
|
|
@ -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_SHIFT 6
|
||||||
#define CSRTYPE_MASK (3 << CSRTYPE_SHIFT)
|
#define CSRTYPE_MASK (3 << CSRTYPE_SHIFT)
|
||||||
#define CSRTYPE_I (0 << CSRTYPE_SHIFT) /* Immediate */
|
#define CSRTYPE_I (0 << CSRTYPE_SHIFT) /* Immediate */
|
||||||
|
|
|
@ -34,6 +34,13 @@
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define DV_BROADCAST_ON (1<<30)
|
||||||
|
#define oMPR 0x900
|
||||||
|
#define oPCR 0x904
|
||||||
|
#define iMPR 0x980
|
||||||
|
#define iPCR 0x984
|
||||||
|
|
||||||
struct ciphdr {
|
struct ciphdr {
|
||||||
#if BYTE_ORDER == BIG_ENDIAN
|
#if BYTE_ORDER == BIG_ENDIAN
|
||||||
u_int8_t eoh0:1, /* 0 */
|
u_int8_t eoh0:1, /* 0 */
|
||||||
|
|
Loading…
Reference in a new issue