Module Name:    src
Committed By:   rin
Date:           Sat May  8 09:03:30 UTC 2021

Modified Files:
        src/sys/arch/vax/vsa: tc_vsbus.c

Log Message:
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().


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/vax/vsa/tc_vsbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/vax/vsa/tc_vsbus.c
diff -u src/sys/arch/vax/vsa/tc_vsbus.c:1.9 src/sys/arch/vax/vsa/tc_vsbus.c:1.10
--- src/sys/arch/vax/vsa/tc_vsbus.c:1.9	Fri Jun  9 18:02:40 2017
+++ src/sys/arch/vax/vsa/tc_vsbus.c	Sat May  8 09:03:30 2021
@@ -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 @@ tc_vsbus_attach(device_t parent, device_
 	/* 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. */

Reply via email to