aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
authorMarc Butler <marc@adaptivecode.com>2007-03-23 12:24:02 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-24 18:29:19 -0400
commitecab413359541b1dbe8e8c91cb5fa8eafa662c05 (patch)
tree8ce4916485d35de77645dd538d7d77538f6fe8ec /drivers/firewire/fw-transaction.h
parentbbd1494580462fa35bdd2073dba3902fb53981bf (diff)
firewire: Add phy register defines.
Signed-off-by: Marc Butler <marc@adaptivecode.com> Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (added whitespace)
Diffstat (limited to 'drivers/firewire/fw-transaction.h')
-rw-r--r--drivers/firewire/fw-transaction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index 662149723e98..63527340152b 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -107,6 +107,12 @@
107#define PHY_PACKET_LINK_ON 0x1 107#define PHY_PACKET_LINK_ON 0x1
108#define PHY_PACKET_SELF_ID 0x2 108#define PHY_PACKET_SELF_ID 0x2
109 109
110/* Bit fields _within_ the PHY registers. */
111#define PHY_LINK_ACTIVE 0x80
112#define PHY_CONTENDER 0x40
113#define PHY_BUS_RESET 0x40
114#define PHY_BUS_SHORT_RESET 0x40
115
110#define CSR_REGISTER_BASE 0xfffff0000000ULL 116#define CSR_REGISTER_BASE 0xfffff0000000ULL
111 117
112/* register offsets relative to CSR_REGISTER_BASE */ 118/* register offsets relative to CSR_REGISTER_BASE */