aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bhnd/bhndvar.h
diff options
context:
space:
mode:
authorLandon J. Fuller <landonf@FreeBSD.org>2016-09-24 04:08:16 +0000
committerLandon J. Fuller <landonf@FreeBSD.org>2016-09-24 04:08:16 +0000
commit8a03f98a8bbbfe45211330f7634c93321ba34813 (patch)
tree26f9c2cd3d03476686c6c460d7036eeda18fea71 /sys/dev/bhnd/bhndvar.h
parent6f87599bdfdc61c350dafa9523dc953a4cef146a (diff)
downloadsrc-8a03f98a8bbbfe45211330f7634c93321ba34813.tar.gz
src-8a03f98a8bbbfe45211330f7634c93321ba34813.zip
bhnd(4): Implement common API for IOST/IOCTL register access and core reset
- Added bhnd(4) bus APIs for per-core ioctl/iost register access. - Updated reset/suspend bhnd(4) APIs for compatibility with ioctl/iost changes. - Implemented core reset/suspend support for both bcma(4) and siba(4). - Implemented explicit release of all outstanding PMU requests at the bus level when putting a core into reset. Approved by: adrian (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D8009
Notes
Notes: svn path=/head/; revision=306287
Diffstat (limited to 'sys/dev/bhnd/bhndvar.h')
-rw-r--r--sys/dev/bhnd/bhndvar.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/dev/bhnd/bhndvar.h b/sys/dev/bhnd/bhndvar.h
index c5317a04b5b9..2602302a1861 100644
--- a/sys/dev/bhnd/bhndvar.h
+++ b/sys/dev/bhnd/bhndvar.h
@@ -45,8 +45,6 @@
MALLOC_DECLARE(M_BHND);
DECLARE_CLASS(bhnd_driver);
-struct bhnd_core_pmu_info;
-
int bhnd_generic_attach(device_t dev);
int bhnd_generic_detach(device_t dev);
int bhnd_generic_shutdown(device_t dev);
@@ -74,9 +72,6 @@ int bhnd_generic_print_child(device_t dev,
void bhnd_generic_probe_nomatch(device_t dev,
device_t child);
-device_t bhnd_generic_add_child(device_t dev, u_int order,
- const char *name, int unit);
-void bhnd_generic_child_added(device_t dev, device_t child);
void bhnd_generic_child_deleted(device_t dev,
device_t child);
int bhnd_generic_suspend_child(device_t dev,
@@ -88,15 +83,6 @@ int bhnd_generic_get_nvram_var(device_t dev,
device_t child, const char *name, void *buf,
size_t *size, bhnd_nvram_type type);
-
-/**
- * bhnd per-device info. Must be first member of all subclass
- * devinfo structures.
- */
-struct bhnd_devinfo {
- struct bhnd_core_pmu_info *pmu_info; /**< PMU info, or NULL */
-};
-
/**
* bhnd driver instance state. Must be first member of all subclass
* softc structures.