Commit Graph

23 Commits

Author SHA1 Message Date
imp
6e88cf01d9 Add MPEG2-TS/HDV support to fwcontrol.
Submitted by: Petr Holub" <hopet@ics.muni.cz>
Clean up by: mi@
Pr: 98134
2006-10-26 22:33:38 +00:00
charnier
ed1d8f918d Remove unused variables. Shorten the path to a WARNS=6 compliance. 2005-05-20 12:50:47 +00:00
simokawa
616a502e11 Add usage of -m option. 2004-10-29 01:24:32 +00:00
simokawa
590558cea7 Add -m option, set default fwmem target. 2004-10-23 23:28:08 +00:00
brooks
5b46c790ee Use new eui64(3) functions to print EUI-64s and to allow access to nodes
by EUI-64 and name.

Reviewed by:	simokawa
2004-05-26 22:59:55 +00:00
dfr
7e8e4a7736 Don't crash if the CROM is all zeros. 2004-05-23 10:06:33 +00:00
simokawa
2f7e12f3f8 Add '0x' in front of EUI64 to avoid confusion. 2003-10-22 07:23:27 +00:00
simokawa
4bfedd37f3 Add -p option to dump phy registers. 2003-09-25 09:33:16 +00:00
simokawa
23d1d988ed - 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.
2003-08-05 03:26:14 +00:00
simokawa
2e23010652 - Allow retrieval of local Configuration ROM.
- Clear Configuration ROM buffer in advance for '-d' option.
2003-07-12 09:36:53 +00:00
simokawa
068cc62123 Decode bus_info block. 2003-06-10 02:32:22 +00:00
simokawa
8ac078ac22 Free asyreq.
Submitted by: ryuchi@ryuchi.org
2003-04-30 03:38:07 +00:00
simokawa
234cede4b9 Add functions for sending a link-on packet and a RESET_START request. 2003-04-29 13:49:21 +00:00
simokawa
29b43e58e3 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
2003-04-17 03:38:03 +00:00
simokawa
4cf30c0db1 Improve device listing. 2003-02-09 07:26:48 +00:00
simokawa
a8f646b49b Improve alignment in printf(). 2003-01-30 03:46:48 +00:00
simokawa
10a2ca5226 - 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)
2003-01-28 17:00:23 +00:00
simokawa
ea028a97ec 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.
2003-01-25 14:47:33 +00:00
simokawa
69a1f95c24 Use stderr for message output. 2003-01-24 03:40:36 +00:00
simokawa
67c0355c1e Merge DV(Digital Video) support. 2003-01-23 16:10:12 +00:00
simokawa
f1c859a3c5 - Remove speed_map API because speed_map is obsoleted by 1394a.
- Add definition of OHCI_HCC_BIBIV in fwohcireg.h.
2003-01-04 16:03:50 +00:00
simokawa
f588520584 - Handle zero sized directory right way.
- Staticize.
2003-01-04 10:32:31 +00:00
simokawa
41352fb7b2 Import FireWire userland utility. 2002-12-30 10:13:16 +00:00