Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/marvell sys: Omit vestigial struct devices in softcs...
details: https://anonhg.NetBSD.org/src/rev/40e67b2ca44d
branches: trunk
changeset: 361157:40e67b2ca44d
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Feb 12 17:09:43 2022 +0000
description:
sys: Omit vestigial struct devices in softcs after device_t split.
diffstat:
sys/arch/arm/omap/omapl1x_timer.c | 3 +--
sys/arch/arm/omap/omapl1x_tipb.c | 3 +--
sys/arch/vax/uba/qvkbd.c | 4 +---
sys/arch/vax/vsa/lcg.c | 5 ++---
sys/dev/marvell/mvspi.c | 1 -
5 files changed, 5 insertions(+), 11 deletions(-)
diffs (95 lines):
diff -r c3daaf717db0 -r 40e67b2ca44d sys/arch/arm/omap/omapl1x_timer.c
--- a/sys/arch/arm/omap/omapl1x_timer.c Sat Feb 12 17:09:07 2022 +0000
+++ b/sys/arch/arm/omap/omapl1x_timer.c Sat Feb 12 17:09:43 2022 +0000
@@ -25,7 +25,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omapl1x_timer.c,v 1.3 2022/02/12 03:24:34 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omapl1x_timer.c,v 1.4 2022/02/12 17:09:43 riastradh Exp $");
#include "opt_timer.h"
@@ -61,7 +61,6 @@
} timer_factors_t;
typedef struct omapl1xtmr_softc {
- struct device sc_dev;
uint sc_timerno;
uint sc_timer_freq;
bus_space_tag_t sc_iot;
diff -r c3daaf717db0 -r 40e67b2ca44d sys/arch/arm/omap/omapl1x_tipb.c
--- a/sys/arch/arm/omap/omapl1x_tipb.c Sat Feb 12 17:09:07 2022 +0000
+++ b/sys/arch/arm/omap/omapl1x_tipb.c Sat Feb 12 17:09:43 2022 +0000
@@ -97,7 +97,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omapl1x_tipb.c,v 1.3 2021/08/07 16:18:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omapl1x_tipb.c,v 1.4 2022/02/12 17:09:43 riastradh Exp $");
#include "locators.h"
@@ -121,7 +121,6 @@
#include <arm/omap/omap_var.h>
struct tipb_softc {
- struct device sc_dev;
bus_dma_tag_t sc_dmac;
};
diff -r c3daaf717db0 -r 40e67b2ca44d sys/arch/vax/uba/qvkbd.c
--- a/sys/arch/vax/uba/qvkbd.c Sat Feb 12 17:09:07 2022 +0000
+++ b/sys/arch/vax/uba/qvkbd.c Sat Feb 12 17:09:43 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: qvkbd.c,v 1.5 2021/08/07 16:19:07 thorpej Exp $ */
+/* $NetBSD: qvkbd.c,v 1.6 2022/02/12 17:09:43 riastradh Exp $ */
/* Copyright (c) 2015 Charles H. Dickman. All rights reserved.
* Derived from dzkbd.c
@@ -81,8 +81,6 @@
struct qvkbd_internal qvkbd_console_internal;
struct qvkbd_softc {
- struct device qvkbd_dev; /* required first: base device */
-
struct qvkbd_internal *sc_itl;
int sc_enabled;
diff -r c3daaf717db0 -r 40e67b2ca44d sys/arch/vax/vsa/lcg.c
--- a/sys/arch/vax/vsa/lcg.c Sat Feb 12 17:09:07 2022 +0000
+++ b/sys/arch/vax/vsa/lcg.c Sat Feb 12 17:09:43 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lcg.c,v 1.8 2022/02/12 03:24:35 riastradh Exp $ */
+/* $NetBSD: lcg.c,v 1.9 2022/02/12 17:09:43 riastradh Exp $ */
/*
* LCG accelerated framebuffer driver
* Copyright (c) 2003, 2004 Blaz Antonic
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lcg.c,v 1.8 2022/02/12 03:24:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lcg.c,v 1.9 2022/02/12 17:09:43 riastradh Exp $");
#define LCG_NO_ACCEL
@@ -105,7 +105,6 @@
static void lcg_attach(struct device *, struct device *, void *);
struct lcg_softc {
- struct device ss_dev;
bus_dmamap_t sc_dm;
};
diff -r c3daaf717db0 -r 40e67b2ca44d sys/dev/marvell/mvspi.c
--- a/sys/dev/marvell/mvspi.c Sat Feb 12 17:09:07 2022 +0000
+++ b/sys/dev/marvell/mvspi.c Sat Feb 12 17:09:43 2022 +0000
@@ -53,7 +53,6 @@
extern uint32_t mvTclk;
struct mvspi_softc {
- struct device sc_dev;
struct spi_controller sc_spi;
void *sc_ih;
bool sc_interrupts;
Home |
Main Index |
Thread Index |
Old Index