Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 21:56:10 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        freebsd-firewire@freebsd.org
Cc:        dvts-users@sfc.wide.ad.jp, ikob@koganei.wide.ad.jp
Subject:   Re: [Firewire-BSD 261] driver update (SBP-II/Firewire)
Message-ID:  <ybselhnyaol.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: <ybsy9gg8zl7.wl@ett.sat.t.u-tokyo.ac.jp>
References:  <3C8C283C.A5161533@cablespeed.com> <200203101530.AAA05124@ns.kobe1995.net> <ybswuwiichi.wl@ett.sat.t.u-tokyo.ac.jp> <ybsy9gg8zl7.wl@ett.sat.t.u-tokyo.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Updated,

http://people.freebsd.org/~simokawa/firewire-20020410.tar.gz

A dumb ethernet-emulation has been added.

Enjoy,

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html

$Id: 00README,v 1.1 2002/04/08 09:03:02 simokawa Exp $

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.

	The driver consists of 5 parts:

	- fwohci.c/fwohci_pci.c
		OHCI[2] driver
			- IEEE1394 link/phys chip control
	- firewire.c
		Chip independent driver 
			- CSR
			- Transaction
			- Character devices for userland
	- 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

	For FreeBSD-4 user:

	- ./MAKEDEV

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 firwire 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.
	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'.

	
5. DV
	I have not tested yet.


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-firewire" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybselhnyaol.wl>