Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48199
b: refs/heads/master
c: b8583f6
h: refs/heads/master
i:
  48197: a563fa8
  48195: 6ee695b
  48191: b1ea864
v: v3
  • Loading branch information
Kumar Gala committed Feb 9, 2007
1 parent 626958f commit 04e880d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 49baa91d6863df480fa05eb57524a274f77fa886
refs/heads/master: b8583f6872496cdb0145a2f642fbefff002d68cb
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/sysdev/qe_lib/ucc_slow.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ int ucc_slow_init(struct ucc_slow_info * us_info, struct ucc_slow_private ** ucc
uccs->us_info = us_info;
uccs->saved_uccm = 0;
uccs->p_rx_frame = 0;
uccs->us_regs = us_info->us_regs;
uccs->us_regs = us_info->regs;
us_regs = uccs->us_regs;
uccs->p_ucce = (u16 *) & (us_regs->ucce);
uccs->p_uccm = (u16 *) & (us_regs->uccm);
Expand All @@ -206,15 +206,15 @@ int ucc_slow_init(struct ucc_slow_info * us_info, struct ucc_slow_private ** ucc
uccs->us_pram = qe_muram_addr(uccs->us_pram_offset);

/* Init Guemr register */
if ((ret = ucc_init_guemr((struct ucc_common *) (us_info->us_regs)))) {
if ((ret = ucc_init_guemr((struct ucc_common *) (us_info->regs)))) {
uccs_err("ucc_slow_init: Could not init the guemr register.");
ucc_slow_free(uccs);
return ret;
}

/* Set UCC to slow type */
if ((ret = ucc_set_type(us_info->ucc_num,
(struct ucc_common *) (us_info->us_regs),
(struct ucc_common *) (us_info->regs),
UCC_SPEED_TYPE_SLOW))) {
uccs_err("ucc_slow_init: Could not init the guemr register.");
ucc_slow_free(uccs);
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-powerpc/ucc_slow.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ struct ucc_slow_info {
int ucc_num;
enum qe_clock rx_clock;
enum qe_clock tx_clock;
struct ucc_slow *us_regs;
struct ucc_slow *regs;
int irq;
u16 uccm_mask;
int data_mem_part;
Expand Down

0 comments on commit 04e880d

Please sign in to comment.