summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_mskvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_mskvar.h')
-rw-r--r--sys/dev/pci/if_mskvar.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/pci/if_mskvar.h b/sys/dev/pci/if_mskvar.h
index 014be904785..f02ec3c89a9 100644
--- a/sys/dev/pci/if_mskvar.h
+++ b/sys/dev/pci/if_mskvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mskvar.h,v 1.5 2007/05/12 18:19:54 kettenis Exp $ */
+/* $OpenBSD: if_mskvar.h,v 1.6 2007/11/25 00:27:44 kettenis Exp $ */
/* $NetBSD: if_skvar.h,v 1.6 2005/05/30 04:35:22 christos Exp $ */
/*-
@@ -33,7 +33,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-/* $OpenBSD: if_mskvar.h,v 1.5 2007/05/12 18:19:54 kettenis Exp $ */
+/* $OpenBSD: if_mskvar.h,v 1.6 2007/11/25 00:27:44 kettenis Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -192,7 +192,9 @@ struct sk_softc {
struct device sk_dev; /* generic device */
bus_space_handle_t sk_bhandle; /* bus space handle */
bus_space_tag_t sk_btag; /* bus space tag */
+ bus_size_t sk_bsize; /* bus space size */
void *sk_intrhand; /* irq handler handle */
+ pci_chipset_tag_t sk_pc;
u_int8_t sk_fibertype;
u_int8_t sk_type;
u_int8_t sk_rev;
@@ -204,6 +206,8 @@ struct sk_softc {
struct sk_if_softc *sk_if[2];
struct msk_status_desc *sk_status_ring;
bus_dmamap_t sk_status_map;
+ bus_dma_segment_t sk_status_seg;
+ int sk_status_nseg;
int sk_status_idx;
};
@@ -224,6 +228,8 @@ struct sk_if_softc {
struct msk_chain_data sk_cdata;
struct msk_ring_data *sk_rdata;
bus_dmamap_t sk_ring_map;
+ bus_dma_segment_t sk_ring_seg;
+ int sk_ring_nseg;
int sk_status_idx;
struct sk_softc *sk_softc; /* parent controller */
int sk_tx_bmu; /* TX BMU register */
@@ -231,6 +237,7 @@ struct sk_if_softc {
LIST_HEAD(__sk_jfreehead, sk_jpool_entry) sk_jfree_listhead;
LIST_HEAD(__sk_jinusehead, sk_jpool_entry) sk_jinuse_listhead;
SIMPLEQ_HEAD(__sk_txmaphead, sk_txmap_entry) sk_txmap_head;
+ void *sk_sdhook;
};
struct skc_attach_args {