Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 115443 Details for
Bug 173347
sys-apps/pciutils - pciparm init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/pciparm
pciparm (text/plain), 1.03 KB, created by
Federico Ferri (RETIRED)
on 2007-04-04 13:19:06 UTC
(
hide
)
Description:
/etc/init.d/pciparm
Filename:
MIME Type:
Creator:
Federico Ferri (RETIRED)
Created:
2007-04-04 13:19:06 UTC
Size:
1.03 KB
patch
obsolete
>#!/sbin/runscript ># read this article to know what to do ># http://gentoo.org/doc/en/articles/hardware-stability-p2.xml#doc_chap3_pre2 > ># report bugs to: http://bugs.gentoo.org/show_bug.cgi?id=173347 > >depend() { > before bootmisc hdparm >} > >do_setpci_latency() { > if [[ "$1" = "*:*" ]]; then > GLOB="global " > SWITCH="-d" > else > SPEC="for card $1 " > SWITCH="-s" > fi > ebegin "Setting ${GLOB}latency timer ${SPEC}to $2" > setpci $SETPCI_OPT $SWITCH $1 latency_timer=$2 > eend $? > GLOB="" > SPEC="" > SWITCH="" >} > >start() { > if get_bootparam "nopciparm" ; then > ewarn "Skipping pciparm init as requested in kernel cmdline" > return 0 > fi > > SETPCI_OPT="" > if [[ "$VERBOSE" = "yes" ]]; then > SETPCI_OPT="$SETPCI_OPT -v" > fi > > if [[ -n "$LATENCY_TIMER_ALL" ]]; then > do_setpci_latency *:* $LATENCY_TIMER_ALL > fi > > if [[ -n "$TWEAK_CARDS" ]] ; then > for pci_id in $TWEAK_CARDS; do > FLAT_ID="${pci_id//[:.]/_}" > LATENCY_PARAM="LATENCY_TIMER_${FLAT_ID}" > if [[ -n "${!LATENCY_PARAM}" ]]; then > do_setpci_latency ${pci_id} ${!LATENCY_PARAM} > fi > done > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 173347
:
115443
|
115444
|
115475
|
116247
|
116248
|
124859
|
124861
|
167638
|
167962