aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/fwcontrol
Commit message (Collapse)AuthorAgeFilesLines
* Remove reference to phy_delay from fwcontrol. Thanks for the catch!Sean Bruno2009-02-171-2/+1
| | | | | | | | Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> MFC after: 2 weeks Notes: svn path=/head/; revision=188742
* Begin basic improvements to fwcontrol in the area of handlingSean Bruno2009-02-022-13/+12
| | | | | | | | | | | | video streams from cameras. This patch changes the displayed timer to a time stamp and corrects one or two mishandled errors. Submitted by: imp Notes: svn path=/head/; revision=188029
* Add fd = -1 after close when we detect the format so that subsequentWarner Losh2009-01-021-0/+1
| | | | | | | open_dev will reopen the device. Notes: svn path=/head/; revision=186696
* Reviewed by: (Dieter)freebsd@sopwith.solgatos.comSean Bruno2008-12-122-22/+68
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=185996
* Sweep this man page a bit:Daniel Gerzo2008-09-111-15/+25
| | | | | | | | | | | - new sentence = new line - use .Dq macro to quote words - some minor rewording MFC after: 2 weeks Notes: svn path=/head/; revision=182948
* Beginning of overhaul of fwcontrol:Sean Bruno2008-09-102-124/+383
| | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=182911
* - add '-f' option to force root node.Hidetoshi Shimokawa2008-03-052-8/+23
| | | | | | | | | | | - fix byte order in read_write_quad() - show hostnames in the list - fix typo in manpage MFC after: 1 week Notes: svn path=/head/; revision=176810
* Remove dublicate .Pp, sort SEE ALSO.Christian Brueffer2007-10-311-4/+3
| | | | Notes: svn path=/head/; revision=173214
* Whitespace-only change: trim EOL spaces.Giorgos Keramidas2007-10-301-3/+3
| | | | Notes: svn path=/head/; revision=173196
* mdoc warning fix: delete spurious empty line.Giorgos Keramidas2007-10-301-2/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=173195
* Increase buffer size of DV stream to prevent bufferHidetoshi Shimokawa2007-06-171-1/+1
| | | | | | | | | overrun caused by long blocking of file I/O (i.e. zfs). MFC after: 3 days Notes: svn path=/head/; revision=170878
* Fix a group of typos:Yaroslav Tykhiy2006-12-291-1/+1
| | | | | | | | | | | preceed -> precede, preceeded -> preceded, preceeding -> preceding. Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> Notes: svn path=/head/; revision=165628
* Add MPEG2-TS/HDV support to fwcontrol.Warner Losh2006-10-266-56/+464
| | | | | | | | | Submitted by: Petr Holub" <hopet@ics.muni.cz> Clean up by: mi@ Pr: 98134 Notes: svn path=/head/; revision=163712
* Remove unused variables. Shorten the path to a WARNS=6 compliance.Philippe Charnier2005-05-201-17/+20
| | | | Notes: svn path=/head/; revision=146442
* Sort sections.Ruslan Ermilov2005-01-181-4/+4
| | | | Notes: svn path=/head/; revision=140442
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-111-1/+2
| | | | Notes: svn path=/head/; revision=140063
* - Xref fwip(4)Christian Brueffer2004-12-141-1/+2
| | | | | | | | | - bump .Dd MFC after: 3 days Notes: svn path=/head/; revision=138866
* Add usage of -m option.Hidetoshi Shimokawa2004-10-291-2/+3
| | | | Notes: svn path=/head/; revision=137028
* Add -m option, set default fwmem target.Hidetoshi Shimokawa2004-10-232-1/+27
| | | | Notes: svn path=/head/; revision=136845
* Nit.Ruslan Ermilov2004-06-041-1/+1
| | | | Notes: svn path=/head/; revision=130088
* Use new eui64(3) functions to print EUI-64s and to allow access to nodesBrooks Davis2004-05-261-12/+74
| | | | | | | | | by EUI-64 and name. Reviewed by: simokawa Notes: svn path=/head/; revision=129760
* Don't crash if the CROM is all zeros.Doug Rabson2004-05-231-0/+4
| | | | Notes: svn path=/head/; revision=129604
* o grammar fixesChristian Brueffer2003-12-171-7/+7
| | | | | | | | | | o wordsmithing o s/isochronus/isochronous/ MFC after: 5 days Notes: svn path=/head/; revision=123594
* Add '0x' in front of EUI64 to avoid confusion.Hidetoshi Shimokawa2003-10-221-2/+2
| | | | Notes: svn path=/head/; revision=121324
* Add -p option to dump phy registers.Hidetoshi Shimokawa2003-09-252-2/+96
| | | | Notes: svn path=/head/; revision=120432
* - Use /dev/fwX.Y rather than /dev/fwX.Hidetoshi Shimokawa2003-08-052-31/+71
| | | | | | | | - Add option -u to specify bus number. - Try to open the device only if it's necessary. Notes: svn path=/head/; revision=118457
* - Allow retrieval of local Configuration ROM.Hidetoshi Shimokawa2003-07-121-2/+1
| | | | | | | - Clear Configuration ROM buffer in advance for '-d' option. Notes: svn path=/head/; revision=117474
* Decode bus_info block.Hidetoshi Shimokawa2003-06-101-3/+12
| | | | Notes: svn path=/head/; revision=116141
* Assorted mdoc(7) fixes.Ruslan Ermilov2003-06-021-31/+38
| | | | Notes: svn path=/head/; revision=115694
* Nitpicking.Ruslan Ermilov2003-05-221-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115222
* Add description of '-o' and '-s'.Hidetoshi Shimokawa2003-05-011-0/+6
| | | | Notes: svn path=/head/; revision=114393
* Set include path.Hidetoshi Shimokawa2003-04-301-0/+3
| | | | Notes: svn path=/head/; revision=114275
* Free asyreq.Hidetoshi Shimokawa2003-04-301-6/+6
| | | | | | | Submitted by: ryuchi@ryuchi.org Notes: svn path=/head/; revision=114274
* Add functions for sending a link-on packet and a RESET_START request.Hidetoshi Shimokawa2003-04-291-16/+65
| | | | Notes: svn path=/head/; revision=114217
* Use fwcrom.c in /sys/dev/firewire.Hidetoshi Shimokawa2003-04-262-502/+2
| | | | Notes: svn path=/head/; revision=114070
* MFp4(simokawa_firewire):Hidetoshi Shimokawa2003-04-173-16/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=113584
* - Detect PAL by CIP header rather than the DSF bit in the DV header.Hidetoshi Shimokawa2003-02-191-71/+48
| | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=111112
* Improve device listing.Hidetoshi Shimokawa2003-02-092-4/+6
| | | | Notes: svn path=/head/; revision=110578
* Improve alignment in printf().Hidetoshi Shimokawa2003-01-301-1/+1
| | | | Notes: svn path=/head/; revision=110070
* - Search free device node to open. (fwcontrol.c)Hidetoshi Shimokawa2003-01-283-94/+135
| | | | | | | | - Exploit multiple packets read/write for DV stream. (fwdv.c) - Add reference to libdv in the ports collection. (fwcontrol.8) Notes: svn path=/head/; revision=109991
* Change API of FW_GDEVLST ioctl.Hidetoshi Shimokawa2003-01-251-28/+42
| | | | | | | | | - include information about itself. - define struct fw_devinfo and use it in struct fw_devlstreq. - unify EUI64 representation using struct fw_eui64. Notes: svn path=/head/; revision=109814
* Use stderr for message output.Hidetoshi Shimokawa2003-01-242-31/+37
| | | | Notes: svn path=/head/; revision=109787
* Merge DV(Digital Video) support.Hidetoshi Shimokawa2003-01-234-3/+449
| | | | Notes: svn path=/head/; revision=109737
* - Remove speed_map API because speed_map is obsoleted by 1394a.Hidetoshi Shimokawa2003-01-042-30/+3
| | | | | | | - Add definition of OHCI_HCC_BIBIV in fwohcireg.h. Notes: svn path=/head/; revision=108662
* - Handle zero sized directory right way.Hidetoshi Shimokawa2003-01-042-12/+20
| | | | | | | - Staticize. Notes: svn path=/head/; revision=108657
* Import FireWire userland utility.Hidetoshi Shimokawa2002-12-304-0/+758
Notes: svn path=/head/; revision=108441