Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci tco(4): Rename lpcib_tco_attach_args -> tco...
details: https://anonhg.NetBSD.org/src/rev/71bea5f38da5
branches: trunk
changeset: 370642:71bea5f38da5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Sep 22 14:41:49 2022 +0000
description:
tco(4): Rename lpcib_tco_attach_args -> tco_attach_args.
No longer hangs off LPC bus, newer devices hang it off SMBus.
diffstat:
sys/arch/x86/pci/ichlpcib.c | 6 +++---
sys/arch/x86/pci/tco.c | 8 ++++----
sys/arch/x86/pci/tco.h | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 7804bb8d6a52 -r 71bea5f38da5 sys/arch/x86/pci/ichlpcib.c
--- a/sys/arch/x86/pci/ichlpcib.c Thu Sep 22 14:41:26 2022 +0000
+++ b/sys/arch/x86/pci/ichlpcib.c Thu Sep 22 14:41:49 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ichlpcib.c,v 1.55 2022/09/22 14:41:26 riastradh Exp $ */
+/* $NetBSD: ichlpcib.c,v 1.56 2022/09/22 14:41:49 riastradh Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ichlpcib.c,v 1.55 2022/09/22 14:41:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ichlpcib.c,v 1.56 2022/09/22 14:41:49 riastradh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -633,7 +633,7 @@
tcotimer_configure(device_t self)
{
struct lpcib_softc *sc = device_private(self);
- struct lpcib_tco_attach_args arg;
+ struct tco_attach_args arg;
if (sc->sc_has_rcba)
arg.ta_version = TCO_VERSION_RCBA;
diff -r 7804bb8d6a52 -r 71bea5f38da5 sys/arch/x86/pci/tco.c
--- a/sys/arch/x86/pci/tco.c Thu Sep 22 14:41:26 2022 +0000
+++ b/sys/arch/x86/pci/tco.c Thu Sep 22 14:41:49 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tco.c,v 1.4 2022/09/22 14:41:26 riastradh Exp $ */
+/* $NetBSD: tco.c,v 1.5 2022/09/22 14:41:49 riastradh Exp $ */
/*-
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tco.c,v 1.4 2022/09/22 14:41:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tco.c,v 1.5 2022/09/22 14:41:49 riastradh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -88,7 +88,7 @@
static int
tco_match(device_t parent, cfdata_t match, void *aux)
{
- struct lpcib_tco_attach_args *ta = aux;
+ struct tco_attach_args *ta = aux;
if (ta->ta_iot == 0)
return 0;
@@ -108,7 +108,7 @@
tco_attach(device_t parent, device_t self, void *aux)
{
struct tco_softc *sc = device_private(self);
- struct lpcib_tco_attach_args *ta = aux;
+ struct tco_attach_args *ta = aux;
uint32_t ioreg;
/* Retrieve bus info shared with parent/siblings */
diff -r 7804bb8d6a52 -r 71bea5f38da5 sys/arch/x86/pci/tco.h
--- a/sys/arch/x86/pci/tco.h Thu Sep 22 14:41:26 2022 +0000
+++ b/sys/arch/x86/pci/tco.h Thu Sep 22 14:41:49 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tco.h,v 1.2 2022/09/22 14:41:26 riastradh Exp $ */
+/* $NetBSD: tco.h,v 1.3 2022/09/22 14:41:49 riastradh Exp $ */
/*-
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#ifndef _X86_PCI_TCO_H_
#define _X86_PCI_TCO_H_
-struct lpcib_tco_attach_args {
+struct tco_attach_args {
enum {
TCO_VERSION_PCIB = 0,
TCO_VERSION_RCBA = 1,
Home |
Main Index |
Thread Index |
Old Index