W dniu 4 stycznia 2010 00:15 użytkownik Michael Buesch <m...@bu3sch.de> napisał:
> On Sunday 03 January 2010 22:34:38 Rafał Miłecki wrote:
>> > Also I need some help with:
>> > //TODO: Set bit 0x40 in the Chip Control register (0x28)
>> > could someone let me know how can I write to chip control register? Is
>> > following correct?
>> > tmp = b43_read16(dev, 0x28);
>> > b43_write16(dev, 0x28, tmp | 0x40);
>> >
>> > I see there are read/write for PHY, radio and "just b43" (like above). Did 
>> > I
>> > use correct one?
>>
>> Chip Common is generally used/programmed in driver_chipcommon.c &&
>> friends. Probably I'll need to hack that part to perform "Set bit 0x40
>> in the Chip Control register (0x28)".
>
> Well, what does the specification say about this "Chip Control register"?
> Is it on the PHY, MAC core or another SSB core like the ChipCommon?

Please, see table on:
http://bcm-v4.sipsolutions.net/ChipCommon

It contains:
Offset: 0x28
Size: 4
Name: Chip Control
Usage: Revision >= 11 Only

So I probably will need to use something like:
tmp = chipco_read32(cc, SSB_CHIPCO_CHIPCTL);
tmp |= 0x40;
chipco_write32(cc, SSB_CHIPCO_CHIPCTL, tmp);

-- 
Rafał
_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to