Ticket #5160: sonnet-sata-workaround.diff

File sonnet-sata-workaround.diff, 610 bytes (added by andreasf, 12 years ago)

workaround: skip this device

  • src/system/boot/platform/openfirmware/devices.cpp

    diff --git a/src/system/boot/platform/openfirmware/devices.cpp b/src/system/boot/platform/openfirmware/devices.cpp
    index 601ac50..d91d757 100644
    a b platform_add_block_devices(stage2_args *args, NodeList *devicesList)  
    154154            // don't add the boot device twice
    155155            continue;
    156156        }
     157        if (!strcmp(path, "/pci@80000000/pci-bridge@d/Seri-Tek1S2@3/sd"))
     158            continue;
    157159
    158160        // Adjust the arguments passed to the open command so that
    159161        // the disk-label package is by-passed - unfortunately,