PERFORCE change 165150 for review

Alexander Motin mav at FreeBSD.org
Thu Jun 25 11:31:45 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=165150

Change 165150 by mav at mav_mavbook on 2009/06/25 11:31:32

	Pass right argument to the intr on polling.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#36 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#36 (text+ko) ====

@@ -1826,5 +1826,7 @@
 static void
 ahcipoll(struct cam_sim *sim)
 {
-	ahci_ch_intr(cam_sim_softc(sim));
+	struct ahci_channel *ch = (struct ahci_channel *)cam_sim_softc(sim);
+
+	ahci_ch_intr(ch->dev);
 }


More information about the p4-projects mailing list