Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354519
b: refs/heads/master
c: aa341b6
h: refs/heads/master
i:
  354517: 99e73b9
  354515: e979f84
  354511: 865d9f6
v: v3
  • Loading branch information
Peter Huewe authored and Greg Kroah-Hartman committed Feb 15, 2013
1 parent 39f852f commit bdf9b60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c370d9512c4ea0929e87cb18a2308d9422a350a
refs/heads/master: aa341b6afab172b626f37b4ce6eff6d7485e400f
17 changes: 5 additions & 12 deletions trunk/drivers/staging/rtl8187se/r8185b_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ static u8 OFDM_CONFIG[] = {
*---------------------------------------------------------------
*/

static u8 PlatformIORead1Byte(struct net_device *dev, u32 offset)
{
return read_nic_byte(dev, offset);
}

void PlatformIOWrite1Byte(struct net_device *dev, u32 offset, u8 data)
{
write_nic_byte(dev, offset, data);
Expand All @@ -127,8 +132,6 @@ void PlatformIOWrite2Byte(struct net_device *dev, u32 offset, u16 data)
read_nic_word(dev, offset); /* To make sure write operation is completed, 2005.11.09, by rcnjko. */
}

u8 PlatformIORead1Byte(struct net_device *dev, u32 offset);

void PlatformIOWrite4Byte(struct net_device *dev, u32 offset, u32 data)
{
if (offset == PhyAddr) {
Expand Down Expand Up @@ -172,16 +175,6 @@ void PlatformIOWrite4Byte(struct net_device *dev, u32 offset, u32 data)
}
}

u8 PlatformIORead1Byte(struct net_device *dev, u32 offset)
{
u8 data = 0;

data = read_nic_byte(dev, offset);


return data;
}

u16 PlatformIORead2Byte(struct net_device *dev, u32 offset)
{
u16 data = 0;
Expand Down

0 comments on commit bdf9b60

Please sign in to comment.