diff options
author | Fabio M. Di Nitto <fabbione@ubuntu.com> | 2008-04-08 16:54:56 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2008-04-08 16:54:56 +0200 |
commit | 5eb8ef34b87581964e35bed17877085a334a8f5b (patch) | |
tree | 587d810760f3b65b8361806cce4f4f82aa69ec53 /hook-functions | |
parent | bd052d092afbfd145fe5c22fcfdc407f2b9c2b84 (diff) | |
download | initramfs-tools-5eb8ef34b87581964e35bed17877085a334a8f5b.tar.gz initramfs-tools-5eb8ef34b87581964e35bed17877085a334a8f5b.zip |
hook-function: Add support for sunvnet and sunvdc in hook-functions.
[ Ubuntu merge of better sparc support -maks ]
Diffstat (limited to 'hook-functions')
-rw-r--r-- | hook-functions | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions index 1f98cba..d271c58 100644 --- a/hook-functions +++ b/hook-functions @@ -297,6 +297,12 @@ dep_add_modules() manual_add_modules "${x}" done fi + + if [ -e /sys/bus/vio/ ]; then + for x in sunvnet sunvdc; do + manual_add_modules "${x}" + done + fi } @@ -317,7 +323,7 @@ auto_add_modules() hp100 igb ipg mace mv643xx_eth myri10ge \ natsemi ne2k-pci netconsole niu ns83820 pcnet32 qla3xxx \ r8169 s2io sis900 skge sky2 slhc smc911x starfire \ - sundance sungem sungem_phy sunhme tg3 tlan de2104x \ + sundance sungem sungem_phy sunhme sunvnet tg3 tlan de2104x \ de4x5 dmfe tulip winbond-840 xircom_cb xircom_tulip_cb \ typhon via-rhine via-velocity yellowfin; do manual_add_modules "${x}" |