summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_skreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-14 21:53:11 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-14 21:53:11 +0000
commit82c03039352997a53fffd345ac2e99e1c4f09e21 (patch)
tree681469c3ed354093081281cd97abceac66968123 /sys/pci/if_skreg.h
parentcad926898390cc70f574248e45fa3f2c1a68309e (diff)
downloadFreeBSD-src-82c03039352997a53fffd345ac2e99e1c4f09e21.zip
FreeBSD-src-82c03039352997a53fffd345ac2e99e1c4f09e21.tar.gz
Make a few other cleanups while I'm in the area. Typo in comment, unused
structure members, etc. No functional changes.
Diffstat (limited to 'sys/pci/if_skreg.h')
-rw-r--r--sys/pci/if_skreg.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/pci/if_skreg.h b/sys/pci/if_skreg.h
index 34aef2e..8520abf 100644
--- a/sys/pci/if_skreg.h
+++ b/sys/pci/if_skreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_skreg.h,v 1.1 1999/07/09 04:29:51 wpaul Exp $
+ * $Id: if_skreg.h,v 1.2 1999/07/09 17:36:23 wpaul Exp $
*/
/*
@@ -908,7 +908,7 @@
/*
* The default FIFO threshold on the XMAC II is 4 bytes. On
- * dual port NICs, this often leats to transmit underruns, so we
+ * dual port NICs, this often leads to transmit underruns, so we
* bump the threshold a little.
*/
#define SK_XM_TX_FIFOTHRESH 512
@@ -935,7 +935,6 @@
/* device specific PCI registers */
#define SK_PCI_OURREG1 0x0040
#define SK_PCI_OURREG2 0x0044
-#define SK_PCI_
#define SK_PCI_CAPID 0x0048 /* 8 bits */
#define SK_PCI_NEXTPTR 0x0049 /* 8 bits */
#define SK_PCI_PWRMGMTCAP 0x004A /* 16 bits */
@@ -1128,10 +1127,8 @@ struct sk_if_softc;
struct sk_softc {
bus_space_handle_t sk_bhandle; /* bus space handle */
bus_space_tag_t sk_btag; /* bus space tag */
- struct sk_type *sk_info; /* Starfire adapter info */
u_int8_t sk_unit; /* controller number */
u_int8_t sk_type;
- u_int8_t sk_cachesize;
char *sk_vpd_prodname;
char *sk_vpd_readonly;
u_int32_t sk_rboff; /* RAMbuffer offset */
OpenPOWER on IntegriCloud