From d47b9a698536252ff88246311db67fdd33b04903 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Sun, 8 Apr 2001 19:25:30 +0000 Subject: and host ring definition --- sys/dev/pci/if_txpreg.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci/if_txpreg.h') diff --git a/sys/dev/pci/if_txpreg.h b/sys/dev/pci/if_txpreg.h index 9a7f94120e4..edec70fee92 100644 --- a/sys/dev/pci/if_txpreg.h +++ b/sys/dev/pci/if_txpreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_txpreg.h,v 1.4 2001/04/08 19:16:50 jason Exp $ */ +/* $OpenBSD: if_txpreg.h,v 1.5 2001/04/08 19:25:29 jason Exp $ */ /* * Copyright (c) 2001 Aaron Campbell . @@ -365,6 +365,23 @@ struct txp_boot_record { volatile u_int32_t br_rxhipri_siz; }; +/* + * host ring structure (shared with typhoon) + */ +struct txp_hostring { + volatile u_int32_t hr_rx_hi_read_idx; /* host->arm */ + volatile u_int32_t hr_rx_lo_read_idx; /* host->arm */ + volatile u_int32_t hr_rx_buf_write_idx; /* host->arm */ + volatile u_int32_t hr_resp_read_idx; /* host->arm */ + volatile u_int32_t hr_tx_lo_desc_read_idx; /* arm->host */ + volatile u_int32_t hr_tx_hi_desc_read_idx; /* arm->host */ + volatile u_int32_t hr_rx_lo_write_idx; /* arm->host */ + volatile u_int32_t hr_rx_buf_read_idx; /* arm->host */ + volatile u_int32_t hr_cmd_read_idx; /* arm->host */ + volatile u_int32_t hr_resp_write_idx; /* arm->host */ + volatile u_int32_t hr_rx_hi_write_idx; /* arm->host */ +}; + /* * TYPHOON status register state (in TXP_A2H_0) */ -- cgit v1.2.3