Module Name: src Committed By: tsutsui Date: Wed Sep 2 17:11:26 UTC 2009
Modified Files: src/sys/dev/ic: aic79xx_osm.c Log Message: Fix harmless pasto. (ahc -> ahd) To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/ic/aic79xx_osm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/aic79xx_osm.c diff -u src/sys/dev/ic/aic79xx_osm.c:1.23 src/sys/dev/ic/aic79xx_osm.c:1.24 --- src/sys/dev/ic/aic79xx_osm.c:1.23 Wed Sep 2 17:08:12 2009 +++ src/sys/dev/ic/aic79xx_osm.c Wed Sep 2 17:11:26 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: aic79xx_osm.c,v 1.23 2009/09/02 17:08:12 tsutsui Exp $ */ +/* $NetBSD: aic79xx_osm.c,v 1.24 2009/09/02 17:11:26 tsutsui Exp $ */ /* * Bus independent NetBSD shim for the aic7xxx based adaptec SCSI controllers @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aic79xx_osm.c,v 1.23 2009/09/02 17:08:12 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic79xx_osm.c,v 1.24 2009/09/02 17:11:26 tsutsui Exp $"); #include <dev/ic/aic79xx_osm.h> #include <dev/ic/aic79xx_inline.h> @@ -715,7 +715,7 @@ BUS_DMA_READ : BUS_DMA_WRITE)); if (error) { #ifdef AHD_DEBUG - printf("%s: in ahc_setup_data(): bus_dmamap_load() " + printf("%s: in ahd_setup_data(): bus_dmamap_load() " "= %d\n", ahd_name(ahd), error); #endif @@ -833,7 +833,7 @@ } void -ahd_send_async(struct ahd_softc *ahc, char channel, u_int target, u_int lun, +ahd_send_async(struct ahd_softc *ahd, char channel, u_int target, u_int lun, ac_code code, void *opt_arg) { struct ahd_tmode_tstate *tstate; @@ -846,12 +846,12 @@ if (channel != 'A') panic("ahd_send_async: not channel A"); #endif - chan = &ahc->sc_channel; + chan = &ahd->sc_channel; switch (code) { case AC_TRANSFER_NEG: - tinfo = ahd_fetch_transinfo(ahc, channel, ahc->our_id, target, + tinfo = ahd_fetch_transinfo(ahd, channel, ahd->our_id, target, &tstate); - ahd_compile_devinfo(&devinfo, ahc->our_id, target, lun, + ahd_compile_devinfo(&devinfo, ahd->our_id, target, lun, channel, ROLE_UNKNOWN); /* * Don't bother if negotiating. XXX?