History log of /freebsd-10.1-release/usr.sbin/fwcontrol/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


236500 03-Jun-2012 joel

mdoc: add missing width argument to Bl -tag.


233510 26-Mar-2012 joel

mdoc: terminate quoted strings.

Reviewed by: brueffer


228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


228790 21-Dec-2011 eadler

- Remove extraneous null ptr deref checks
- Fix memory leak

Submitted by: Slono Slono <slonoman2011@yandex.ru>
Approved by: jhb
MFC after: 1 week


216948 04-Jan-2011 emaste

Quiet clang warnings by using literal format strings for printf-like
functions.


216321 09-Dec-2010 kevlo

Closing fd when it's done

Reviewed by: sbruno


210723 01-Aug-2010 joel

Spelling fixes.


204585 02-Mar-2010 uqs

Always assign WARNS using ?=

- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication

Approved by: ed (co-mentor)


188742 17-Feb-2009 sbruno

Remove reference to phy_delay from fwcontrol. Thanks for the catch!

Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
MFC after: 2 weeks


188029 02-Feb-2009 sbruno

Begin basic improvements to fwcontrol in the area of handling
video streams from cameras.

This patch changes the displayed timer to a time stamp and corrects
one or two mishandled errors.

Submitted by: imp


186696 02-Jan-2009 imp

Add fd = -1 after close when we detect the format so that subsequent
open_dev will reopen the device.


185996 12-Dec-2008 sbruno

Reviewed by: (Dieter)freebsd@sopwith.solgatos.com
Approved by: slong scottl@samsco.org
MFC after: 2 weeks

Final cleanup of fwcontrol.
NetBSD compatibility
Cleanup errors in usage() display
Finish up error handling via errx/warnx
Generate error on unparsed command line syntax
Change device(devbase) to open into the form /dev/fwX.X


182948 11-Sep-2008 danger

Sweep this man page a bit:
- new sentence = new line
- use .Dq macro to quote words
- some minor rewording

MFC after: 2 weeks


182911 10-Sep-2008 sbruno

Beginning of overhaul of fwcontrol:
- Documentation of send_phy_config()
- cleanup of malloc's() and added error checking throughout
- new capability to iterate over multiple firewire buses
- update usage() display
- cleanup command line parsing to allow out of order switches
- cleanup command line parsing to allow multiple switches per invocation
- cleanup grammar of man page a bit
- add some ranges to the man page to indicate what values are valid

Since fwcontrol's code is the same across 6/7/head this can be
applied to all branches after the MFC period.

Reviewed by: Dieter freebsd@sopwith.solgatos.com
Approved by: mentor Scott scottl@samsco.org
MFC after: 60 days


176810 05-Mar-2008 simokawa

- add '-f' option to force root node.
- fix byte order in read_write_quad()
- show hostnames in the list
- fix typo in manpage

MFC after: 1 week


173214 31-Oct-2007 brueffer

Remove dublicate .Pp, sort SEE ALSO.


173196 30-Oct-2007 keramida

Whitespace-only change: trim EOL spaces.


173195 30-Oct-2007 keramida

mdoc warning fix: delete spurious empty line.

MFC after: 3 days


170878 17-Jun-2007 simokawa

Increase buffer size of DV stream to prevent buffer
overrun caused by long blocking of file I/O (i.e. zfs).

MFC after: 3 days


165628 29-Dec-2006 yar

Fix a group of typos:
preceed -> precede,
preceeded -> preceded,
preceeding -> preceding.

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>


163712 26-Oct-2006 imp

Add MPEG2-TS/HDV support to fwcontrol.

Submitted by: Petr Holub" <hopet@ics.muni.cz>
Clean up by: mi@
Pr: 98134


146442 20-May-2005 charnier

Remove unused variables. Shorten the path to a WARNS=6 compliance.


140442 18-Jan-2005 ru

Sort sections.


140063 11-Jan-2005 ru

Scheduled mdoc(7) sweep.


138866 14-Dec-2004 brueffer

- Xref fwip(4)
- bump .Dd

MFC after: 3 days


137028 29-Oct-2004 simokawa

Add usage of -m option.


136845 23-Oct-2004 simokawa

Add -m option, set default fwmem target.


130088 04-Jun-2004 ru

Nit.


129760 26-May-2004 brooks

Use new eui64(3) functions to print EUI-64s and to allow access to nodes
by EUI-64 and name.

Reviewed by: simokawa


129604 23-May-2004 dfr

Don't crash if the CROM is all zeros.


123594 17-Dec-2003 brueffer

o grammar fixes
o wordsmithing
o s/isochronus/isochronous/

MFC after: 5 days


121324 22-Oct-2003 simokawa

Add '0x' in front of EUI64 to avoid confusion.


120432 25-Sep-2003 simokawa

Add -p option to dump phy registers.


118457 05-Aug-2003 simokawa

- Use /dev/fwX.Y rather than /dev/fwX.
- Add option -u to specify bus number.
- Try to open the device only if it's necessary.


117474 12-Jul-2003 simokawa

- Allow retrieval of local Configuration ROM.
- Clear Configuration ROM buffer in advance for '-d' option.


116141 10-Jun-2003 simokawa

Decode bus_info block.


115694 02-Jun-2003 ru

Assorted mdoc(7) fixes.


115222 22-May-2003 ru

Nitpicking.

Approved by: re (blanket)


114393 01-May-2003 simokawa

Add description of '-o' and '-s'.


114275 30-Apr-2003 simokawa

Set include path.


114274 30-Apr-2003 simokawa

Free asyreq.

Submitted by: ryuchi@ryuchi.org


114217 29-Apr-2003 simokawa

Add functions for sending a link-on packet and a RESET_START request.


114070 26-Apr-2003 simokawa

Use fwcrom.c in /sys/dev/firewire.


113584 17-Apr-2003 simokawa

MFp4(simokawa_firewire):
Many internal structure changes for the FireWire driver.

- Compute CRC in CROM parsing.
- Add support for configuration ROM build.
- Simplify dummy buffer handling.
- busdma conversion
- Use swi_taskqueue_giant for -current. Mark the interrupt routine as MPSAFE.
- AR buffer handling.
Don't reallocate AR buffer but just recycle it.
Don't malloc and copy per packet in fwohci_arcv().
Pass packet to fw_rcv() using iovec.
Application must prepare receiving buffer in advance.
- Change fw_bind API so that application should pre-allocate xfer structure.
- Add fw_xfer_unload() for recycling struct fw_xfer.
- Add post_busreset hook
- Remove unused 'sub' and 'act_type' in struct fw_xfer.
- Remove npacket from struct fw_bulkxfer.
- Don't call back handlers in fwochi_arcv() if the packet has
not drained in AT queue
- Make firewire works on big endian platform.
- Use native endian for packet header and remove unnecessary ntohX/htonX.
- Remove FWXFERQ_PACKET mode. We don't use it anymore.
- Remove unnecessary restriction of FWSTMAXCHUNK.
- Don't set root node for phy config packet if the root node is
not cycle master capable but set myself for root node.
We should be the root node after next bus reset.

Spotted by: Yoshihiro Tabira <tabira@scd.mei.co.jp>
- Improve self id handling

Tested on: i386, sparc64 and i386 with forced bounce buffer


111112 19-Feb-2003 simokawa

- Detect PAL by CIP header rather than the DSF bit in the DV header.
Some DVcam(ex. Panasonic NV-DS1 DV camcorder) doesn't seems to set
this bit even if it's for PAL. Fix the DSF bit for such cases so that
we can send back the stream to the DVcam without problem.
Problem Reported by: Richard Tobin <richard@cogsci.ed.ac.uk>

- Make the number of bulkxfer packets(NPACKET_T) and the number of packets
write at once(TNBUF) to be different values.
I observe some block noise for large TNBUF.
- Show the detection of NTSC or PAL.
- Pad with 0xff rather than 0x00 for broken frames.
- Bzero hdr[0].
- Remove unused code.


110578 09-Feb-2003 simokawa

Improve device listing.


110070 30-Jan-2003 simokawa

Improve alignment in printf().


109991 28-Jan-2003 simokawa

- Search free device node to open. (fwcontrol.c)
- Exploit multiple packets read/write for DV stream. (fwdv.c)
- Add reference to libdv in the ports collection. (fwcontrol.8)


109814 25-Jan-2003 simokawa

Change API of FW_GDEVLST ioctl.
- include information about itself.
- define struct fw_devinfo and use it in struct fw_devlstreq.
- unify EUI64 representation using struct fw_eui64.


109787 24-Jan-2003 simokawa

Use stderr for message output.


109737 23-Jan-2003 simokawa

Merge DV(Digital Video) support.


108662 04-Jan-2003 simokawa

- Remove speed_map API because speed_map is obsoleted by 1394a.
- Add definition of OHCI_HCC_BIBIV in fwohcireg.h.


108657 04-Jan-2003 simokawa

- Handle zero sized directory right way.
- Staticize.


108441 30-Dec-2002 simokawa

Import FireWire userland utility.