head	1.4;
access;
symbols
	RELENG_8_4:1.4.0.2
	RELENG_9_1_0_RELEASE:1.3.2.1.4.2
	RELENG_9_1:1.3.2.1.0.4
	RELENG_9_1_BP:1.3.2.1
	RELENG_8_3_0_RELEASE:1.2.10.2.4.1
	RELENG_8_3:1.2.10.2.0.4
	RELENG_8_3_BP:1.2.10.2
	RELENG_9_0_0_RELEASE:1.3.2.1.2.1
	RELENG_9_0:1.3.2.1.0.2
	RELENG_9_0_BP:1.3.2.1
	RELENG_9:1.3.0.2
	RELENG_9_BP:1.3
	RELENG_7_4_0_RELEASE:1.2.2.1.2.1
	RELENG_8_2_0_RELEASE:1.2.10.2.2.1
	RELENG_7_4:1.2.2.1.0.2
	RELENG_7_4_BP:1.2.2.1
	RELENG_8_2:1.2.10.2.0.2
	RELENG_8_2_BP:1.2.10.2
	RELENG_8_1_0_RELEASE:1.2.10.1.4.1
	RELENG_8_1:1.2.10.1.0.4
	RELENG_8_1_BP:1.2.10.1
	RELENG_7_3_0_RELEASE:1.2.12.1
	RELENG_7_3:1.2.0.12
	RELENG_7_3_BP:1.2
	RELENG_8_0_0_RELEASE:1.2.10.1.2.1
	RELENG_8_0:1.2.10.1.0.2
	RELENG_8_0_BP:1.2.10.1
	RELENG_8:1.2.0.10
	RELENG_8_BP:1.2
	RELENG_7_2_0_RELEASE:1.2.8.1
	RELENG_7_2:1.2.0.8
	RELENG_7_2_BP:1.2
	RELENG_7_1_0_RELEASE:1.2.6.1
	RELENG_6_4_0_RELEASE:1.1.16.1.10.1
	RELENG_7_1:1.2.0.6
	RELENG_7_1_BP:1.2
	RELENG_6_4:1.1.16.1.0.10
	RELENG_6_4_BP:1.1.16.1
	RELENG_7_0_0_RELEASE:1.2
	RELENG_6_3_0_RELEASE:1.1.16.1
	RELENG_7_0:1.2.0.4
	RELENG_7_0_BP:1.2
	RELENG_6_3:1.1.16.1.0.8
	RELENG_6_3_BP:1.1.16.1
	RELENG_7:1.2.0.2
	RELENG_7_BP:1.2
	RELENG_6_2_0_RELEASE:1.1.16.1
	RELENG_6_2:1.1.16.1.0.6
	RELENG_6_2_BP:1.1.16.1
	RELENG_5_5_0_RELEASE:1.1
	RELENG_5_5:1.1.0.18
	RELENG_5_5_BP:1.1
	RELENG_6_1_0_RELEASE:1.1.16.1
	RELENG_6_1:1.1.16.1.0.4
	RELENG_6_1_BP:1.1.16.1
	RELENG_6_0_0_RELEASE:1.1.16.1
	RELENG_6_0:1.1.16.1.0.2
	RELENG_6_0_BP:1.1.16.1
	RELENG_6:1.1.0.16
	RELENG_6_BP:1.1
	RELENG_5_4_0_RELEASE:1.1
	RELENG_5_4:1.1.0.14
	RELENG_5_4_BP:1.1
	RELENG_4_11_0_RELEASE:1.1.4.2
	RELENG_4_11:1.1.4.2.0.8
	RELENG_4_11_BP:1.1.4.2
	RELENG_5_3_0_RELEASE:1.1
	RELENG_5_3:1.1.0.12
	RELENG_5_3_BP:1.1
	RELENG_5:1.1.0.10
	RELENG_5_BP:1.1
	RELENG_4_10_0_RELEASE:1.1.4.2
	RELENG_4_10:1.1.4.2.0.6
	RELENG_4_10_BP:1.1.4.2
	RELENG_5_2_1_RELEASE:1.1
	RELENG_5_2_0_RELEASE:1.1
	RELENG_5_2:1.1.0.8
	RELENG_5_2_BP:1.1
	RELENG_4_9_0_RELEASE:1.1.4.2
	RELENG_4_9:1.1.4.2.0.4
	RELENG_4_9_BP:1.1.4.2
	RELENG_5_1_0_RELEASE:1.1
	RELENG_5_1:1.1.0.6
	RELENG_5_1_BP:1.1
	RELENG_4_8_0_RELEASE:1.1.4.2
	RELENG_4_8:1.1.4.2.0.2
	RELENG_4_8_BP:1.1.4.2
	RELENG_5_0_0_RELEASE:1.1
	RELENG_4:1.1.0.4
	RELENG_5_0:1.1.0.2
	RELENG_5_0_BP:1.1;
locks; strict;
comment	@# @;


1.4
date	2012.11.17.01.51.51;	author svnexp;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2010.11.15.05.25.51;	author dougb;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2005.10.01.18.56.16;	author glebius;	state Exp;
branches
	1.2.2.1
	1.2.6.1
	1.2.8.1
	1.2.10.1
	1.2.12.1;
next	1.1;

1.1
date	2002.09.13.12.31.56;	author ikob;	state Exp;
branches
	1.1.4.1
	1.1.16.1;
next	;

1.4.2.1
date	2012.11.17.01.51.51;	author svnexp;	state dead;
branches;
next	1.4.2.2;

1.4.2.2
date	2013.03.28.13.04.39;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.3.2.1.2.1
	1.3.2.1.4.1;
next	1.3.2.2;

1.3.2.2
date	2012.11.17.11.36.58;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.3.2.1.2.2;

1.3.2.1.2.2
date	2012.11.17.08.36.55;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.3.2.1.4.2;

1.3.2.1.4.2
date	2012.11.17.08.47.46;	author svnexp;	state Exp;
branches;
next	;

1.2.2.1
date	2010.11.22.00.44.43;	author dougb;	state Exp;
branches
	1.2.2.1.2.1;
next	1.2.2.2;

1.2.2.2
date	2012.11.17.08.05.30;	author svnexp;	state Exp;
branches;
next	;

1.2.2.1.2.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.2.2.1.2.2;

1.2.2.1.2.2
date	2012.11.17.08.17.12;	author svnexp;	state Exp;
branches;
next	;

1.2.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.2.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.2.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.2.10.1.2.1
	1.2.10.1.4.1;
next	1.2.10.2;

1.2.10.2
date	2010.11.22.00.31.52;	author dougb;	state Exp;
branches
	1.2.10.2.2.1
	1.2.10.2.4.1;
next	1.2.10.3;

1.2.10.3
date	2012.11.17.10.36.36;	author svnexp;	state Exp;
branches;
next	;

1.2.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.2.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.2.10.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.2.10.2.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.2.10.2.4.2;

1.2.10.2.4.2
date	2012.11.17.08.25.16;	author svnexp;	state Exp;
branches;
next	;

1.2.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.1.4.1
date	2002.12.26.04.27.33;	author simokawa;	state Exp;
branches;
next	1.1.4.2;

1.1.4.2
date	2003.02.10.07.17.25;	author simokawa;	state Exp;
branches;
next	1.1.4.3;

1.1.4.3
date	2012.11.17.07.25.42;	author svnexp;	state Exp;
branches;
next	;

1.1.16.1
date	2005.10.07.14.00.03;	author glebius;	state Exp;
branches
	1.1.16.1.10.1;
next	1.1.16.2;

1.1.16.2
date	2012.11.17.07.43.11;	author svnexp;	state Exp;
branches;
next	;

1.1.16.1.10.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Switching exporter and resync
@
text
@$FreeBSD: head/sys/dev/firewire/00README 215334 2010-11-15 05:25:51Z dougb $

IEEE 1394 support for FreeBSD-5.X and 4.X.

1. Introduction

	  This tarball contains IEEE1394(FireWire) driver which is first
	written by Katsushi Kobayashi[1] <ikob@@koganei.wide.ad.jp> and
	modified by Hidetoshi Shimokawa <simokawa@@freebsd.org>.
	Please note this driver is still under development.
	You can find latest snapshots under:
		http://people.freebsd.org/~simokawa/
	named firewire-2002XXXX.tar.gz

	The driver consists of 6 parts:

	- fwohci.c/fwohci_pci.c
		OHCI[2] driver
			- IEEE1394 link/phy chip control
	- firewire.c
		Chip independent driver 
			- CSR
			- Transaction
			- Character devices for userland
	- fwmem.c
		/dev/fwmem0: physical memory of a remote node.
	- sbp.c
		SBP-II[3] (a.k.a. SCSI over FireWire) driver

	- if_fwe.c
		NON-Standard implementation of Ethernet over FireWire.

	- bus_mgm.c (userland)
		Bus management function for user. 
		show topology map, change gap count, bus reset, etc.

2. Installation

	Suppose you have kernel source at /sys.

	- Extract tarball at root directory.
	- cd /sys/dev/firewire
	- make 
	- make install
	- make load

3. SBP-II support (sbp)

	- You need CAM(SCSI) support in your kernel.
	  If you are using FreeBSD-5 before 2002/03/23 or FreeBSD-4 before
	  2002/4/8, you need to apply CAM-patch in this archive
	  to handle HDD's(T_RBC or T_DIRECT which doesn't support READ_6).

	- If you connect a few firewire devices only, try the following to
	  reduce gap overhead.

		- ./bus_mgm -g 8

4. Ethernet over FireWire (if_fwe)

	  This is a sample driver for ethernet emulation. Please note this
	does NOT conform to any standards like IP over FireWire(RFC2734[4]).
	It just sends ethernet frames encapsulated in asynchronous stream
	packets. It doesn't scale because it does something like unicast over		multicast, but it's easy to be implemented and you can use any
	facilities what ethernet can do. (ipv6, bridging, vlan etc.)

	  It also has DEVICE_POLLING[5] support. To enable it, edit your
	kernel config file and Makefile.fwe then rebuild kernel and if_fwe.ko.

5. FireWire for Kernel Hackers

          As you know, IEEE1394 is a bus and OHCI supports physical access
	to the host memory. This means that you can access the remote
	host over firewire without software support at the remote host.
	In other words, you can investigate remote host's physical memory
	whether its OS is alive or crashed or hangs up.

	  You need to apply KVMLIB-patch and rebuild libkvm then rebuild ps,
	dmesg and gdb those are statically linked.
	You may want to apply GDB-patch in this archive to get same behavior
	as gdb with /dev/mem or want to insert savectx(&dumppcb) into panic(),
	breakpoint() and so on to emulation crash dump.

	  You have to determine target node_id manually at this point.
	(guess using bus_mgm -t or dmesg)
	(Targets should be specified by EUI64 in the future)

	# sysctl kern.firewire.fwmem_node=[node_id]

	# ps -agx -M /dev/fwmem0 -N /sys/i386/compile/GENERIC/kernel
	# dmesg -M /dev/fwmem0 -N /sys/i386/compile/GENERIC/kernel
	# gdb -k -c /dev/fwmem0 /sys/i386/compile/GENERIC/kernel.debug
	# dd if=/dev/fwmem0 of=vmcore bs=1m count=[phys. memory in MB]

	remote gdb at 400,000,000 bps :-)

	
6. DV
	I have not tested yet.

7. Tested HW

	OS
	- FreeBSD-4/i386
	- FreeBSD-4/alpha
	- FreeBSD-5/i386

	* Not tested on SMP.
	* Not tested on big-endian machine...

	OHCI
	- Texas Instruments TSB12LV26 (PCI)
	- Texas Instruments TSB43AA22 (PCI/Cardbus)

	* There might be phy probing problem but most of the OHCI
	  chips should work.
	* Tested with multiple firewire buses.

	SBP-II
	- HDD: Logitec USB/FireWire LHD-P30FU
	- HDD: Yano A-dish 120GB
	- HDD: Yano B-Max 320GB
		The repository of cvsup2.jp.freebsd.org is on this device.
	- HDD: Personal Storage 3000XT 160GB
		The last sector of this drive cannot be accessed..
	- DVD-RAM: Panasonic LF-D340JD 
	- SCSI-FireWire converter: Yano FWSCSI-01
		We can recognize only 1 device/lun at this point
	- HDD: iPod, PowerBook G4 (target mode)
		Reported by ikob
	- Scanner: Epson GT-9700F
		Now works!!
		Sane-backend needs a patch(SANE-patch in this archive).

	if_fwe
	- IPv4, IPv6, bridging, vlan.
	- You need at least two FreeBSD machines with this driver to use.

References:
[1] ftp://ftp.uec.ac.jp/pub/firewire/beta/ 
[2] http://developer.intel.com/technology/1394/download/ohci_11.htm
[3] http://www.t10.org/scsi-3.htm
[4] http://www.faqs.org/rfcs/rfc2734.html
[5] http://info.iet.unipi.it/~luigi/polling/


Hidetoshi Shimokawa
simokawa@@freebsd.org
@


1.4.2.1
log
@file 00README was added on branch RELENG_8_4 on 2013-03-28 13:04:39 +0000
@
text
@d1 148
@


1.4.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 148
$FreeBSD: releng/8.4/sys/dev/firewire/00README 215647 2010-11-22 00:31:52Z dougb $

IEEE 1394 support for FreeBSD-5.X and 4.X.

1. Introduction

	  This tarball contains IEEE1394(FireWire) driver which is first
	written by Katsushi Kobayashi[1] <ikob@@koganei.wide.ad.jp> and
	modified by Hidetoshi Shimokawa <simokawa@@freebsd.org>.
	Please note this driver is still under development.
	You can find latest snapshots under:
		http://people.freebsd.org/~simokawa/
	named firewire-2002XXXX.tar.gz

	The driver consists of 6 parts:

	- fwohci.c/fwohci_pci.c
		OHCI[2] driver
			- IEEE1394 link/phy chip control
	- firewire.c
		Chip independent driver 
			- CSR
			- Transaction
			- Character devices for userland
	- fwmem.c
		/dev/fwmem0: physical memory of a remote node.
	- sbp.c
		SBP-II[3] (a.k.a. SCSI over FireWire) driver

	- if_fwe.c
		NON-Standard implementation of Ethernet over FireWire.

	- bus_mgm.c (userland)
		Bus management function for user. 
		show topology map, change gap count, bus reset, etc.

2. Installation

	Suppose you have kernel source at /sys.

	- Extract tarball at root directory.
	- cd /sys/dev/firewire
	- make 
	- make install
	- make load

3. SBP-II support (sbp)

	- You need CAM(SCSI) support in your kernel.
	  If you are using FreeBSD-5 before 2002/03/23 or FreeBSD-4 before
	  2002/4/8, you need to apply CAM-patch in this archive
	  to handle HDD's(T_RBC or T_DIRECT which doesn't support READ_6).

	- If you connect a few firewire devices only, try the following to
	  reduce gap overhead.

		- ./bus_mgm -g 8

4. Ethernet over FireWire (if_fwe)

	  This is a sample driver for ethernet emulation. Please note this
	does NOT conform to any standards like IP over FireWire(RFC2734[4]).
	It just sends ethernet frames encapsulated in asynchronous stream
	packets. It doesn't scale because it does something like unicast over		multicast, but it's easy to be implemented and you can use any
	facilities what ethernet can do. (ipv6, bridging, vlan etc.)

	  It also has DEVICE_POLLING[5] support. To enable it, edit your
	kernel config file and Makefile.fwe then rebuild kernel and if_fwe.ko.

5. FireWire for Kernel Hackers

          As you know, IEEE1394 is a bus and OHCI supports physical access
	to the host memory. This means that you can access the remote
	host over firewire without software support at the remote host.
	In other words, you can investigate remote host's physical memory
	whether its OS is alive or crashed or hangs up.

	  You need to apply KVMLIB-patch and rebuild libkvm then rebuild ps,
	dmesg and gdb those are statically linked.
	You may want to apply GDB-patch in this archive to get same behavior
	as gdb with /dev/mem or want to insert savectx(&dumppcb) into panic(),
	breakpoint() and so on to emulation crash dump.

	  You have to determine target node_id manually at this point.
	(guess using bus_mgm -t or dmesg)
	(Targets should be specified by EUI64 in the future)

	# sysctl kern.firewire.fwmem_node=[node_id]

	# ps -agx -M /dev/fwmem0 -N /sys/i386/compile/GENERIC/kernel
	# dmesg -M /dev/fwmem0 -N /sys/i386/compile/GENERIC/kernel
	# gdb -k -c /dev/fwmem0 /sys/i386/compile/GENERIC/kernel.debug
	# dd if=/dev/fwmem0 of=vmcore bs=1m count=[phys. memory in MB]

	remote gdb at 400,000,000 bps :-)

	
6. DV
	I have not tested yet.

7. Tested HW

	OS
	- FreeBSD-4/i386
	- FreeBSD-4/alpha
	- FreeBSD-5/i386

	* Not tested on SMP.
	* Not tested on big-endian machine...

	OHCI
	- Texas Instruments TSB12LV26 (PCI)
	- Texas Instruments TSB43AA22 (PCI/Cardbus)

	* There might be phy probing problem but most of the OHCI
	  chips should work.
	* Tested with multiple firewire buses.

	SBP-II
	- HDD: Logitec USB/FireWire LHD-P30FU
	- HDD: Yano A-dish 120GB
	- HDD: Yano B-Max 320GB
		The repository of cvsup2.jp.freebsd.org is on this device.
	- HDD: Personal Storage 3000XT 160GB
		The last sector of this drive cannot be accessed..
	- DVD-RAM: Panasonic LF-D340JD 
	- SCSI-FireWire converter: Yano FWSCSI-01
		We can recognize only 1 device/lun at this point
	- HDD: iPod, PowerBook G4 (target mode)
		Reported by ikob
	- Scanner: Epson GT-9700F
		Now works!!
		Sane-backend needs a patch(SANE-patch in this archive).

	if_fwe
	- IPv4, IPv6, bridging, vlan.
	- You need at least two FreeBSD machines with this driver to use.

References:
[1] ftp://ftp.uec.ac.jp/pub/firewire/beta/ 
[2] http://developer.intel.com/technology/1394/download/ohci_11.htm
[3] http://www.t10.org/scsi-3.htm
[4] http://www.faqs.org/rfcs/rfc2734.html
[5] http://info.iet.unipi.it/~luigi/polling/


Hidetoshi Shimokawa
simokawa@@freebsd.org
@


1.3
log
@SVN rev 215334 on 2010-11-15 05:25:51Z by dougb

Remove references to MAKEDEV(8)
@
text
@d1 1
a1 1
$FreeBSD$
@


1.3.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.3.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
$FreeBSD: stable/9/sys/dev/firewire/00README 215334 2010-11-15 05:25:51Z dougb $
@


1.3.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.3.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: releng/9.1/sys/dev/firewire/00README 215334 2010-11-15 05:25:51Z dougb $
@


1.3.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.3.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: releng/9.0/sys/dev/firewire/00README 215334 2010-11-15 05:25:51Z dougb $
@


1.2
log
@Big polling(4) cleanup.

o Axe poll in trap.

o Axe IFF_POLLING flag from if_flags.

o Rework revision 1.21 (Giant removal), in such a way that
  poll_mtx is not dropped during call to polling handler.
  This fixes problem with idle polling.

o Make registration and deregistration from polling in a
  functional way, insted of next tick/interrupt.

o Obsolete kern.polling.enable. Polling is turned on/off
  with ifconfig.

Detailed kern_poll.c changes:
  - Remove polling handler flags, introduced in 1.21. The are not
    needed now.
  - Forget and do not check if_flags, if_capenable and if_drv_flags.
  - Call all registered polling handlers unconditionally.
  - Do not drop poll_mtx, when entering polling handlers.
  - In ether_poll() NET_LOCK_GIANT prior to locking poll_mtx.
  - In netisr_poll() axe the block, where polling code asks drivers
    to unregister.
  - In netisr_poll() and ether_poll() do polling always, if any
    handlers are present.
  - In ether_poll_[de]register() remove a lot of error hiding code. Assert
    that arguments are correct, instead.
  - In ether_poll_[de]register() use standard return values in case of
    error or success.
  - Introduce poll_switch() that is a sysctl handler for kern.polling.enable.
    poll_switch() goes through interface list and enabled/disables polling.
    A message that kern.polling.enable is deprecated is printed.

Detailed driver changes:
  - On attach driver announces IFCAP_POLLING in if_capabilities, but
    not in if_capenable.
  - On detach driver calls ether_poll_deregister() if polling is enabled.
  - In polling handler driver obtains its lock and checks IFF_DRV_RUNNING
    flag. If there is no, then unlocks and returns.
  - In ioctl handler driver checks for IFCAP_POLLING flag requested to
    be set or cleared. Driver first calls ether_poll_[de]register(), then
    obtains driver lock and [dis/en]ables interrupts.
  - In interrupt handler driver checks IFCAP_POLLING flag in if_capenable.
    If present, then returns.This is important to protect from spurious
    interrupts.

Reviewed by:	ru, sam, jhb
@
text
@a46 4
	For FreeBSD-4 user:

	- ./MAKEDEV

@


1.2.2.1
log
@SVN rev 215648 on 2010-11-22 00:44:43Z by dougb

MFC 215334:

Remove references to MAKEDEV(8)
@
text
@d47 4
@


1.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: stable/7/sys/dev/firewire/00README 215648 2010-11-22 00:44:43Z dougb $
@


1.2.2.1.2.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.2.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: releng/7.4/sys/dev/firewire/00README 215648 2010-11-22 00:44:43Z dougb $
@


1.2.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.2.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.2.10.2
log
@SVN rev 215647 on 2010-11-22 00:31:52Z by dougb

MFC 215334:

Remove references to MAKEDEV(8)
@
text
@d47 4
@


1.2.10.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
$FreeBSD: stable/8/sys/dev/firewire/00README 215647 2010-11-22 00:31:52Z dougb $
@


1.2.10.2.4.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.2.10.2.4.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: releng/8.3/sys/dev/firewire/00README 215647 2010-11-22 00:31:52Z dougb $
@


1.2.10.2.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.2.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.2.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.2.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.2.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.1
log
@Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
@
text
@a72 3
	Note this driver checks kern.polling.enable only when enabling the
	interface. When you enable polling after the interface is up,
	try 'ifconfig fwe0 down;ifconfig fwe0 up'.
@


1.1.16.1
log
@Big overall MFC of polling(4) cleanup:

o First attempt on removing Giant from polling. Details:
  http://lists.freebsd.org/pipermail/cvs-src/2005-September/051848.html
o Second attempt, and big polling cleanup including:
  - Functinal approach to turning polling on/off
  - Deprecating of poll_in_trap
  - Removal of ifnet knowledge from kern_poll.c
  Details:
  http://lists.freebsd.org/pipermail/cvs-src/2005-October/053267.html
o Improved checking of user configurable sysctls. Details:
  http://lists.freebsd.org/pipermail/cvs-src/2005-October/053351.html
o Moving DEVICE_POLLING from opt_global.h to opt_device_polling.h:
  http://lists.freebsd.org/pipermail/cvs-src/2005-October/053479.html

o All related documentation fixes.

Approved by:	re (kensmith)
Thanks to:	everyone, who helped with testing
@
text
@d73 3
@


1.1.16.2
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: stable/6/sys/dev/firewire/00README 151061 2005-10-07 14:00:06Z glebius $
@


1.1.16.1.10.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.1.4.1
log
@Sync FireWire driver with -current.
 - clean up
 - reduce debug messages.
 - workaround for VIA6306.
 - improve phy access.
@
text
@@


1.1.4.2
log
@Sync with -current:
* all
- Remove unnecessary M_NOWAIT.
- Add/improve some debug messages.

* fwohci
- Increase atrq.ndesc for if_fwe.

* firewire
- Detect split transcation timeout.
- Add firewire_xferq_drain() for fw_busreset().
- Call fw_xfer_done() if retry handler is NULL.

* sbp
- Improve recovery after timeout.
- Try reconnect first if the device has been seen.
- Fix for ORB_FUN_ATA.
- Remove unnecessary check for OCB_ACT_CMD.

* fwmem
- Implement write part.
- Use quad access for aligned 4 byte access.
- Add a new ioctl to specify target EUI64.

* fwcontrol
- Device list improvement.
@
text
@@


1.1.4.3
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: stable/4/sys/dev/firewire/00README 110634 2003-02-10 07:17:26Z simokawa $
@


