Module Name: src
Committed By: thorpej
Date: Sat Feb 29 19:29:38 UTC 2020
Modified Files:
src/sys/dev/pci: if_tireg.h
Log Message:
G/C the never-used version of ti_hostaddr that can't possibly be correct.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/if_tireg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/if_tireg.h
diff -u src/sys/dev/pci/if_tireg.h:1.24 src/sys/dev/pci/if_tireg.h:1.25
--- src/sys/dev/pci/if_tireg.h:1.24 Sat Feb 29 18:49:53 2020
+++ src/sys/dev/pci/if_tireg.h Sat Feb 29 19:29:38 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tireg.h,v 1.24 2020/02/29 18:49:53 thorpej Exp $ */
+/* $NetBSD: if_tireg.h,v 1.25 2020/02/29 19:29:38 thorpej Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -373,16 +373,10 @@
*/
#define TI_MEM_MAX 0x7FFFFF
-#ifdef __64_bit_pci_addressing__
-typedef struct {
- u_int64_t ti_addr;
-} ti_hostaddr;
-#else
typedef struct {
u_int32_t ti_addr_hi;
u_int32_t ti_addr_lo;
} ti_hostaddr;
-#endif
/*
* Ring control block structure. The rules for the max_len field