Subject: Re: firewire of FreeBSD
To: None <jnemeth@victoria.tc.ca>
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
List: tech-kern
Date: 06/13/2005 10:40:30
Hi,
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
Date: Mon, 13 Jun 2005 00:12:25 +0900 (JST)
> > } Fix major.
> > } move from sys/conf/major to sys/arch/ARCH/conf/majors.ARCH.
> > }
> > } ex. (sys/arch/i386/conf/majors.i386) ---
> > }
> > } device-major fw char 95 ieee1394if
> >
> > Since more platforms than just i386 have firewire, the major
> > number should be architecture independent. Even if the FreeBSD
> > firewire code only works on i386, it will have to be made portable to
> > be acceptable to NetBSD, so you should use an architecture independent
> > major number now to avoid problems down the road.
>
> Sorry.
> I thought that sys/conf/majors defined only pseudo-device. ;-<
>
> I will define 171 in sys/conf/majors.
Moved to sys/conf/majors.
And, moved from usr.sbin/fwctl/eui64.[ch] to lib/libc/net/eui64.c and
sys/sys/eui64.h. FreeBSD,s eui64.[ch] are there.
Is it problem?
http://www.kk.iij4u.or.jp/~kiyohara/ieee1394if/ieee1394if.20050613.diff
http://www.kk.iij4u.or.jp/~kiyohara/ieee1394if/ieee1394if.20050613.tar.gz
--
kiyohara