Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci G/C the never-used version of ti_hostaddr that c...



details:   https://anonhg.NetBSD.org/src/rev/c0cb9e569a87
branches:  trunk
changeset: 745360:c0cb9e569a87
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Feb 29 19:29:38 2020 +0000

description:
G/C the never-used version of ti_hostaddr that can't possibly be correct.

diffstat:

 sys/dev/pci/if_tireg.h |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (26 lines):

diff -r d3efa64a3a45 -r c0cb9e569a87 sys/dev/pci/if_tireg.h
--- a/sys/dev/pci/if_tireg.h    Sat Feb 29 18:53:55 2020 +0000
+++ b/sys/dev/pci/if_tireg.h    Sat Feb 29 19:29:38 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index