From owner-FreeBSD-users-jp@jp.FreeBSD.org Fri Apr 12 00:40:55 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g3BFet346296;
	Fri, 12 Apr 2002 00:40:55 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from ns.kobe1995.net (kaz@211.12.126.15.user.dt.il24.net [211.12.126.15])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g3BFerv46288
	for <freebsd-users-jp@jp.FreeBSD.org>; Fri, 12 Apr 2002 00:40:53 +0900 (JST)
	(envelope-from kaz@kobe1995.net)
Received: (from kaz@localhost)
	by ns.kobe1995.net (8.8.8/3.7W-primary) id AAA10955;
	Fri, 12 Apr 2002 00:40:36 +0900 (JST)
Date: Fri, 12 Apr 2002 00:40:36 +0900 (JST)
Message-Id: <200204111540.AAA10955@ns.kobe1995.net>
To: freebsd-users-jp@jp.FreeBSD.org, ikob@koganei.wide.ad.jp
In-Reply-To: Your message of "Wed, 10 Apr 2002 22:22:10 +0900".
	<ybsbscry9h9.wl@ett.sat.t.u-tokyo.ac.jp>
From: kaz@kobe1995.net (NAKAMURA Kazushi)
X-Mailer: mnews [version 1.20] 1996-12/08(Sun)
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020409
X-Sequence: FreeBSD-users-jp 68006
Subject: [FreeBSD-users-jp 68006] Re: Firewire (Call for Testers)
Errors-To: owner-FreeBSD-users-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: kaz@kobe1995.net

$BCfB<OB;V!w?@8M$G$9!#8f6lO+MM$G$9!#(B

In article <ybsbscry9h9.wl@ett.sat.t.u-tokyo.ac.jp>
simokawa@sat.t.u-tokyo.ac.jp writes:
>$B>.NS$5$s(B<ikob@koganei.wide.ad.jp>$B$,(B, $B=q$+$l$?(B driver $B$r(B base
>$B$K$7$F(B, $B$=$l$J$j$KF0$/(B Firewire(IEEE1394)/SBP-II $B$N(B driver $B$K$7$^$7$?(B.
>$B6=L#$,$"$kJ}$O(B, $B;H$C$F$_$F$/$@$5$$(B. feedback $B$r$$$?$@$1$k$H(B
>$B$"$j$,$?$$$G$9(B.
  $BA0$+$i8@$*$&$H;W$C$F$$$?$N$G$9$,!"1Q:nJ8$,LLE]$GL[$C$F$$$^$7$?$,!"(B
$B%I%-%e%a%s%HDL$j$K(Bmake$B=PMh$^$;$s!#0J2<$N%(%i!<$G$3$1$^$9!#(BHost To $B%[%2%[%2(B
$B7O%^%/%m!?4X?t$NDj5A$7$F$$$k>l=j$,$*$+$7$$$G$9!#(B
  $B$=$l$H!"!V;H$C$F$_$F$/$@$5$$!W$H$"$j$^$9$,!";H$$J}$,J,$+$j$^$;$s!#(B
DVTS$B$O;H$($J$/$J$C$F$$$^$9$7!"(BIEEE1394$B%9%H%l!<%8$O;}$C$F$J$$$7!"$^$@(B
1$BKg$7$+;n$7$F$J$$$N$G(BNIC$B$H$7$F$b;H$($F$$$J$$$N$G!#M_$r8@$($P!"(BDVTS
$B$h$j(BFXTV$B$N$h$&$J%"%W%j$,M_$7$$!#(B

cc -Wall -g -march=i686 -O6 -finline-functions -funroll-loops -fexpensive-optimizations -foptimize-register-move -ffast-math -fdefer-pop -mfancy-math-387 -pipe  -I /sys  -o bus_mgm bus_mgm.c
In file included from bus_mgm.c:37:
/sys/sys/param.h:208: warning: `htonl' redefined
/usr/include/machine/endian.h:107: warning: this is the location of the previous definition
/sys/sys/param.h:209: warning: `htons' redefined
/usr/include/machine/endian.h:108: warning: this is the location of the previous definition
/sys/sys/param.h:210: warning: `ntohl' redefined
/usr/include/machine/endian.h:105: warning: this is the location of the previous definition
/sys/sys/param.h:211: warning: `ntohs' redefined
/usr/include/machine/endian.h:106: warning: this is the location of the previous definition
bus_mgm.c: In function `read_write_quad':
bus_mgm.c:107: warning: implicit declaration of function `__htons'
bus_mgm.c:108: warning: implicit declaration of function `__htonl'
bus_mgm.c:120: warning: implicit declaration of function `__ntohl'
/tmp/cciU5D0r.o: In function `set_pri_req':
/sys/dev/firewire/bus_mgm.c(.text+0x13b): undefined reference to `__htons'
/sys/dev/firewire/bus_mgm.c(.text+0x14c): undefined reference to `__htonl'
/sys/dev/firewire/bus_mgm.c(.text+0x198): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x259): undefined reference to `__htons'
/sys/dev/firewire/bus_mgm.c(.text+0x26a): undefined reference to `__htonl'
/tmp/cciU5D0r.o: In function `parse_crom':
/sys/dev/firewire/bus_mgm.c(.text+0x60c): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x62c): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x641): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x660): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x672): undefined reference to `__ntohl'
/tmp/cciU5D0r.o(.text+0x685):/sys/dev/firewire/bus_mgm.c: more undefined references to `__ntohl' follow
/tmp/cciU5D0r.o: In function `main':
/sys/dev/firewire/bus_mgm.c(.text+0xcc3): undefined reference to `__htonl'
/tmp/cciU5D0r.o: In function `read_write_quad':
/sys/dev/firewire/bus_mgm.c(.text+0x1341): undefined reference to `__htons'
/sys/dev/firewire/bus_mgm.c(.text+0x1351): undefined reference to `__htonl'
/sys/dev/firewire/bus_mgm.c(.text+0x13ae): undefined reference to `__ntohl'
/tmp/cciU5D0r.o: In function `send_phy_config':
/sys/dev/firewire/bus_mgm.c:136: undefined reference to `__htonl'
/sys/dev/firewire/bus_mgm.c:138: undefined reference to `__htonl'
/tmp/cciU5D0r.o: In function `parse_text':
/sys/dev/firewire/bus_mgm.c(.text+0x14e1): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x1501): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x1516): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x1534): undefined reference to `__ntohl'
/sys/dev/firewire/bus_mgm.c(.text+0x1546): undefined reference to `__ntohl'
/tmp/cciU5D0r.o(.text+0x1559):/sys/dev/firewire/bus_mgm.c: more undefined references to `__ntohl' follow
*** Error code 1

Stop in /mnt/ftp/pub/FreeBSD/CURRENT/src/sys/dev/firewire.


  make load$B$7$?;~$N(Bdmesg$B$O0J2<$NDL$j!#%+!<%I$O8<?M;X8~(BIEEE1394V2-PCI.

fwohci0: <VIA VT6306> port 0x1400-0x147f mem 0xf4002000-0xf40027ff irq 10 at device 10.0 on pci0
fwohci0: PCI bus latency was changing to 250.
cache size 16.
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 8.
fwohci0: Link 1394a available S400, 3 ports, maxrec 2048 bytes.
fwohci0: Enable 1394a Enhancements
fwohci0: EUI64 00:11:06:00:aa:00:44:a9
fwochi_set_intr: 1
firewire0: <IEEE1394(Firewire) bus> on fwohci0
firewire0: firewire bus attach
firewire0: BUS reset
firewire0: node_id = 0xc800ffc0, CYCLEMASTER mode
firewire0: 1 nodes, cable IRM = 0 (me)
sbp_identify
sbp_probe
sbp0: <SBP2/SCSI over firewire> on firewire0
sbp_attach
if_fwe0: <Ethernet over Firewire> on firewire0
if_fwe0: 02:11:06:00:44:a9
bus_explore done


>if_fwe.c $B$O(B IP over IEEE1394 $B$G$O$"$j$^$;$s$N$G$"$7$+$i$:(B.
  TI chip$B$N(B1000$B1_Bf$N%+!<%I$bGc$C$FMh$?$N$G!"=5Kv$K$3$l$H$N4V$GDL?.(B
$B=PMh$k$+;n$7$F$_$^$9!#(B1000$B1_Bf$N%+!<%I$G(B400Mbps$B=P$k$H4r$7$$$J!#(B
-- 
$BCfB<OB;V!w?@8M(B		<mailto:kaz@kobe1995.net>
NAKAMURA Kazushi@KOBE	<http://kobe1995.net/>
- Break the hate chain. No more kill!
