diff options
author | Alexander Motin <mav@FreeBSD.org> | 2017-09-02 11:56:16 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2017-09-02 11:56:16 +0000 |
commit | b7dd3fbedee199e37d7f8011f9e405716aa7781c (patch) | |
tree | cc9ef783f0de0795b45bc2e35d081e0fe961ae84 /sys/dev/ntb/ntb_hw/ntb_hw_intel.c | |
parent | a905e3962c8d061d3c03c622196db00db3bf7716 (diff) | |
download | src-b7dd3fbedee199e37d7f8011f9e405716aa7781c.tar.gz src-b7dd3fbedee199e37d7f8011f9e405716aa7781c.zip |
Make NTB drivers report more info via NewBus methods.
MFC after: 12 days
Notes
Notes:
svn path=/head/; revision=323126
Diffstat (limited to 'sys/dev/ntb/ntb_hw/ntb_hw_intel.c')
-rw-r--r-- | sys/dev/ntb/ntb_hw/ntb_hw_intel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ntb/ntb_hw/ntb_hw_intel.c b/sys/dev/ntb/ntb_hw/ntb_hw_intel.c index 2375fb8005e4..005af761b0f0 100644 --- a/sys/dev/ntb/ntb_hw/ntb_hw_intel.c +++ b/sys/dev/ntb/ntb_hw/ntb_hw_intel.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2016 Alexander Motin <mav@FreeBSD.org> + * Copyright (c) 2016-2017 Alexander Motin <mav@FreeBSD.org> * Copyright (C) 2013 Intel Corporation * Copyright (C) 2015 EMC Corporation * All rights reserved. @@ -3085,6 +3085,9 @@ static device_method_t ntb_intel_methods[] = { DEVMETHOD(device_probe, intel_ntb_probe), DEVMETHOD(device_attach, intel_ntb_attach), DEVMETHOD(device_detach, intel_ntb_detach), + /* Bus interface */ + DEVMETHOD(bus_child_location_str, ntb_child_location_str), + DEVMETHOD(bus_print_child, ntb_print_child), /* NTB interface */ DEVMETHOD(ntb_link_is_up, intel_ntb_link_is_up), DEVMETHOD(ntb_link_enable, intel_ntb_link_enable), |