Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Minor clean ups. No functional change.
details: https://anonhg.NetBSD.org/src/rev/91bf09cfaa88
branches: trunk
changeset: 567051:91bf09cfaa88
user: toshii <toshii%NetBSD.org@localhost>
date: Sun May 30 03:43:26 2004 +0000
description:
Minor clean ups. No functional change.
- use RTK_RX_DESC_CNT where appropriate
- remove unused members
diffstat:
sys/dev/ic/rtl81x9var.h | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (28 lines):
diff -r 73779b13046b -r 91bf09cfaa88 sys/dev/ic/rtl81x9var.h
--- a/sys/dev/ic/rtl81x9var.h Sat May 29 23:49:31 2004 +0000
+++ b/sys/dev/ic/rtl81x9var.h Sun May 30 03:43:26 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9var.h,v 1.12 2004/05/28 15:21:32 toshii Exp $ */
+/* $NetBSD: rtl81x9var.h,v 1.13 2004/05/30 03:43:26 toshii Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -84,17 +84,13 @@
struct rtk_list_data {
struct mbuf *rtk_tx_mbuf[RTK_TX_DESC_CNT];
- struct mbuf *rtk_rx_mbuf[RTK_TX_DESC_CNT];
+ struct mbuf *rtk_rx_mbuf[RTK_RX_DESC_CNT];
int rtk_tx_prodidx;
int rtk_rx_prodidx;
int rtk_tx_considx;
int rtk_tx_free;
bus_dmamap_t rtk_tx_dmamap[RTK_TX_DESC_CNT];
bus_dmamap_t rtk_rx_dmamap[RTK_RX_DESC_CNT];
- bus_dma_tag_t rtk_stag; /* stats mapping tag */
- bus_dmamap_t rtk_smap; /* stats map */
- struct rtk_stats *rtk_stats;
- bus_addr_t rtk_stats_addr;
bus_dmamap_t rtk_rx_list_map;
struct rtk_desc *rtk_rx_list;
bus_dma_segment_t rtk_rx_listseg;
Home |
Main Index |
Thread Index |
Old Index