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) |
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) | |||
1416 | int ret = 1; | 1416 | int ret = 1; |
1417 | 1417 | ||
1418 | packet = hpsb_make_phypacket(host, | 1418 | packet = hpsb_make_phypacket(host, |
1419 | 0x003c0000 | NODEID_TO_NODE(host->node_id) << 24); | 1419 | EXTPHYPACKET_TYPE_RESUME | |
1420 | NODEID_TO_NODE(host->node_id) << PHYPACKET_PORT_SHIFT); | ||
1420 | if (packet) { | 1421 | if (packet) { |
1421 | packet->no_waiter = 1; | 1422 | packet->no_waiter = 1; |
1422 | packet->generation = get_hpsb_generation(host); | 1423 | packet->generation = get_hpsb_generation(host); |