Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/dev/pci Pull up revision 1.4 (requested by abs in t...
details: https://anonhg.NetBSD.org/src/rev/8a2dc1781db0
branches: netbsd-2-0
changeset: 564644:8a2dc1781db0
user: jdc <jdc%NetBSD.org@localhost>
date: Fri Jan 07 12:16:04 2005 +0000
description:
Pull up revision 1.4 (requested by abs in ticket #973).
Fix Yukon ram sizing.
Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap.
Lower interrupt moderation timer to (improves performance).
Improve chip identification. (from linux sk98lin driver).
Keep tx queue running by kicking the tx bmu repeatedly.
diffstat:
sys/dev/pci/if_skvar.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r f849eb9aa7a1 -r 8a2dc1781db0 sys/dev/pci/if_skvar.h
--- a/sys/dev/pci/if_skvar.h Fri Jan 07 12:15:18 2005 +0000
+++ b/sys/dev/pci/if_skvar.h Fri Jan 07 12:16:04 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_skvar.h,v 1.3 2003/11/02 10:31:06 wiz Exp $ */
+/* $NetBSD: if_skvar.h,v 1.3.2.1 2005/01/07 12:16:04 jdc Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -114,7 +114,7 @@
struct sk_txmap_entry {
bus_dmamap_t dmamap;
- SLIST_ENTRY(sk_txmap_entry) link;
+ SIMPLEQ_ENTRY(sk_txmap_entry) link;
};
struct sk_chain_data {
@@ -198,6 +198,8 @@
struct resource *sk_irq; /* IRQ resource handle */
struct resource *sk_res; /* I/O or shared mem handle */
u_int8_t sk_type;
+ u_int8_t sk_rev;
+ char *sk_name;
char *sk_vpd_prodname;
char *sk_vpd_readonly;
u_int32_t sk_rboff; /* RAMbuffer offset */
@@ -233,7 +235,7 @@
int sk_if_flags;
LIST_HEAD(__sk_jfreehead, sk_jpool_entry) sk_jfree_listhead;
LIST_HEAD(__sk_jinusehead, sk_jpool_entry) sk_jinuse_listhead;
- SLIST_HEAD(__sk_txmaphead, sk_txmap_entry) sk_txmap_listhead;
+ SIMPLEQ_HEAD(__sk_txmaphead, sk_txmap_entry) sk_txmap_head;
};
struct skc_attach_args {
Home |
Main Index |
Thread Index |
Old Index