aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/fwcontrol
Commit message (Collapse)AuthorAgeFilesLines
* - Remove extraneous null ptr deref checksEitan Adler2012-01-101-2/+1
| | | | | | | | | - Fix memory leak Approved by: jhb Notes: svn path=/stable/7/; revision=229901
* MFC 182911,182948,185996 from HEAD to syncronize fwcontrol between all branchesSean Bruno2008-12-223-148/+461
| | | | | | | | | | | | | | | | of FreeBSD. These changes provide the following features: Allow users of more than one Firewire board to execute commands Allow users to pass more than one command line argument at a time Provide NetBSD code support Cleanup Mergeinfo and mark the branch in sync Reviewed by: slong (scottl@samsco.org) Mentor Approved by: re Ken (kensmith@cse.buffalo.edu) Notes: svn path=/stable/7/; revision=186387
* MFC: add -f option and other small fixesHidetoshi Shimokawa2008-05-022-8/+23
| | | | | | | | firewire.8 rev 1.22 firewire.c rev 1.24 Notes: svn path=/stable/7/; revision=178718
* 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