summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/qevar.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-11-16 15:47:58 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-11-16 15:47:58 +0000
commit169456fc9063b6245205cd1cbe827606bd9a9095 (patch)
treeaf4dc804cc5a2fc9df4360954b22df0cbdc186ee /sys/arch/sparc/dev/qevar.h
parent1af37a2897479a00d4af76d1f2cded525f845cc9 (diff)
- Fix the NMI problem: it seems the qec channel reset also resets the MACE, and
a race condition existed where after a qec channel reset, accesses to the MACE would cause an NMI: so wait for the MACE to come out of reset before accessing. - add ifmedia support (mainly so I can get at the link status from other code) - move some of the spl handling around (more correct) - rewrite qe_mcreset() again so that all it does is set the multicast filter - use bzero to initialize the buffers and descriptors - rearrange the MACE setup to conform to the suggestions in the datasheet
Diffstat (limited to 'sys/arch/sparc/dev/qevar.h')
-rw-r--r--sys/arch/sparc/dev/qevar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/qevar.h b/sys/arch/sparc/dev/qevar.h
index e5dd63681d3..de3da606964 100644
--- a/sys/arch/sparc/dev/qevar.h
+++ b/sys/arch/sparc/dev/qevar.h
@@ -1,7 +1,7 @@
-/* $OpenBSD: qevar.h,v 1.3 1999/02/24 06:57:45 jason Exp $ */
+/* $OpenBSD: qevar.h,v 1.4 2000/11/16 15:47:57 jason Exp $ */
/*
- * Copyright (c) 1998 Jason L. Wright.
+ * Copyright (c) 1998, 2000 Jason L. Wright.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -48,4 +48,5 @@ struct qesoftc {
int sc_no_td, sc_first_td, sc_last_td;
int sc_last_rd;
+ struct ifmedia sc_ifmedia;
};