Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/nvme/nvme_xpt.c
Show First 20 Lines • Show All 756 Lines • ▼ Show 20 Lines | nvme_action(union ccb *start_ccb) | ||||
} | } | ||||
} | } | ||||
/* | /* | ||||
* Handle any per-device event notifications that require action by the XPT. | * Handle any per-device event notifications that require action by the XPT. | ||||
*/ | */ | ||||
static void | static void | ||||
nvme_dev_async(u_int32_t async_code, struct cam_eb *bus, struct cam_et *target, | nvme_dev_async(u_int32_t async_code, struct cam_eb *bus, struct cam_et *target, | ||||
struct cam_ed *device, void *async_arg) | struct cam_ed *device, void *async_arg) | ||||
imp: Oh, this is wrong, or at least not relevant for this patch.
| |||||
{ | { | ||||
/* | /* | ||||
* We only need to handle events for real devices. | * We only need to handle events for real devices. | ||||
*/ | */ | ||||
if (target->target_id == CAM_TARGET_WILDCARD | if (target->target_id == CAM_TARGET_WILDCARD | ||||
|| device->lun_id == CAM_LUN_WILDCARD) | || device->lun_id == CAM_LUN_WILDCARD) | ||||
return; | return; | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |
Oh, this is wrong, or at least not relevant for this patch.