Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170768657
D30394.id89635.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30394.id89635.diff
View Options
Index: sys/cam/cam_xpt.c
===================================================================
--- sys/cam/cam_xpt.c
+++ sys/cam/cam_xpt.c
@@ -3271,28 +3271,6 @@
}
}
-void
-xpt_polled_action(union ccb *start_ccb)
-{
- uint32_t timeout;
- struct cam_ed *dev;
-
- timeout = start_ccb->ccb_h.timeout * 10;
- dev = start_ccb->ccb_h.path->device;
-
- mtx_unlock(&dev->device_mtx);
-
- timeout = xpt_poll_setup(start_ccb);
- if (timeout > 0) {
- xpt_action(start_ccb);
- xpt_pollwait(start_ccb, timeout);
- } else {
- start_ccb->ccb_h.status = CAM_RESRC_UNAVAIL;
- }
-
- mtx_lock(&dev->device_mtx);
-}
-
/*
* Schedule a peripheral driver to receive a ccb when its
* target device has space for more transactions.
Index: sys/cam/cam_xpt_periph.h
===================================================================
--- sys/cam/cam_xpt_periph.h
+++ sys/cam/cam_xpt_periph.h
@@ -40,7 +40,6 @@
/* Functions accessed by the peripheral drivers */
#ifdef _KERNEL
-void xpt_polled_action(union ccb *ccb);
void xpt_release_ccb(union ccb *released_ccb);
void xpt_schedule(struct cam_periph *perph, u_int32_t new_priority);
int32_t xpt_add_periph(struct cam_periph *periph);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 7, 12:53 PM (1 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38436521
Default Alt Text
D30394.id89635.diff (1 KB)
Attached To
Mode
D30394: cam: remove xpt_polled_action
Attached
Detach File
Event Timeline
Log In to Comment