NetBSD/sys
jonathan cd38c4da5c Commit workaround for hardware bug: 5701 chips running in PCI-X mode
require that the DMA receive buffers be aligned. The driver was
deliberately mis-aligning by 2 bytes, to force the layer-2/3
headers to 32-bit alignment.

Workaround: if chip is a 5701, and is in PCI-X mode, leave the DMA
buffers aligned.  If the host CPU requires alignment, copy the buffer
after reception to force aligment.

Tested  on an i386 in  PCI-X bus, with __NO_STRICT_ALIGNMENT forced off.

Patch and comments reworked  to minimize drift from
	FreeBSD if_bge.c rev 1.14.
2003-03-07 18:57:53 +00:00
..
altq fix typo, from David Laight. 2003-01-06 15:20:24 +00:00
arch Remove some constant (use value in bus_space_tags). 2003-03-07 18:24:00 +00:00
coda protect <sys/mallocvar.h> ifdef _KERNEL 2003-02-02 02:34:53 +00:00
compat Less accurate vm_region, but it sticks better to Darwin results. 2003-03-05 22:39:48 +00:00
conf Allow a memory disk image to be statically included in the kernel 2003-03-07 01:26:12 +00:00
crypto sprinkle some #ifdef __LINT__ until C9X named union member 2003-02-09 16:25:27 +00:00
ddb Don't specify string width in the low level function like db_num_to_str. 2003-03-02 13:39:40 +00:00
dev Commit workaround for hardware bug: 5701 chips running in PCI-X mode 2003-03-07 18:57:53 +00:00
fs #if 0/notnow stuff which isn't currently used 2003-03-03 21:17:05 +00:00
gdbscripts adapt to lwp-world 2003-02-26 21:36:14 +00:00
ipkdb Don't record option-dependencies here, since none of these options 2002-10-11 00:50:30 +00:00
kern Based on the feedback on wasabisystems.com!bsd-api-discuss (sure wish 2003-03-06 20:32:59 +00:00
lib LIBSA_NO_CLOSE is LIBSA_NO_FS_CLOSE everywhere else. 2003-03-07 00:46:37 +00:00
lkm The IDT is an array of struct gate_descriptor. 2003-03-04 10:39:10 +00:00
miscfs Teach procfs_allocvp() about Puptime to avoid panics if "/proc/uptime" 2003-03-04 18:55:02 +00:00
net Fix the fallout from potr malloc changes 2003-03-05 22:56:46 +00:00
netatalk Update for MBUFTRACE. 2003-02-26 07:53:04 +00:00
netccitt "Utilize" has exactly the same meaning as "use," but it is more 2003-02-05 00:02:24 +00:00
netinet vax -> __vax__. Didn't I fix this a year ago? 2003-03-05 13:19:59 +00:00
netinet6 Add in6_localaddr(). From KAME via FreeBSD. 2003-02-27 22:06:38 +00:00
netisdn Restore the system priority level in case of errors. 2002-12-28 21:09:14 +00:00
netiso Add MBUFTRACE kernel option. 2003-02-26 06:31:08 +00:00
netkey Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
netnatm Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more. 2002-11-26 23:30:07 +00:00
netns Add extensible malloc types, adapted from FreeBSD. This turns 2003-02-01 06:23:35 +00:00
netsmb #if 0 or g/c unused stuff 2003-03-03 21:16:02 +00:00
nfs fix typo in comment 2003-02-27 09:01:09 +00:00
stand
sys Based on the feedback on wasabisystems.com!bsd-api-discuss (sure wish 2003-03-06 20:32:59 +00:00
ufs Make sure we hold the uobjlock when checking for dirty pages, in lfs_vflush. 2003-03-04 19:19:43 +00:00
uvm Add support for mmap(2) to be able to return memory aligned on a 2^n 2003-03-06 00:41:51 +00:00
Makefile move msdosfs code from sys/msdosfs to sys/fs/msdosfs 2002-12-26 12:31:23 +00:00