summaryrefslogtreecommitdiffstats
path: root/install/sata
blob: 1b39d5fd457a844e5c6d1d6e147710d247fa8442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

build() {
    for filter in 'scsi/.*ata' 'block/sx8' 'ata/sata_*' \
                  'ata/ahci' 'ata/pdc_adma' 'ata/ata_piix'; do
        MODULES+=" $(checked_modules "$filter")"
    done

    [[ $MODULES ]] && MODULES+=" sd_mod"
}

help() {
    cat<<HELPEOF
This hook loads the necessary modules for an sata root device. Detection will
take place at runtime. To minimize the modules in the image, add the autodetect
hook too.
HELPEOF
}

# vim: set ft=sh ts=4 sw=4 et: