cvs commit: ports/net Makefile ports/net/iwi-firmware Makefile distinfo pkg-plist ports/net/iwi-firmware/files iwi.sh.in pkg-message.in

Hajimu UMEMOTO ume at FreeBSD.org
Thu Jun 23 07:13:48 GMT 2005


Hi,

>>>>> On Thu, 23 Jun 2005 06:58:59 +0200
>>>>> Florent Thoumie <flz at 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 at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the cvs-ports mailing list