Module Name: src Committed By: taca Date: Tue Aug 4 08:49:02 UTC 2009
Modified Files: src/sys/dev/pci: if_bgereg.h Log Message: Fix a bug of BGE_RDMA_MODE_FIFO_LONG_BURST definition. Confirmed by msa...@. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/if_bgereg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_bgereg.h diff -u src/sys/dev/pci/if_bgereg.h:1.52 src/sys/dev/pci/if_bgereg.h:1.53 --- src/sys/dev/pci/if_bgereg.h:1.52 Thu Apr 23 10:47:44 2009 +++ src/sys/dev/pci/if_bgereg.h Tue Aug 4 08:49:02 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: if_bgereg.h,v 1.52 2009/04/23 10:47:44 msaitoh Exp $ */ +/* $NetBSD: if_bgereg.h,v 1.53 2009/08/04 08:49:02 taca Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -1353,7 +1353,7 @@ #define BGE_RDMAMODE_ALL_ATTNS 0x000003FC /* Alternate encodings for PCI-Express, from Broadcom-supplied Linux driver */ -#define BGE_RDMA_MODE_FIFO_LONG_BURST ((1<<17) || (1 << 16)) +#define BGE_RDMA_MODE_FIFO_LONG_BURST ((1<<17) | (1 << 16)) #define BGE_RDMA_MODE_FIFO_SIZE_128 (1 << 17) /* Read DMA status register */