Commit 623b2b39 authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Greg Kroah-Hartman

staging: "vt6655" Typo change *Embeded to *Embedded.

Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 789d1aef
This diff is collapsed.
...@@ -73,12 +73,12 @@ ...@@ -73,12 +73,12 @@
#define BBvClearFOE(dwIoBase) \ #define BBvClearFOE(dwIoBase) \
{ \ { \
BBbWriteEmbeded(dwIoBase, 0xB1, 0); \ BBbWriteEmbedded(dwIoBase, 0xB1, 0); \
} }
#define BBvSetFOE(dwIoBase) \ #define BBvSetFOE(dwIoBase) \
{ \ { \
BBbWriteEmbeded(dwIoBase, 0xB1, 0x0C); \ BBbWriteEmbedded(dwIoBase, 0xB1, 0x0C); \
} }
...@@ -107,8 +107,8 @@ BBvCaculateParameter ( ...@@ -107,8 +107,8 @@ BBvCaculateParameter (
unsigned char *pbyPhySgn unsigned char *pbyPhySgn
); );
bool BBbReadEmbeded(unsigned long dwIoBase, unsigned char byBBAddr, unsigned char *pbyData); bool BBbReadEmbedded(unsigned long dwIoBase, unsigned char byBBAddr, unsigned char *pbyData);
bool BBbWriteEmbeded(unsigned long dwIoBase, unsigned char byBBAddr, unsigned char byData); bool BBbWriteEmbedded(unsigned long dwIoBase, unsigned char byBBAddr, unsigned char byData);
void BBvReadAllRegs(unsigned long dwIoBase, unsigned char *pbyBBRegs); void BBvReadAllRegs(unsigned long dwIoBase, unsigned char *pbyBBRegs);
void BBvLoopbackOn(PSDevice pDevice); void BBvLoopbackOn(PSDevice pDevice);
......
...@@ -461,22 +461,22 @@ bool CARDbSetPhyParameter (void *pDeviceHandler, CARD_PHY_TYPE ePHYType, unsigne ...@@ -461,22 +461,22 @@ bool CARDbSetPhyParameter (void *pDeviceHandler, CARD_PHY_TYPE ePHYType, unsigne
pDevice->abyBBVGA[0] = 0x20; pDevice->abyBBVGA[0] = 0x20;
pDevice->abyBBVGA[2] = 0x10; pDevice->abyBBVGA[2] = 0x10;
pDevice->abyBBVGA[3] = 0x10; pDevice->abyBBVGA[3] = 0x10;
BBbReadEmbeded(pDevice->PortOffset, 0xE7, &byData); BBbReadEmbedded(pDevice->PortOffset, 0xE7, &byData);
if (byData == 0x1C) { if (byData == 0x1C) {
BBbWriteEmbeded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]); BBbWriteEmbedded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]);
} }
} else if (pDevice->byRFType == RF_UW2452) { } else if (pDevice->byRFType == RF_UW2452) {
MACvSetBBType(pDevice->PortOffset, BB_TYPE_11A); MACvSetBBType(pDevice->PortOffset, BB_TYPE_11A);
pDevice->abyBBVGA[0] = 0x18; pDevice->abyBBVGA[0] = 0x18;
BBbReadEmbeded(pDevice->PortOffset, 0xE7, &byData); BBbReadEmbedded(pDevice->PortOffset, 0xE7, &byData);
if (byData == 0x14) { if (byData == 0x14) {
BBbWriteEmbeded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]); BBbWriteEmbedded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]);
BBbWriteEmbeded(pDevice->PortOffset, 0xE1, 0x57); BBbWriteEmbedded(pDevice->PortOffset, 0xE1, 0x57);
} }
} else { } else {
MACvSetBBType(pDevice->PortOffset, BB_TYPE_11A); MACvSetBBType(pDevice->PortOffset, BB_TYPE_11A);
} }
BBbWriteEmbeded(pDevice->PortOffset, 0x88, 0x03); BBbWriteEmbedded(pDevice->PortOffset, 0x88, 0x03);
bySlot = C_SLOT_SHORT; bySlot = C_SLOT_SHORT;
bySIFS = C_SIFS_A; bySIFS = C_SIFS_A;
byDIFS = C_SIFS_A + 2*C_SLOT_SHORT; byDIFS = C_SIFS_A + 2*C_SLOT_SHORT;
...@@ -490,19 +490,19 @@ bool CARDbSetPhyParameter (void *pDeviceHandler, CARD_PHY_TYPE ePHYType, unsigne ...@@ -490,19 +490,19 @@ bool CARDbSetPhyParameter (void *pDeviceHandler, CARD_PHY_TYPE ePHYType, unsigne
pDevice->abyBBVGA[0] = 0x1C; pDevice->abyBBVGA[0] = 0x1C;
pDevice->abyBBVGA[2] = 0x00; pDevice->abyBBVGA[2] = 0x00;
pDevice->abyBBVGA[3] = 0x00; pDevice->abyBBVGA[3] = 0x00;
BBbReadEmbeded(pDevice->PortOffset, 0xE7, &byData); BBbReadEmbedded(pDevice->PortOffset, 0xE7, &byData);
if (byData == 0x20) { if (byData == 0x20) {
BBbWriteEmbeded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]); BBbWriteEmbedded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]);
} }
} else if (pDevice->byRFType == RF_UW2452) { } else if (pDevice->byRFType == RF_UW2452) {
pDevice->abyBBVGA[0] = 0x14; pDevice->abyBBVGA[0] = 0x14;
BBbReadEmbeded(pDevice->PortOffset, 0xE7, &byData); BBbReadEmbedded(pDevice->PortOffset, 0xE7, &byData);
if (byData == 0x18) { if (byData == 0x18) {
BBbWriteEmbeded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]); BBbWriteEmbedded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]);
BBbWriteEmbeded(pDevice->PortOffset, 0xE1, 0xD3); BBbWriteEmbedded(pDevice->PortOffset, 0xE1, 0xD3);
} }
} }
BBbWriteEmbeded(pDevice->PortOffset, 0x88, 0x02); BBbWriteEmbedded(pDevice->PortOffset, 0x88, 0x02);
bySlot = C_SLOT_LONG; bySlot = C_SLOT_LONG;
bySIFS = C_SIFS_BG; bySIFS = C_SIFS_BG;
byDIFS = C_SIFS_BG + 2*C_SLOT_LONG; byDIFS = C_SIFS_BG + 2*C_SLOT_LONG;
...@@ -517,19 +517,19 @@ bool CARDbSetPhyParameter (void *pDeviceHandler, CARD_PHY_TYPE ePHYType, unsigne ...@@ -517,19 +517,19 @@ bool CARDbSetPhyParameter (void *pDeviceHandler, CARD_PHY_TYPE ePHYType, unsigne
pDevice->abyBBVGA[0] = 0x1C; pDevice->abyBBVGA[0] = 0x1C;
pDevice->abyBBVGA[2] = 0x00; pDevice->abyBBVGA[2] = 0x00;
pDevice->abyBBVGA[3] = 0x00; pDevice->abyBBVGA[3] = 0x00;
BBbReadEmbeded(pDevice->PortOffset, 0xE7, &byData); BBbReadEmbedded(pDevice->PortOffset, 0xE7, &byData);
if (byData == 0x20) { if (byData == 0x20) {
BBbWriteEmbeded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]); BBbWriteEmbedded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]);
} }
} else if (pDevice->byRFType == RF_UW2452) { } else if (pDevice->byRFType == RF_UW2452) {
pDevice->abyBBVGA[0] = 0x14; pDevice->abyBBVGA[0] = 0x14;
BBbReadEmbeded(pDevice->PortOffset, 0xE7, &byData); BBbReadEmbedded(pDevice->PortOffset, 0xE7, &byData);
if (byData == 0x18) { if (byData == 0x18) {
BBbWriteEmbeded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]); BBbWriteEmbedded(pDevice->PortOffset, 0xE7, pDevice->abyBBVGA[0]);
BBbWriteEmbeded(pDevice->PortOffset, 0xE1, 0xD3); BBbWriteEmbedded(pDevice->PortOffset, 0xE1, 0xD3);
} }
} }
BBbWriteEmbeded(pDevice->PortOffset, 0x88, 0x08); BBbWriteEmbedded(pDevice->PortOffset, 0x88, 0x08);
bySIFS = C_SIFS_BG; bySIFS = C_SIFS_BG;
if(VNTWIFIbIsShortSlotTime(wCapInfo)) { if(VNTWIFIbIsShortSlotTime(wCapInfo)) {
bySlot = C_SLOT_SHORT; bySlot = C_SLOT_SHORT;
......
...@@ -2660,7 +2660,7 @@ static irqreturn_t device_intr(int irq, void *dev_instance) { ...@@ -2660,7 +2660,7 @@ static irqreturn_t device_intr(int irq, void *dev_instance) {
(pDevice->byLocalID != REV_ID_VT3253_B0) && (pDevice->byLocalID != REV_ID_VT3253_B0) &&
(pDevice->bBSSIDFilter == true)) { (pDevice->bBSSIDFilter == true)) {
// update RSSI // update RSSI
//BBbReadEmbeded(pDevice->PortOffset, 0x3E, &byRSSI); //BBbReadEmbedded(pDevice->PortOffset, 0x3E, &byRSSI);
//pDevice->uCurrRSSI = byRSSI; //pDevice->uCurrRSSI = byRSSI;
} }
*/ */
......
This diff is collapsed.
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
bool IFRFbWriteEmbeded(unsigned long dwIoBase, unsigned long dwData); bool IFRFbWriteEmbedded(unsigned long dwIoBase, unsigned long dwData);
bool RFbSelectChannel(unsigned long dwIoBase, unsigned char byRFType, unsigned char byChannel); bool RFbSelectChannel(unsigned long dwIoBase, unsigned char byRFType, unsigned char byChannel);
bool RFbInit ( bool RFbInit (
PSDevice pDevice PSDevice pDevice
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment