Search Linux Wireless

Re: [PATCH 2/2] b43: HT-PHY: enable radio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



W dniu 19 czerwca 2011 02:18 użytkownik Rafał Miłecki
<zajec5@xxxxxxxxx> napisał:
>  phy_read(0x0810) -> 0x0000
> phy_write(0x0810) <- 0x0000
>  phy_read(0x0810) -> 0x0000
> phy_write(0x0810) <- 0x0001
>  phy_read(0x0810) -> 0x0001
> phy_write(0x0810) <- 0x0000
>  phy_read(0x0810) -> 0x0000
> phy_write(0x0810) <- 0x0002

After hacking MMIO to fool driver's reads:
 phy_read(0x0810) -> 0xffff
phy_write(0x0810) <- 0x0000
 phy_read(0x0810) -> 0xffff
phy_write(0x0810) <- 0x0001
 phy_read(0x0810) -> 0xffff
phy_write(0x0810) <- 0x0000
 phy_read(0x0810) -> 0xffff
phy_write(0x0810) <- 0x0002

So it clearly seems, driver is masking all the bits.

-- 
Rafał
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux