diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2005-12-01 18:51:56 -0500 |
---|---|---|
committer | Jody McIntyre <scjody@modernduck.com> | 2005-12-01 18:51:56 -0500 |
commit | d7758461b9a8253f1c125e5907579e0594d29e3b (patch) | |
tree | 3273cf3f8a33dd962326d08cb6030e9c6d881f0b /drivers/ieee1394/nodemgr.c | |
parent | 14c0fa243b358c24040ff5f44b60c47aaf6430c3 (diff) | |
download | blackbird-op-linux-d7758461b9a8253f1c125e5907579e0594d29e3b.tar.gz blackbird-op-linux-d7758461b9a8253f1c125e5907579e0594d29e3b.zip |
ieee1394: add definitions for phy packet constants
Introduce new macros related to phy packets and use them in ieee1394_core and
nodemgr.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
Diffstat (limited to 'drivers/ieee1394/nodemgr.c')
-rw-r--r-- | drivers/ieee1394/nodemgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index b56934edd62b..f4b6025fde61 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c @@ -1416,7 +1416,8 @@ static int nodemgr_send_resume_packet(struct hpsb_host *host) int ret = 1; packet = hpsb_make_phypacket(host, - 0x003c0000 | NODEID_TO_NODE(host->node_id) << 24); + EXTPHYPACKET_TYPE_RESUME | + NODEID_TO_NODE(host->node_id) << PHYPACKET_PORT_SHIFT); if (packet) { packet->no_waiter = 1; packet->generation = get_hpsb_generation(host); |