Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2005 16:13:36 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        Florent Thoumie <flz@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/net Makefile ports/net/iwi-firmware Makefile	 distinfo pkg-plist ports/net/iwi-firmware/files iwi.sh.in pkg-message.in
Message-ID:  <ygey891r1en.wl%ume@mahoroba.org>
In-Reply-To: <1119502739.652.24.camel@cream.xbsd.org>
References:  <200506221943.j5MJhQRW065243@repoman.freebsd.org> <ygeacli1726.wl%ume@mahoroba.org> <1119502739.652.24.camel@cream.xbsd.org>

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

>>>>> On Thu, 23 Jun 2005 06:58:59 +0200
>>>>> Florent Thoumie <flz@FreeBSD.org> said:

> However, your port just use 1.3.4.  Is it safe to use your port on
> 6-CURRRENT?

flz> 	It's marked as IGNORE for OSVERSION > 600023 if you define
flz> 	WITH_MODULE because iwi(4) is already in source tree.

Thank you.  I confirmed that difference is only in driver, and
iwicontrol(8) is same between 1.3.4 and 1.4.2.

flz> 	Btw, it seems the driver won't associate according to what
flz> 	marcus and some other people reported, even with latest HEAD
flz> 	version :-(

I've not try your port yet, iwi(4) seems working to me on 6-CURRENT
with iwi-freebsd-1.4.2.tgz and iwi-firmware-1.3.tbz obtained from
http://damien.bergamini.free.fr/ipw/download.html.  I found the URL in
iwi(4) manpage.

What is ipw2200-fw-2.3.tgz?  It seems that while iwicontrol(8)
requires iwi-boot.fw, iwi-ucode-i?bss.fw and iwi-i?bss.fw,
ipw2200-fw-2.3.tgz doesn't have them.  There are in
iwi-firmware-1.3.tbz.  Do I take it something wrong?

static void
load_firmware(char *iface, char *path, char *mode)
{
	char filename[FILENAME_MAX];
	struct firmware fw;

	(void)snprintf(filename, sizeof filename, "%s/iwi-boot.fw", path);
	mmap_file(filename, &fw.boot, &fw.boot_size);

	(void)snprintf(filename, sizeof filename, "%s/iwi-ucode-%s.fw", path,
	    mode);
	mmap_file(filename, &fw.ucode, &fw.ucode_size);

	(void)snprintf(filename, sizeof filename, "%s/iwi-%s.fw", path, mode);
	mmap_file(filename, &fw.main, &fw.main_size);

	if (do_req(iface, SIOCSLOADFW, &fw) == -1)
		err(EX_OSERR, "Can't load firmware to driver");
}

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



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