• A
    macio ide: Do remainder access asynchronously · 3e300fa6
    Alexander Graf 提交于
    The macio IDE controller has some pretty nasty magic in its implementation to
    allow for unaligned sector accesses. We used to handle these accesses
    synchronously inside the IO callback handler.
    
    However, the block infrastructure changed below our feet and now it's impossible
    to call a synchronous block read/write from the aio callback handler of a
    previous block access.
    
    Work around that limitation by making the unaligned handling bits also go
    through our asynchronous handler.
    
    This fixes booting Mac OS X for me.
    Reported-by: NJohn Arbuckle <programmingkidx@gmail.com>
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    3e300fa6
mac_dbdma.c 18.5 KB