freebsd_amp_hwpstate/sys
Peter Wemm e9fc0b372f Replace the tulip_delay_300ns() with a DELAY(1). Hammering the PCI bus
to achieve a delay is pretty mean.

Andrew reports:
"The tulip_delay_300ns() is, well, bloody stupid on machines with a
heavily loaded PCI bus.  It tries to do a delay by assuming PCI reads
will take a certain amount of time & issues a large amount of
(expensive, 5% CPU when your PCI bus is heavily loaded) pci reads.

Locally, we've replaced the calls to tulip_delay_300ns(sc) in the EMIT
macros with a simple DELAY(1) and not seen any problems.  Plus we've
gained about 50Mb/sec throughput on our gigabit network cards because
of the added PCI bus bandwidth available."

Also, I do not understand why, but this change appears to stop the
Transmit Fifo underrun on one of my systems (but not the Alpha PC164SX).
This shouldn't make that much of a difference since the mii bus isn't
touched all that often, but perhaps when it does get accessed and hence
hammers the register, it was causing the chip to get upset.

Submitted by:	Andrew Gallatin <gallatin@cs.duke.edu>
1999-08-19 15:07:20 +00:00
..
alpha Update for MI switch code, and trim a heap of unused (I believe) entries. 1999-08-19 00:20:10 +00:00
amd64 Undo my previous commit and do it differently. Break the ffs() etc macros 1999-08-19 14:54:40 +00:00
boot Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00
cam Welcome devtoname(), to most likely be used when printing information 1999-08-17 20:25:50 +00:00
coda Don't examine vp->v_tag (see comment in vnode.h) 1999-08-13 13:05:08 +00:00
compat Fix a bug in debug-printfs of struct linux_termios fields, where I forgot to 1999-08-17 10:27:55 +00:00
compile
conf Extract the next runnable process selection out of cpu_switch() into a 1999-08-19 00:06:53 +00:00
contrib SMP: Release the giant lock while we work the flash array 1999-08-15 14:30:09 +00:00
ddb Merge the cons.c and cons.h to the best of my ability. alpha may or 1999-08-09 10:35:05 +00:00
dev Replace the tulip_delay_300ns() with a DELAY(1). Hammering the PCI bus 1999-08-19 15:07:20 +00:00
fs Add the (inline) function vm_page_undirty for clearing the dirty bitmask 1999-08-17 04:02:34 +00:00
geom Spring cleaning around strategy and disklabels/slices: 1999-08-14 11:40:51 +00:00
gnu The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
i4b Avoid symbol clash in LINT. 1999-08-08 18:17:40 +00:00
i386 Undo my previous commit and do it differently. Break the ffs() etc macros 1999-08-19 14:54:40 +00:00
isa Recognize Interlink VersaPad. `Tap' action will be recognized 1999-08-17 12:14:13 +00:00
isofs/cd9660 The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
kern Don't initialize run queues here, do it all in one place. 1999-08-19 00:14:43 +00:00
libkern Use the latest version of these files from OpenBSD. 1999-08-10 05:58:58 +00:00
miscfs Remove an unused variable. 1999-08-17 22:08:55 +00:00
modules Sort xrefs. 1999-08-19 00:10:37 +00:00
msdosfs The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
net Hopefully make IFMEDIA_DEBUG compile. if_xname[] is a NetBSD addition, 1999-08-18 13:13:01 +00:00
netatalk
netatm
netinet Fix breakage if blackhole=1 and tiflags & TH_SYN, plus 1999-08-19 05:22:12 +00:00
netipx
netkey Fix a printf(3) formatter to match its variable. 1999-08-17 22:11:02 +00:00
netnatm
netns
nfs Convert all the nfs macros to do { blah } while (0) to ensure it 1999-08-19 14:50:12 +00:00
nfsclient Convert all the nfs macros to do { blah } while (0) to ensure it 1999-08-19 14:50:12 +00:00
nfsserver Convert all the nfs macros to do { blah } while (0) to ensure it 1999-08-19 14:50:12 +00:00
ntfs The bdevsw() and cdevsw() are now identical, so kill the former. 1999-08-13 10:29:38 +00:00
pc98 Merge from sys/i386/isa/spkr.c revision 1.38. 1999-08-18 08:24:35 +00:00
pccard (1) Fix a spelling mistake in a comment. 1999-08-17 22:13:06 +00:00
pci Replace the tulip_delay_300ns() with a DELAY(1). Hammering the PCI bus 1999-08-19 15:07:20 +00:00
posix4
powerpc Update for MI switch code, and trim a heap of unused (I believe) entries. 1999-08-19 00:20:10 +00:00
rpc
svr4 Avoid possible panic by checking for EFAULT from copyinstr() during 1999-08-14 10:52:33 +00:00
sys Update for MI switch components. struct prochd is replaced by TAILQ's. 1999-08-19 00:13:15 +00:00
tools
ufs Add the (inline) function vm_page_undirty for clearing the dirty bitmask 1999-08-17 04:02:34 +00:00
vm Update for run queue code. 1999-08-19 00:15:27 +00:00
Makefile