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/dae8d32e506d
branches:  trunk
changeset: 969746:dae8d32e506d
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 4fbd77bf9478 -r dae8d32e506d 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