Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ntb/ntb.h
Show All 30 Lines | |||||
#include "ntb_if.h" | #include "ntb_if.h" | ||||
extern devclass_t ntb_hw_devclass; | extern devclass_t ntb_hw_devclass; | ||||
SYSCTL_DECL(_hw_ntb); | SYSCTL_DECL(_hw_ntb); | ||||
int ntb_register_device(device_t ntb); | int ntb_register_device(device_t ntb); | ||||
int ntb_unregister_device(device_t ntb); | int ntb_unregister_device(device_t ntb); | ||||
int ntb_child_location_str(device_t dev, device_t child, char *buf, | int ntb_child_location(device_t dev, device_t child, struct sbuf *sb); | ||||
size_t buflen); | |||||
int ntb_print_child(device_t dev, device_t child); | int ntb_print_child(device_t dev, device_t child); | ||||
bus_dma_tag_t ntb_get_dma_tag(device_t bus, device_t child); | bus_dma_tag_t ntb_get_dma_tag(device_t bus, device_t child); | ||||
/* | /* | ||||
* ntb_link_event() - notify driver context of a change in link status | * ntb_link_event() - notify driver context of a change in link status | ||||
* @ntb: NTB device context | * @ntb: NTB device context | ||||
* | * | ||||
* Notify the driver context that the link status may have changed. The driver | * Notify the driver context that the link status may have changed. The driver | ||||
▲ Show 20 Lines • Show All 410 Lines • Show Last 20 Lines |