Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28131
b: refs/heads/master
c: 8aef63f
h: refs/heads/master
i:
  28129: b218d2f
  28127: ed9c221
v: v3
  • Loading branch information
Ben Collins committed Jun 12, 2006
1 parent d53051f commit 678a367
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: 20f4578156995e95613497baf16d5b2d54921e5d
refs/heads/master: 8aef63ff033fb0e7ba02d8e760d268eb0aafc58c
4 changes: 3 additions & 1 deletion trunk/drivers/ieee1394/highlevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,10 @@ u64 hpsb_allocate_and_register_addrspace(struct hpsb_highlevel *hl,
return retval;
}

/* default range,
* avoids controller's posted write area (see OHCI 1.1 clause 1.5) */
if (start == ~0ULL && end == ~0ULL) {
start = CSR1212_ALL_SPACE_BASE + 0xffff00000000ULL; /* ohci1394.c limit */
start = host->middle_addr_space;
end = CSR1212_ALL_SPACE_END;
}

Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/ieee1394/hosts.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ struct hpsb_host {
unsigned int config_roms;

struct list_head addr_space;
u64 low_addr_space; /* upper bound of physical DMA area */
u64 middle_addr_space; /* upper bound of posted write area */
};


Expand Down

0 comments on commit 678a367

Please sign in to comment.