From owner-freebsd-current@FreeBSD.ORG Thu Dec 24 20:11:27 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 580BC106566B; Thu, 24 Dec 2009 20:11:27 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id B23EA8FC15; Thu, 24 Dec 2009 20:11:26 +0000 (UTC) Received: by qyk6 with SMTP id 6so3598583qyk.3 for ; Thu, 24 Dec 2009 12:11:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent:organization :x-operation-sytem; bh=mF67WJbmcPuTfHBtjb1+mzbyip7XsEDx7LpN4TLoUGQ=; b=BU1QV/+bxiu54EX1+5haK//rNvP95JROos14KGNmMdFcZgyD6pUPDp0b/ZdAtyoajy GjINMuGKMNxY3LIrbnpLv2tbELLJe2gbdSbadBRPOF5lfGs+EBnYZ/lpK2xi/OPPAG8C DV+yvGWfM/zY3W7gBjEEXVt55kXXJxwudIYjc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent:organization :x-operation-sytem; b=kP7zCtZi1XTJ6pceYgCkvsmbc4KqJr10pRwzr+5IBZJFQvTyCVHQn2Oo8ZDediDbO3 e4QaC2+13TOqvjlUqDYiKF0qrGrg83ejPUEbV8pDX3K6fQA2JnB7CGt0UYHodF/jsST2 /8nEN+HULTmSQF2RvWBukdc2RzbGOiyLds+2Q= Received: by 10.224.85.80 with SMTP id n16mr6035331qal.200.1261685485922; Thu, 24 Dec 2009 12:11:25 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 22sm7545116qyk.14.2009.12.24.12.11.23 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Dec 2009 12:11:25 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Thu, 24 Dec 2009 12:11:23 -0800 From: Weongyo Jeong Date: Thu, 24 Dec 2009 12:11:23 -0800 To: John Baldwin Message-ID: <20091224201123.GB1491@weongyo> Mail-Followup-To: John Baldwin , freebsd-current@freebsd.org, Alex Keda , Attilio Rao , Aditya Sarawgi , Gonzalo Nemmi , current@freebsd.org, Andrea Di Pasquale References: <20091223035331.GA1293@weongyo> <4B3250E7.1000509@lissyara.su> <20091223201438.GD1293@weongyo> <200912240925.05419.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200912240925.05419.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: Andrea Di Pasquale , current@freebsd.org, Alex Keda , Attilio Rao , Aditya Sarawgi , freebsd-current@freebsd.org, Gonzalo Nemmi Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 20:11:27 -0000 On Thu, Dec 24, 2009 at 09:25:05AM -0500, John Baldwin wrote: > On Wednesday 23 December 2009 3:14:38 pm Weongyo Jeong wrote: > > On Wed, Dec 23, 2009 at 08:18:31PM +0300, Alex Keda wrote: > > > Weongyo Jeong пишет: > > > >Hello, > > > > > > > >Now bwn(4) is available at the public and waiting test and review. The > > > >status of this driver is *alpha* so could make panics, warnings and > > > >errors. Please let me know if you encounter problems. > > > > > > > >The following NICs all I have are only tested on the little endian 64bit > > > >machine and big endian 32bit machine. > > > > > > > > - Broadcom BCM4306 802.11b/g Wireless > > > > - Broadcom BCM4318 802.11b/g Wireless > > > none1@pci0:48:0:0: class=0x028000 card=0x1371103c chip=0x431214e4 > > > rev=0x02 hdr=0x00 > > > vendor = 'Broadcom Corporation' > > > device = 'BCM4310 UART (Wireless Ethernet Adapter)' > > > class = network > > > bar [10] = type Memory, range 64, base 0xc8000000, size 16384, > > > enabled > > > cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 > > > cap 09[58] = vendor (length 120) > > > cap 05[e8] = MSI supports 1 message, 64 bit > > > cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) > > > > > > FreeBSD HP.lissyara.su 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r200750: Sun > > > Dec 20 14:47:53 MSK 2009 > > > root@HP.lissyara.su:/usr/obj/usr/src/sys/GENERIC amd64 > > > > > > after load ssb > > > ssb0: mem 0xc8000000-0xc8003fff > > > irq 18 at device 0.0 on pci48 > > > ssb0: unsupportted coreid 0x817 > > > > Interesting. It looks device has a USB 1.1 host controller(?) in > > wireless NIC. I think you can ignore this message that looks no > > harm. > > I have a Broadcom card that bwn(4) doesn't recognize. It also required this > patch. Note that my laptop has a USB bluetooth device that is enabled by the > wireless radio button, so perhaps that is why I have a USB device? Anyway, Maybe yes. AFAIK SSB could have multiple cores including Wireless MAC, USB Host controller and etc. > here are the messages I currently get from ssb/bwn. I've also included the > attach messages from my ndis(4) driver which claims this is a 4322 device. It > has a PCI device id of 0x432b. > > ssb0: mem 0xe8000000-0xe8003fff irq 16 at device 0.0 on pci8 > ssb0: warn: multiple PCI(E) cores > ssb0: unsupportted coreid 0x81a > ssb0: unsupportted coreid 0x8ff > ssb0: unsupportted coreid 0x80e > ssb0: unknown chipid 0x4322 for PLL & PMU init > bwn0 on ssb0 > bwn0: unsupported PHY type (4) > device_attach: bwn0 attach returned 6 > bwn0 on ssb0 > bwn0: unsupported PHY type (4) > device_attach: bwn0 attach returned 6 > ssb0: detached > ndis0: mem > 0xe8000000-0xe8003fff irq 16 at device 0.0 on pci8 > ndis0: [ITHREAD] > ndis0: NDIS API version: 5.1 > wlan0: Ethernet address: 00:21:00:ab:f7:55 It looks your device has N-PHY not supported by ssb/bwn and AFAIK there's no any available open sources or datasheets. Currently I'm little bit pessimistic whether bwn(4) could support it or not. regards, Weongyo Jeong