Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249018
b: refs/heads/master
c: 427beeb
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent c58169e commit 7835898
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 47 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: 628a7dd85cff27db40a1759d883a76a6fef20346
refs/heads/master: 427beeb21ad0b4297657d578003b2eb3803f95c9
4 changes: 0 additions & 4 deletions trunk/drivers/staging/ath6kl/include/common_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ int ar6000_set_htc_params(struct hif_device *hifDevice,
u32 MboxIsrYieldValue,
u8 HtcControlBuffers);

int ar6000_prepare_target(struct hif_device *hifDevice,
u32 TargetType,
u32 TargetVersion);

int ar6000_set_hci_bridge_flags(struct hif_device *hifDevice,
u32 TargetType,
u32 Flags);
Expand Down
34 changes: 0 additions & 34 deletions trunk/drivers/staging/ath6kl/miscdrv/common_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,40 +683,6 @@ int ar6000_set_htc_params(struct hif_device *hifDevice,
return status;
}


static int prepare_ar6002(struct hif_device *hifDevice, u32 TargetVersion)
{
int status = 0;

/* placeholder */

return status;
}

static int prepare_ar6003(struct hif_device *hifDevice, u32 TargetVersion)
{
int status = 0;

/* placeholder */

return status;
}

/* this function assumes the caller has already initialized the BMI APIs */
int ar6000_prepare_target(struct hif_device *hifDevice,
u32 TargetType,
u32 TargetVersion)
{
if (TargetType == TARGET_TYPE_AR6002) {
/* do any preparations for AR6002 devices */
return prepare_ar6002(hifDevice,TargetVersion);
} else if (TargetType == TARGET_TYPE_AR6003) {
return prepare_ar6003(hifDevice,TargetVersion);
}

return 0;
}

#if defined(CONFIG_AR6002_REV1_FORCE_HOST)
/*
* Call this function just before the call to BMIInit
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/staging/ath6kl/os/linux/ar6000_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1698,14 +1698,6 @@ ar6000_avail_ev(void *context, void *hif_handle)

ar->arVersion.target_ver = targ_info.target_ver;
ar->arTargetType = targ_info.target_type;

/* do any target-specific preparation that can be done through BMI */
r = ar6000_prepare_target(ar->arHifDevice,
targ_info.target_type,
targ_info.target_ver);
if (r)
goto avail_ev_failed;

}

r = ar6000_configure_target(ar);
Expand Down

0 comments on commit 7835898

Please sign in to comment.