[Patch] fwcontrol.c: iterate over multiple firewire boards if available

Sean Bruno sbruno at miralink.com
Sat Jun 28 18:20:07 UTC 2008


-- Iterate over mulitple f/w boards if there are no arguments passed.

Provides the following output for multiple boards:
[sean at home-test ~/RELENG_7/src/usr.sbin/fwcontrol]$ sudo ./fwcontrol
1 devices (info_len=1)
node           EUI64          status    hostname
   0  00-13-3b-01-00-01-01-82      0   
1 devices (info_len=1)
node           EUI64          status    hostname
   0  00-11-06-00-00-00-4a-bb      0   


Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fwcontrol.c.diff
Type: text/x-patch
Size: 1529 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-firewire/attachments/20080628/125f45c0/fwcontrol.c.bin


More information about the freebsd-firewire mailing list