summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-10-06 05:40:47 +0000
committersimokawa <simokawa@FreeBSD.org>2003-10-06 05:40:47 +0000
commit158d3bb0b05219affc12f1cc8921035118bd8210 (patch)
treecd5e1fa9558f17873d3f219287c393cc1bdda54c /sys/dev/firewire
parenta410c8560f89cf3ad3d3d98b534f1819706bd342 (diff)
downloadFreeBSD-src-158d3bb0b05219affc12f1cc8921035118bd8210.zip
FreeBSD-src-158d3bb0b05219affc12f1cc8921035118bd8210.tar.gz
- Implement sbp_poll() to enable kernel dump on SBP-2 device.
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/sbp.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 3bcdb0b..b857fb0 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -2382,9 +2382,17 @@ END_DEBUG
static void
sbp_poll(struct cam_sim *sim)
{
- /* should call fwohci_intr? */
+ struct sbp_softc *sbp;
+ struct firewire_comm *fc;
+
+ sbp = (struct sbp_softc *)sim->softc;
+ fc = sbp->fd.fc;
+
+ fc->poll(fc, 0, -1);
+
return;
}
+
static struct sbp_ocb *
sbp_dequeue_ocb(struct sbp_dev *sdev, struct sbp_status *sbp_status)
{
OpenPOWER on IntegriCloud