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

build() {
    for filter in 'ata/pata_*' 'ata/ata_generic' 'ata/ata_piix'; do
        MODULES+=" $(checked_modules "$filter")"
    done

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

help() {
    cat<<HELPEOF
This hook loads the necessary modules for a pata (ide) root device, using the
new libata subsystem. 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: