]> git.karo-electronics.de Git - karo-tx-linux.git/commit
firewire: consistent usage of node_id
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 23 Jan 2007 20:11:43 +0000 (21:11 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:43 +0000 (22:02 +0100)
commit907293d78872ee492ce6a114258dd853ec5082ae
tree9384ac58621706b7d3846b34944fa5475f084502
parent366f5f4fa31cd3f3d5901f5edfe255a48906505d
firewire: consistent usage of node_id

Definitions as per IEEE 1212 and IEEE 1394:

     Node ID: Concatenation of bus ID and local ID. 16 bits long.
      Bus ID: Identifies a particular bus within a group of buses
              interconnected by bus bridges.
    Local ID: Identifies a particular node on a bus.
      PHY ID: Local ID of IEEE 1394 nodes. 6 bits long.

Never ever use a variable called node_id for anything else than a node ID.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.c
drivers/firewire/fw-device.c
drivers/firewire/fw-ohci.c
drivers/firewire/fw-sbp2.c
drivers/firewire/fw-topology.c
drivers/firewire/fw-transaction.c