Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 12:11:23 -0800
From:      Weongyo Jeong <weongyo.jeong@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Andrea Di Pasquale <spikey.it@gmail.com>, current@freebsd.org, Alex Keda <admin@lissyara.su>, Attilio Rao <attilio@freebsd.org>, Aditya Sarawgi <sarawgi.aditya@gmail.com>, freebsd-current@freebsd.org, Gonzalo Nemmi <gnemmi@gmail.com>
Subject:   Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver
Message-ID:  <20091224201123.GB1491@weongyo>
In-Reply-To: <200912240925.05419.jhb@freebsd.org>
References:  <20091223035331.GA1293@weongyo> <4B3250E7.1000509@lissyara.su> <20091223201438.GD1293@weongyo> <200912240925.05419.jhb@freebsd.org>

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

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: <Broadcom BCM4312 802.11a/b/g Wireless> 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: <Unknown> 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: <Broadcom 4322AG 802.11a/b/g/draft-n Wi-Fi Adapter> 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



home | help

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