diff options
author | Ben Collins <bcollins@ubuntu.com> | 2006-06-12 18:13:21 -0400 |
---|---|---|
committer | Ben Collins <bcollins@ubuntu.com> | 2006-06-12 18:13:21 -0400 |
commit | 8aef63ff033fb0e7ba02d8e760d268eb0aafc58c (patch) | |
tree | 0e458c802e8e409c29fb53752b93b757b1a141c7 /drivers/ieee1394/hosts.h | |
parent | 20f4578156995e95613497baf16d5b2d54921e5d (diff) | |
download | lwn-8aef63ff033fb0e7ba02d8e760d268eb0aafc58c.tar.gz lwn-8aef63ff033fb0e7ba02d8e760d268eb0aafc58c.zip |
ieee1394: extend lowlevel API for address range properties
Host adapter hardware imposes certain restrictions and features on
address ranges. Instead of hard-wire such ranges into the ieee1394
core or even into protocol drivers, let lowlevel drivers specify
these ranges via struct hpsb_host.
Patch "ohci1394: set address range properties" must be applied too,
else hpsb_allocate_and_register_addrspace() won't work properly.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Diffstat (limited to 'drivers/ieee1394/hosts.h')
-rw-r--r-- | drivers/ieee1394/hosts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ieee1394/hosts.h b/drivers/ieee1394/hosts.h index 9ddc6628e710..9ad4b2463077 100644 --- a/drivers/ieee1394/hosts.h +++ b/drivers/ieee1394/hosts.h @@ -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 */ }; |