Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2010 20:06:00 -0800
From:      Weongyo Jeong <weongyo.jeong@gmail.com>
To:        Rohit Grover <rgrover1@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver
Message-ID:  <20100107040600.GN1491@weongyo>
In-Reply-To: <426bed111001061938j70d2846bk19375f6369c2c102@mail.gmail.com>
References:  <20091223035331.GA1293@weongyo> <426bed111001021900i4ed55836u456a12f6c578df72@mail.gmail.com> <20100107025727.GJ1491@weongyo> <426bed111001061938j70d2846bk19375f6369c2c102@mail.gmail.com>

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

--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: <Unknown> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100107040600.GN1491>