scw
0dcbc9ae84
Try to drain the Tx pending queues after dealing with Rx/Tx interrupts.
...
This fixes a bug whereby a fast cpu with a decent cache can easily
outstrip the GT's ability to put packets on the wire, resulting in a
permanent backlog of mbufs in the Tx pending queues under heavy Tx load.
The bug was masked if the packet buffer was mapped non-cached, which
slowed down the cpu to where it couldn't keep up with the GT at 100mbit.
2003-08-05 14:55:06 +00:00
lukem
365cbd9428
add missing __KERNEL_RCSID()
2003-07-14 15:47:00 +00:00
scw
b8ce8543eb
Always pass BUS_DMA_COHERENT to bus_dmamem_map() when allocating
...
descriptor/buffer memory.
2003-06-12 19:18:02 +00:00
matt
de36c1091b
Update inptr *after* we do the dmasync.
2003-04-30 20:49:49 +00:00
matt
0259e9541c
Fix overrun of TX buffer dmamap.
2003-04-30 18:31:30 +00:00
scw
dd3614f13a
When attaching, make sure the "Reject Broadcast Mode", "Promiscuous Mode"
...
and "Pass Bad Frames" bits in the EPCR register are clear.
This works around a problem where firmware sets RBM for some reason before
handing control to the NetBSD kernel.
2003-04-10 15:23:19 +00:00
thorpej
106ae5d65e
Use PAGE_SIZE rather than NBPG.
2003-04-08 22:33:33 +00:00
matt
46acdfd875
Deal with discovery strangeness/timing issue. Sometimes the Ownership bit
...
on descriptor doesn't get reset so look beyond to the next descriptor to
see if it's been returned. If it has, then just process the current one.
2003-04-08 19:37:17 +00:00
matt
a09a7e1927
Update bpf interface to current. Make output buffers aligned to a
...
cacheline bounary. Only put hash table and descriptors in uncached
memory, buffers are in cached memory.
2003-03-24 17:00:54 +00:00
matt
923175a28a
remove some unneeded code.
2003-03-18 15:09:28 +00:00
matt
f27033251e
Use a subregion for the mac's ethernet registers. Shaves 512 bytes
...
from the driver.
2003-03-17 16:41:15 +00:00
matt
08ea2a499c
Cleanup. Move much of the code to bus_space instead of using
...
private mechanisms.
2003-03-16 07:05:33 +00:00
matt
ff2281b498
Add preliminary support Marvell (Galileo) Discovery System Controllers.
...
This code was contributed by Allegro Networks.
2003-03-05 22:08:18 +00:00