freebsd-nq/sys
Bill Paul 0f41c63996 Change PN_RXLEN from 1518 bytes to 1536 bytes. The chip always DMAs data
in 4 byte chunks. It turns out that with the 82c169C on the Netgear
FA-310TX Rev D2, if you tell the chip you have reserved a buffer of 1518
bytes, it will actually treat it as 1516 bytes since 1518 is divisible
by four. Consequently, a packet of 1514 bytes will always end up consuming
two buffers: the last coupleof bytes will spill over into the next
descriptor. This causes the pn_rx_bug_war() routine to trip unnecessarily.

I'm not sure if the 82c169B or 82c168 chips behave the same way; I'll
have to check them. In any case, this change should work just as well
with them. Note that the FA-310TX Rev D2 also has a Broadcom PHY
instead of a Level One LXT970 PHY, however this shouldn't make any
difference as far as the driver is concerned.

This change also allows me to do a way with one rounding overation in
pn_rx-buf_war().
1999-08-24 03:19:45 +00:00
..
alpha Fix a small typo (missing comma) to make the alpha kernel build again 1999-08-22 21:47:32 +00:00
amd64 Fixed a misplaced cast to uintptr_t. Cosmetic. 1999-08-24 00:22:10 +00:00
boot Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00
cam Cast pointers to uintptr_t instead of casting them to u_long. Don't 1999-08-24 00:04:45 +00:00
coda Convert DEVFS hooks in (most) drivers to make_dev(). 1999-08-23 20:59:21 +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 Merge from sys/i386/conf/options.i386 revision .1.20. 1999-08-23 13:39:32 +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 set_sd_state: Correct the conditions for bringing up empty or 1999-08-24 02:29:41 +00:00
fs Initialise fsids with (user) device numbers again. Bitrot when dev_t's 1999-08-23 21:07:13 +00:00
geom Spring cleaning around strategy and disklabels/slices: 1999-08-14 11:40:51 +00:00
gnu Oops, the previous commit was missing a new include. 1999-08-23 22:05:49 +00:00
i4b Avoid symbol clash in LINT. 1999-08-08 18:17:40 +00:00
i386 Cast pointers to uintptr_t instead of casting them to u_long, and/or vice 1999-08-24 00:56:50 +00:00
isa Convert DEVFS hooks in (most) drivers to make_dev(). 1999-08-23 20:59:21 +00:00
isofs/cd9660 Initialise fsids with (user) device numbers again. Bitrot when dev_t's 1999-08-23 21:07:13 +00:00
kern Cast pointers to uintptr_t instead of casting them to u_long, and/or vice 1999-08-24 00:56:50 +00:00
libkern Use the latest version of these files from OpenBSD. 1999-08-10 05:58:58 +00:00
miscfs Let processes retrieve their argv through procfs. Revert to the original 1999-08-19 19:41:08 +00:00
modules This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
msdosfs Initialise fsids with (user) device numbers again. Bitrot when dev_t's 1999-08-23 21:07:13 +00:00
net Hopefully make IFMEDIA_DEBUG compile. if_xname[] is a NetBSD addition, 1999-08-18 13:13:01 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Clean up after removing sys/eventhandler.h from sys/systm.h at the last 1999-08-21 22:10:49 +00:00
netinet Cast pointers to [u]intptr_t instead of casting them to [u_]long. Don't 1999-08-24 00:48:19 +00:00
netipx Suser() simplification: 1999-04-27 11:18:52 +00:00
netkey Fix a printf(3) formatter to match its variable. 1999-08-17 22:11:02 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
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 Convert DEVFS hooks in (most) drivers to make_dev(). 1999-08-23 20:59:21 +00:00
pccard Convert DEVFS hooks in (most) drivers to make_dev(). 1999-08-23 20:59:21 +00:00
pci Change PN_RXLEN from 1518 bytes to 1536 bytes. The chip always DMAs data 1999-08-24 03:19:45 +00:00
posix4 Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
powerpc Fix a nasty kld bug where modules with objects of type GLOB_DAT which had 1999-08-20 14:21:35 +00:00
rpc
svr4 Avoid possible panic by checking for EFAULT from copyinstr() during 1999-08-14 10:52:33 +00:00
sys Complain if this file is included. 1999-08-23 21:51:21 +00:00
tools This commit adds support for the NetBSD MII abstraction layer and 1999-08-21 17:40:53 +00:00
ufs Use devtoname() to print dev_t's instead of casting them to long or u_long 1999-08-23 20:35:21 +00:00
vm Use devtoname to print dev_t's instead of casting them to u_long for 1999-08-23 23:55:03 +00:00
Makefile Use MACHINE_ARCH instead of MACHINE to check x86 architecture. 1999-06-03 10:38:07 +00:00