Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Backout previous, no need for these accessor in ...
details: https://anonhg.NetBSD.org/src/rev/52d27309055b
branches: trunk
changeset: 352332:52d27309055b
user: martin <martin%NetBSD.org@localhost>
date: Sun Mar 26 12:36:43 2017 +0000
description:
Backout previous, no need for these accessor in MD code
diffstat:
sys/dev/pci/virtio.c | 11 ++---------
sys/dev/pci/virtiovar.h | 3 +--
2 files changed, 3 insertions(+), 11 deletions(-)
diffs (48 lines):
diff -r 316b0c072a06 -r 52d27309055b sys/dev/pci/virtio.c
--- a/sys/dev/pci/virtio.c Sun Mar 26 10:36:46 2017 +0000
+++ b/sys/dev/pci/virtio.c Sun Mar 26 12:36:43 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: virtio.c,v 1.23 2017/03/26 10:36:10 martin Exp $ */
+/* $NetBSD: virtio.c,v 1.24 2017/03/26 12:36:43 martin Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.23 2017/03/26 10:36:10 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.24 2017/03/26 12:36:43 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1467,13 +1467,6 @@
return sc->sc_features;
}
-struct pci_attach_args *
-virtio_pci_attach_args(struct virtio_softc *sc)
-{
- return &sc->sc_pa;
-}
-
-
MODULE(MODULE_CLASS_DRIVER, virtio, "pci");
#ifdef _MODULE
diff -r 316b0c072a06 -r 52d27309055b sys/dev/pci/virtiovar.h
--- a/sys/dev/pci/virtiovar.h Sun Mar 26 10:36:46 2017 +0000
+++ b/sys/dev/pci/virtiovar.h Sun Mar 26 12:36:43 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: virtiovar.h,v 1.8 2017/03/26 10:36:10 martin Exp $ */
+/* $NetBSD: virtiovar.h,v 1.9 2017/03/26 12:36:43 martin Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -213,6 +213,5 @@
device_t virtio_child(struct virtio_softc *);
int virtio_intrhand(struct virtio_softc *);
uint32_t virtio_features(struct virtio_softc *);
-struct pci_attach_args *virtio_pci_attach_args(struct virtio_softc *);
#endif /* _DEV_PCI_VIRTIOVAR_H_ */
Home |
Main Index |
Thread Index |
Old Index