From owner-freebsd-current@FreeBSD.ORG Thu Jan 7 04:05:57 2010 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 3A5941065676 for ; Thu, 7 Jan 2010 04:05:57 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id DA2398FC12 for ; Thu, 7 Jan 2010 04:05:56 +0000 (UTC) Received: by qyk4 with SMTP id 4so7549233qyk.7 for ; Wed, 06 Jan 2010 20:05:45 -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:in-reply-to :user-agent:organization:x-operation-sytem; bh=96fGhjcO6qdENYsOCtEMqh6Nh7PKDY0ImjM38OApJjE=; b=MMBAUXPotrsJWtRyYBOz/J2byuOwji0+cH3nJjcBsPnYFmKzdc3Y2AWLagcroMOTdf T01Q2xaV+Vo0frLkxR307+XVsGXIuZKbSZixI8ojAxYd1K+qXqpHjJf0a1vxFyJPat2k 7ZdSFpn3Mz8JOvUDM/G+JZXadqISdbt7EUzY4= 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 :in-reply-to:user-agent:organization:x-operation-sytem; b=SSt/fPjHLfoqAzVdSbsrcsvGnaZOI4sCpNVgEJNf2S3gYi/+bhEMZMQf9gxSkyEw9R e5YoMMCY4PLLCseZiHH2kBO4w8wF8JM+pFpJkWKOZjbQuLYDJej1EzXuH+kT5Eh/Rj0I fAEctkuvaCTmKE3Jdxlr2Dtp4XtsoxYrhQ9/M= Received: by 10.229.131.102 with SMTP id w38mr5737690qcs.35.1262837144884; Wed, 06 Jan 2010 20:05:44 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 21sm207754qyk.8.2010.01.06.20.05.42 (version=SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 20:05:43 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Wed, 6 Jan 2010 20:06:00 -0800 From: Weongyo Jeong Date: Wed, 6 Jan 2010 20:06:00 -0800 To: Rohit Grover Message-ID: <20100107040600.GN1491@weongyo> Mail-Followup-To: Rohit Grover , current@freebsd.org References: <20091223035331.GA1293@weongyo> <426bed111001021900i4ed55836u456a12f6c578df72@mail.gmail.com> <20100107025727.GJ1491@weongyo> <426bed111001061938j70d2846bk19375f6369c2c102@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="7CZp05NP8/gJM8Cl" Content-Disposition: inline In-Reply-To: <426bed111001061938j70d2846bk19375f6369c2c102@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: current@freebsd.org 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, 07 Jan 2010 04:05:57 -0000 --7CZp05NP8/gJM8Cl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 07, 2010 at 04:38:12PM +1300, Rohit Grover wrote: > Hi, > > > > Could you please show me your full dmesg? It's weird for me that if_bwn > > doesn't print any messages that your device revision could not be > > supported by bwn(4). > > > > I get only the following on my console after loading ssb: > > ssb0: mem 0xd0500000-0xd0503fff,0xd0000000-0xd00fffff irq 16 at > device 0.0 on pci2 > ssb0: warn: multiple PCI(E) cores > ssb0: unsupportted coreid 0x817 > > There are no messages from the attach. Please try attached patch in bwn_probe() and show me dmesg output. If bwn(4) doesn't print anything that means ssb(4) works incorrectly. But there are some outputs and bwn(4) doesn't be attached then your device revision isn't supported. regards, Weongyo Jeong --7CZp05NP8/gJM8Cl Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="patch_bwn_20100106.diff" ==== //depot/user/weongyo/wireless/src/sys/dev/bwn/if_bwn.c#21 - /mnt/t62/sys/dev/bwn/if_bwn.c ==== @@ -567,6 +567,9 @@ struct ssb_dev_softc *sd = device_get_ivars(dev); int i; + device_printf(dev, "vendor %#x cid %#x rev %d\n", sd->sd_id.vendor, + sd->sd_id.cid, sd->sd_id.rev); + for (i = 0; i < sizeof(bwn_devs) / sizeof(bwn_devs[0]); i++) { if (sd->sd_id.vendor == bwn_devs[i].vendor && sd->sd_id.cid == bwn_devs[i].cid && --7CZp05NP8/gJM8Cl--