#!/sbin/runscript
start() {
ebegin "Tuning PCI bus latency timers"
#
# open up the PCI bus by allowing fairly long bursts for all
# devices, increasing performance
#
setpci -s *:* latency_timer=80 >/dev/null
#
# maximise latency times for network and comms, allowing them
# to transmit more data per burst and preventing buffer
# over/underrun conditions
#
setpci -s 00:09.0 latency_timer=FF >/dev/null # X101P (Tigerjet)
setpci -s 00:0a.0 latency_timer=FF >/dev/null # 3Com 3c980-C - 10/100
setpci -s 00:02.0 latency_timer=FF >/dev/null # AMD 79c970 - 10/100
eend 0
}