diff options
author | Michael Larson <mike@ft1.vyatta.com> | 2009-09-09 16:26:01 -0700 |
---|---|---|
committer | Michael Larson <mike@ft1.vyatta.com> | 2009-09-09 16:26:01 -0700 |
commit | 5f1a33134d463fa565ee9dd43237252bd27d5fb3 (patch) | |
tree | 70f1ac5b1e76a0ae875c71ca15089ecdbc45c122 /etc | |
parent | 028e8e12c5e15efc0a316641f2b02e46d5c77210 (diff) | |
parent | 42abfac6f11077dbfc3b0eaf845597e38f7cd685 (diff) | |
download | vyatta-cfg-5f1a33134d463fa565ee9dd43237252bd27d5fb3.tar.gz vyatta-cfg-5f1a33134d463fa565ee9dd43237252bd27d5fb3.zip |
Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg into kenwood
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/init.d/vyatta-ofr | 16 | ||||
-rw-r--r-- | etc/modprobe.d/vyatta_nocopybreak | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr index 4fb4c1e..45333ac 100755 --- a/etc/init.d/vyatta-ofr +++ b/etc/init.d/vyatta-ofr @@ -125,7 +125,20 @@ cleanup_raid() rmmod $MD_MODULES > /tmp/vyatta_raid_cleanup_log 2>&1 } - +# +# Load the acpi_cpufreq kernel module, but only for certain processors. +# Some Intel CPUs need to have it loaded in order to initialize +# properly. +# +load_acpi_cpufreq() +{ + manuf=`dmidecode -s system-manufacturer` + prod=`dmidecode -s system-product-name` + if [ "$manuf" = "Vyatta" -a "$prod" = "Series 2500" ]; then + logger -t "$progname" -p user.notice "loading acpi_cpufreq module" + modprobe acpi_cpufreq + fi +} start () { @@ -141,6 +154,7 @@ start () ${vyatta_sbindir}/${s}.init start || (log_end_msg $? && return) done load_bootfile + load_acpi_cpufreq cleanup_raid chmod g-w,o-w / diff --git a/etc/modprobe.d/vyatta_nocopybreak b/etc/modprobe.d/vyatta_nocopybreak index deb962f..0ac3052 100644 --- a/etc/modprobe.d/vyatta_nocopybreak +++ b/etc/modprobe.d/vyatta_nocopybreak @@ -40,6 +40,9 @@ options e1000 copybreak=0 options e1000e copybreak=0 +options sky2 copybreak=0 +options via-rhine rx_copybreak=0 +options via-velocity rx_copybreak=0 |