From owner-freebsd-current@FreeBSD.ORG Tue Dec 1 02:46:12 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 7B27E106566B for ; Tue, 1 Dec 2009 02:46:12 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-vw0-f188.google.com (mail-vw0-f188.google.com [209.85.212.188]) by mx1.freebsd.org (Postfix) with ESMTP id 24EF98FC0C for ; Tue, 1 Dec 2009 02:46:11 +0000 (UTC) Received: by vws26 with SMTP id 26so1352858vws.7 for ; Mon, 30 Nov 2009 18:46:11 -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=KrgMs7mJFQD67Mdmo8tmX+DqE89hh44D9pYm4rVrM2s=; b=YFqdb9VoUBLd3bsyD+Fi6Q+fCnqUNcHz8wczqhRcokRAw9Wl8edyBLwZVm36519H+x r52taUW6wG30Hhyifn03+ziodOJFuwRrna/zi7GwxYjYH5tl4lziEX4CM7DB+qPr+80U KDBXObjmshfgMv/WoJy+AkafAoiEN5TXWIFMI= 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=eXWR2cOSD23iF5uFmljftYhSqzTHw2Mpj0cJ085QCAaoQiaYXGuky7rYSsmtjRBtni oxg3e/GHW4zIyI9pvL6/7SCdLcvmsmkQ3hYbtulwdhLqsFC+Ova1zTrWsDjPsZoNkx+M pSecIdMw4v9sXkIyDInNiDi0Z1ct3BqHTHlfA= Received: by 10.220.3.211 with SMTP id 19mr6322091vco.7.1259635571264; Mon, 30 Nov 2009 18:46:11 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 22sm8336173vws.14.2009.11.30.18.46.08 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Nov 2009 18:46:10 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Mon, 30 Nov 2009 18:46:20 -0800 From: Weongyo Jeong Date: Mon, 30 Nov 2009 18:46:19 -0800 To: Gonzalo Nemmi Message-ID: <20091201024619.GE5432@weongyo> Mail-Followup-To: Gonzalo Nemmi , current@freebsd.org References: <20091130034110.GD5432@weongyo> <19e9a5dc0911292122kfce8abbp744ba940cc1c6818@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <19e9a5dc0911292122kfce8abbp744ba940cc1c6818@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: current@freebsd.org Subject: Re: Call For Review: Sonics Silicon Backplane(SSB) 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: Tue, 01 Dec 2009 02:46:12 -0000 On Mon, Nov 30, 2009 at 06:22:42AM +0100, Gonzalo Nemmi wrote: > On Mon, Nov 30, 2009 at 4:41 AM, Weongyo Jeong wrote: > > Hello, > > > > I've written a Sonics Silicon Backplane driver which is widely used for > > Broadcom Wireless driver that bwi(4) can use this driver though it has > > its own routines in it. > > > > I don't have any knowledge to write a bus driver like this so I'm not > > sure my approach is correct. ?Please review! > > > > You can download a driver at: > > > > ? ? ? ?http://people.freebsd.org/~weongyo/ssb_20091129.tar.gz > > > > regards, > > Weongyo Jeong > > Hi there Weongyo! > IŽd like to know .. will it compile under 8.0-RELEASE or -STABLE? Yes it should be. > Should I try your module instead of bwi(4)? No. ssb driver is a kind of bus driver that it's not a wireless driver so can not use. But I'm working on new driver (aka bwn(4)) for replacing bwi(4) that it uses v4 firmware (latest firmware) and supports more H/Ws. It's almost done that it works to associate with AP and pings for RX/TX but not public yet. When it's available let you know for testing. :-) > > And just in case you find it usefull, in ssb_pci.c, { > PCI_VENDOR_BROADCOM, 0x4315, "Unknown" }, is actually a 'Broadcom > Wireless b/g (BCM4315/BCM22062000)'. I have one .. here youŽll find my > pciconf -lcvb usinf bwi(4) with paradoŽs firmware: > http://pastebin.com/f1f40900c > > #bwi0@pci0:12:0:0: class=0x028000 card=0x000b1028 > chip=0x431514e4 rev=0x01 hdr=0x00 > # vendor = 'Broadcom Corporation' > # device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)' > # class = network > # 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) > > bwi0: PHY: type 5, rev 1, ver 6 > bwi0: RF: manu 0x17f, type 0x2062, rev 2 > > Hope that help :) Thanks you for informations. regards, Weongyo Jeong