summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fwcontrol
Commit message (Collapse)AuthorAgeFilesLines
* MFC r289677:bdrewery2016-01-071-1/+1
| | | | Fix a ton of speelling errors
* mdoc: add missing width argument to Bl -tag.joel2012-06-031-1/+1
|
* mdoc: terminate quoted strings.joel2012-03-261-3/+3
| | | | Reviewed by: brueffer
* Spelling fixes for usr.sbin/uqs2011-12-302-2/+2
|
* - Remove extraneous null ptr deref checkseadler2011-12-211-2/+1
| | | | | | | | - Fix memory leak Submitted by: Slono Slono <slonoman2011@yandex.ru> Approved by: jhb MFC after: 1 week
* Quiet clang warnings by using literal format strings for printf-likeemaste2011-01-042-3/+3
| | | | functions.
* Closing fd when it's donekevlo2010-12-091-0/+1
| | | | Reviewed by: sbruno
* Spelling fixes.joel2010-08-011-1/+1
|
* Always assign WARNS using ?=uqs2010-03-021-1/+1
| | | | | | | - fix some nearby style bugs - include Makefile.inc where it makes sense and reduces duplication Approved by: ed (co-mentor)
* Remove reference to phy_delay from fwcontrol. Thanks for the catch!sbruno2009-02-171-2/+1
| | | | | Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> MFC after: 2 weeks
* Begin basic improvements to fwcontrol in the area of handlingsbruno2009-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
* Add fd = -1 after close when we detect the format so that subsequentimp2009-01-021-0/+1
| | | | open_dev will reopen the device.
* Reviewed by: (Dieter)freebsd@sopwith.solgatos.comsbruno2008-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
* Sweep this man page a bit:danger2008-09-111-15/+25
| | | | | | | | - new sentence = new line - use .Dq macro to quote words - some minor rewording MFC after: 2 weeks
* Beginning of overhaul of fwcontrol:sbruno2008-09-102-125/+384
| | | | | | | | | | | | | | | | | | - 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
* - add '-f' option to force root node.simokawa2008-03-052-8/+23
| | | | | | | | - fix byte order in read_write_quad() - show hostnames in the list - fix typo in manpage MFC after: 1 week
* Remove dublicate .Pp, sort SEE ALSO.brueffer2007-10-311-4/+3
|
* Whitespace-only change: trim EOL spaces.keramida2007-10-301-3/+3
|
* mdoc warning fix: delete spurious empty line.keramida2007-10-301-2/+1
| | | | MFC after: 3 days
* Increase buffer size of DV stream to prevent buffersimokawa2007-06-171-1/+1
| | | | | | overrun caused by long blocking of file I/O (i.e. zfs). MFC after: 3 days
* Fix a group of typos:yar2006-12-291-1/+1
| | | | | | | | preceed -> precede, preceeded -> preceded, preceeding -> preceding. Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
* Add MPEG2-TS/HDV support to fwcontrol.imp2006-10-266-56/+464
| | | | | | Submitted by: Petr Holub" <hopet@ics.muni.cz> Clean up by: mi@ Pr: 98134
* Remove unused variables. Shorten the path to a WARNS=6 compliance.charnier2005-05-201-17/+20
|
* Sort sections.ru2005-01-181-4/+4
|
* Scheduled mdoc(7) sweep.ru2005-01-111-1/+2
|
* - Xref fwip(4)brueffer2004-12-141-1/+2
| | | | | | - bump .Dd MFC after: 3 days
* Add usage of -m option.simokawa2004-10-291-2/+3
|
* Add -m option, set default fwmem target.simokawa2004-10-232-1/+27
|
* Nit.ru2004-06-041-1/+1
|
* Use new eui64(3) functions to print EUI-64s and to allow access to nodesbrooks2004-05-261-12/+74
| | | | | | by EUI-64 and name. Reviewed by: simokawa
* Don't crash if the CROM is all zeros.dfr2004-05-231-0/+4
|
* o grammar fixesbrueffer2003-12-171-7/+7
| | | | | | | o wordsmithing o s/isochronus/isochronous/ MFC after: 5 days
* Add '0x' in front of EUI64 to avoid confusion.simokawa2003-10-221-2/+2
|
* Add -p option to dump phy registers.simokawa2003-09-252-2/+96
|
* - Use /dev/fwX.Y rather than /dev/fwX.simokawa2003-08-052-31/+71
| | | | | - Add option -u to specify bus number. - Try to open the device only if it's necessary.
* - Allow retrieval of local Configuration ROM.simokawa2003-07-121-2/+1
| | | | - Clear Configuration ROM buffer in advance for '-d' option.
* Decode bus_info block.simokawa2003-06-101-4/+13
|
* Assorted mdoc(7) fixes.ru2003-06-021-31/+38
|
* Nitpicking.ru2003-05-221-1/+1
| | | | Approved by: re (blanket)
* Add description of '-o' and '-s'.simokawa2003-05-011-0/+6
|
* Set include path.simokawa2003-04-301-0/+3
|
* Free asyreq.simokawa2003-04-301-6/+6
| | | | Submitted by: ryuchi@ryuchi.org
* Add functions for sending a link-on packet and a RESET_START request.simokawa2003-04-291-16/+65
|
* Use fwcrom.c in /sys/dev/firewire.simokawa2003-04-262-502/+2
|
* MFp4(simokawa_firewire):simokawa2003-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
* - Detect PAL by CIP header rather than the DSF bit in the DV header.simokawa2003-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.
* Improve device listing.simokawa2003-02-092-4/+6
|
* Improve alignment in printf().simokawa2003-01-301-1/+1
|
* - Search free device node to open. (fwcontrol.c)simokawa2003-01-283-94/+135
| | | | | - Exploit multiple packets read/write for DV stream. (fwdv.c) - Add reference to libdv in the ports collection. (fwcontrol.8)
* Change API of FW_GDEVLST ioctl.simokawa2003-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.
OpenPOWER on IntegriCloud