Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/dev/pci Pull up following revision(s) (requested by g...
details: https://anonhg.NetBSD.org/src/rev/ca7a255832fe
branches: netbsd-6
changeset: 774048:ca7a255832fe
user: riz <riz%NetBSD.org@localhost>
date: Mon May 07 03:10:28 2012 +0000
description:
Pull up following revision(s) (requested by gdt in ticket #208):
sys/dev/pci/if_bnxvar.h: revision 1.3
Use RX_PAGES for rx_bd_chain_{,r}seq.
Before, TX_PAGES was used, but no harm was done because TX_PAGES ==
RX_PAGES == 2. Found by Frank Kastenholz of BBN.
diffstat:
sys/dev/pci/if_bnxvar.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 2e59b0c4d199 -r ca7a255832fe sys/dev/pci/if_bnxvar.h
--- a/sys/dev/pci/if_bnxvar.h Mon May 07 03:08:35 2012 +0000
+++ b/sys/dev/pci/if_bnxvar.h Mon May 07 03:10:28 2012 +0000
@@ -220,8 +220,8 @@
bus_addr_t tx_bd_chain_paddr[TX_PAGES];
/* H/W maintained RX buffer descriptor chain structure. */
- bus_dma_segment_t rx_bd_chain_seg[TX_PAGES];
- int rx_bd_chain_rseg[TX_PAGES];
+ bus_dma_segment_t rx_bd_chain_seg[RX_PAGES];
+ int rx_bd_chain_rseg[RX_PAGES];
bus_dmamap_t rx_bd_chain_map[RX_PAGES];
struct rx_bd *rx_bd_chain[RX_PAGES];
bus_addr_t rx_bd_chain_paddr[RX_PAGES];
Home |
Main Index |
Thread Index |
Old Index