freebsd_amp_hwpstate/sys/dev
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
..
advansys Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
aha Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
ahb Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
aic7xxx Differentiate between aic7895C chips and their earlier brethren 1999-08-16 22:50:37 +00:00
amd Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
ar Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ata Spring cleaning around strategy and disklabels/slices: 1999-08-14 11:40:51 +00:00
atkbdc Recognize Interlink VersaPad. `Tap' action will be recognized 1999-08-17 12:14:13 +00:00
bktr Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
buslogic Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
ccd Spring cleaning around strategy and disklabels/slices: 1999-08-14 11:40:51 +00:00
cs Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
cy Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
de Replace the tulip_delay_300ns() with a DELAY(1). Hammering the PCI bus 1999-08-19 15:07:20 +00:00
dec Calibrate the processor cycle counter instead of believing what the 1999-05-18 21:24:16 +00:00
dgb Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
dpt Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
ed Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
eisa I'm not sure how this wasn't in the last commit but anyhow... 1999-08-02 20:01:40 +00:00
en Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ep Make these actually compile. I got a little delete happy pruning includes 1999-08-18 22:14:24 +00:00
ex Make these actually compile. I got a little delete happy pruning includes 1999-08-18 22:14:24 +00:00
fb Remove cmaj and bmaj args from DEV_DRIVER_MODULE. 1999-07-04 14:58:56 +00:00
fdc Spring cleaning around strategy and disklabels/slices: 1999-08-14 11:40:51 +00:00
fe Make these actually compile. I got a little delete happy pruning includes 1999-08-18 22:14:24 +00:00
fxp Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
hea Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
hfa This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00
ic Fixed 10 out of 40 lines of -Wcast-qual warnings/errors. 3 lines were 1999-05-13 12:21:41 +00:00
ida Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
ie Make these actually compile. I got a little delete happy pruning includes 1999-08-18 22:14:24 +00:00
iicbus Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
isp Clarify and cleanup some CAM queueing breakages. 1999-08-16 20:11:45 +00:00
joy Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
kbd Correctly save `flags' bits. 1999-08-15 06:06:14 +00:00
lnc Make these actually compile. I got a little delete happy pruning includes 1999-08-18 22:14:24 +00:00
mc146818 Major changes to the generic device framework for FreeBSD/alpha: 1998-06-14 13:46:10 +00:00
mcd Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
mse Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pccard Decommision miscfs/specfs/specdev.h. Most of it goes into <sys/conf.h>, 1999-08-08 18:43:05 +00:00
pcf Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
pci Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
pcm/isa Add support for ASound Gold card using the ALS120 1999-05-27 06:12:40 +00:00
pdq Move the specification of EDGE/LEVEL triggered interrupts to 1999-08-01 22:57:09 +00:00
ppbus Add pin-numbers for easy reference. 1999-08-18 20:45:57 +00:00
ppc Return the port size from the probe. 1999-04-22 13:10:43 +00:00
rc Fixed null setting of `rc_started'. This was fixed for the 1999-06-04 18:53:47 +00:00
rp Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
scd Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
sf Remember to clear the IFF_RUNNING and IFF_OACTIVE flags in sf_stop() and 1999-07-25 05:16:05 +00:00
si printf("%x",dev); -> printf("%s",devtoname(dev)); 1999-08-18 17:42:41 +00:00
sio make alpha compile again. 1999-08-09 11:02:45 +00:00
sk Remember to clear the IFF_RUNNING and IFF_OACTIVE flags in sf_stop() and 1999-07-25 05:16:05 +00:00
smbus Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
snp Add Id strings 1999-06-17 23:42:45 +00:00
sound/isa Add support for ASound Gold card using the ALS120 1999-05-27 06:12:40 +00:00
speaker Welcome devtoname(), to most likely be used when printing information 1999-08-17 20:25:50 +00:00
sr Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
streams Fix fd race conditions (during shared fd table usage.) Badfileops is 1999-08-04 18:53:50 +00:00
syscons Wrap two declarations that are only used in an #ifdef in their own #ifdef. 1999-08-17 22:06:17 +00:00
ti Minor glitch in ti_newbuf_jumbo(): m_adj() was being called on 1999-08-14 15:45:03 +00:00
tx Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
usb 1) rename dev->self to be consistent 1999-08-18 10:24:59 +00:00
vinum free_drive: mark drive down. This may fix a panic in the 'start' command. 1999-08-16 05:09:39 +00:00
vn Spring cleaning around strategy and disklabels/slices: 1999-08-14 11:40:51 +00:00
vr Small tweak: remember to free the tx ring data (which is malloc()ed) if 1999-08-10 21:12:11 +00:00
vx Move the specification of EDGE/LEVEL triggered interrupts to 1999-08-01 22:57:09 +00:00
wi Correct the alignment of some of the members in the wi_frame structure. 1999-07-20 20:03:42 +00:00
wl Make these actually compile. I got a little delete happy pruning includes 1999-08-18 22:14:24 +00:00
xe Decommision miscfs/specfs/specdev.h. Most of it goes into <sys/conf.h>, 1999-08-08 18:43:05 +00:00