• Ben Collins's avatar
    ohci1394: set address range properties · 4611ed38
    Ben Collins authored
    This patch supplies the API extension introduced by patch
    "ieee1394: extend lowlevel API for address range properties"
    with proper addresses.
    
    Like in patch ''ohci1394, sbp2: fix "scsi_add_device failed"
    with PL-3507 based devices'', 1 TeraByte is chosen as physical
    upper bound.  This leaves a window for the middle address range.
    This choice is only relevant for adapters which actually have a
    programmable pysical upper bound register.  (Only ALi and
    Fujitsu adapters are known for this.  Most adapters have a fixed
    bound at 4 GB.)  The middle address range is suitable for posted
    writes.
    
    AFAIK, PCILynx does not support physical DMA nor posted writes,
    therefore no equivalent change in the pcilynx driver is necessary.
    There is also a driver for GP2Lynx, although not in mainline Linux.
    I assume this hardware does not support these OHCI features either.
    Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: default avatarBen Collins <bcollins@ubuntu.com>
    4611ed38
ohci1394.h 16.5 KB