Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vsa Catch up with this commit:



details:   https://anonhg.NetBSD.org/src/rev/a5618bb03700
branches:  trunk
changeset: 1021097:a5618bb03700
user:      rin <rin%NetBSD.org@localhost>
date:      Sat May 08 09:03:30 2021 +0000

description:
Catch up with this commit:

http://www.nerv.org/netbsd/?q=id:20210507T165558Z.d4aba9e0e053181f2a98ee4ee43012b50949921b

by which per slot tcs_used flag was obsoleted.

No need to initialize __BIT(0) of sc_slots_used here; it is zero anyway
before calling tcattach().

diffstat:

 sys/arch/vax/vsa/tc_vsbus.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a8a74b90fccd -r a5618bb03700 sys/arch/vax/vsa/tc_vsbus.c
--- a/sys/arch/vax/vsa/tc_vsbus.c       Sat May 08 04:29:07 2021 +0000
+++ b/sys/arch/vax/vsa/tc_vsbus.c       Sat May 08 09:03:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tc_vsbus.c,v 1.9 2017/06/09 18:02:40 flxd Exp $        */
+/*     $NetBSD: tc_vsbus.c,v 1.10 2021/05/08 09:03:30 rin Exp $        */
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tc_vsbus.c,v 1.9 2017/06/09 18:02:40 flxd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tc_vsbus.c,v 1.10 2021/05/08 09:03:30 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -252,7 +252,6 @@
        /* Pass pre-mapped space for TC drivers not bus_space'ified yet. */
        sc->sc_slots[0].tcs_addr = (tc_addr_t)bus_space_vaddr(bst, bsh_slot);
        sc->sc_slots[0].tcs_cookie = sc;
-       sc->sc_slots[0].tcs_used = 0;
 
        tba.tba_busname = "tc";
        /* Tag with custom methods for pre-mapped bus_space. */



Home | Main Index | Thread Index | Old Index