diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_core.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_core.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c b/drivers/scsi/aic7xxx/aic79xx_core.c index 3233bf564435..5f8617dd43bb 100644 --- a/drivers/scsi/aic7xxx/aic79xx_core.c +++ b/drivers/scsi/aic7xxx/aic79xx_core.c | |||
@@ -562,7 +562,7 @@ ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index) | |||
562 | } | 562 | } |
563 | #endif | 563 | #endif |
564 | 564 | ||
565 | /*********************** Miscelaneous Support Functions ***********************/ | 565 | /*********************** Miscellaneous Support Functions ***********************/ |
566 | /* | 566 | /* |
567 | * Return pointers to the transfer negotiation information | 567 | * Return pointers to the transfer negotiation information |
568 | * for the specified our_id/remote_id pair. | 568 | * for the specified our_id/remote_id pair. |
@@ -599,7 +599,7 @@ void | |||
599 | ahd_outw(struct ahd_softc *ahd, u_int port, u_int value) | 599 | ahd_outw(struct ahd_softc *ahd, u_int port, u_int value) |
600 | { | 600 | { |
601 | /* | 601 | /* |
602 | * Write low byte first to accomodate registers | 602 | * Write low byte first to accommodate registers |
603 | * such as PRGMCNT where the order maters. | 603 | * such as PRGMCNT where the order maters. |
604 | */ | 604 | */ |
605 | ahd_outb(ahd, port, value & 0xFF); | 605 | ahd_outb(ahd, port, value & 0xFF); |
@@ -2067,7 +2067,7 @@ ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) | |||
2067 | * that requires host assistance for completion. | 2067 | * that requires host assistance for completion. |
2068 | * While handling the message phase(s), we will be | 2068 | * While handling the message phase(s), we will be |
2069 | * notified by the sequencer after each byte is | 2069 | * notified by the sequencer after each byte is |
2070 | * transfered so we can track bus phase changes. | 2070 | * transferred so we can track bus phase changes. |
2071 | * | 2071 | * |
2072 | * If this is the first time we've seen a HOST_MSG_LOOP | 2072 | * If this is the first time we've seen a HOST_MSG_LOOP |
2073 | * interrupt, initialize the state of the host message | 2073 | * interrupt, initialize the state of the host message |
@@ -2487,7 +2487,7 @@ ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat) | |||
2487 | /* | 2487 | /* |
2488 | * Although the driver does not care about the | 2488 | * Although the driver does not care about the |
2489 | * 'Selection in Progress' status bit, the busy | 2489 | * 'Selection in Progress' status bit, the busy |
2490 | * LED does. SELINGO is only cleared by a successfull | 2490 | * LED does. SELINGO is only cleared by a successful |
2491 | * selection, so we must manually clear it to insure | 2491 | * selection, so we must manually clear it to insure |
2492 | * the LED turns off just incase no future successful | 2492 | * the LED turns off just incase no future successful |
2493 | * selections occur (e.g. no devices on the bus). | 2493 | * selections occur (e.g. no devices on the bus). |
@@ -3548,7 +3548,7 @@ ahd_clear_critical_section(struct ahd_softc *ahd) | |||
3548 | ahd_outb(ahd, SEQCTL0, ahd_inb(ahd, SEQCTL0) & ~STEP); | 3548 | ahd_outb(ahd, SEQCTL0, ahd_inb(ahd, SEQCTL0) & ~STEP); |
3549 | ahd_outb(ahd, SIMODE1, simode1); | 3549 | ahd_outb(ahd, SIMODE1, simode1); |
3550 | /* | 3550 | /* |
3551 | * SCSIINT seems to glitch occassionally when | 3551 | * SCSIINT seems to glitch occasionally when |
3552 | * the interrupt masks are restored. Clear SCSIINT | 3552 | * the interrupt masks are restored. Clear SCSIINT |
3553 | * one more time so that only persistent errors | 3553 | * one more time so that only persistent errors |
3554 | * are seen as a real interrupt. | 3554 | * are seen as a real interrupt. |
@@ -3838,7 +3838,7 @@ ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, | |||
3838 | 3838 | ||
3839 | /* | 3839 | /* |
3840 | * Update the bitmask of targets for which the controller should | 3840 | * Update the bitmask of targets for which the controller should |
3841 | * negotiate with at the next convenient oportunity. This currently | 3841 | * negotiate with at the next convenient opportunity. This currently |
3842 | * means the next time we send the initial identify messages for | 3842 | * means the next time we send the initial identify messages for |
3843 | * a new transaction. | 3843 | * a new transaction. |
3844 | */ | 3844 | */ |
@@ -4200,7 +4200,7 @@ ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, | |||
4200 | 4200 | ||
4201 | /* | 4201 | /* |
4202 | * During packetized transfers, the target will | 4202 | * During packetized transfers, the target will |
4203 | * give us the oportunity to send command packets | 4203 | * give us the opportunity to send command packets |
4204 | * without us asserting attention. | 4204 | * without us asserting attention. |
4205 | */ | 4205 | */ |
4206 | if ((tinfo->ppr_options & MSG_EXT_PPR_IU_REQ) == 0) | 4206 | if ((tinfo->ppr_options & MSG_EXT_PPR_IU_REQ) == 0) |
@@ -5651,7 +5651,7 @@ ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) | |||
5651 | 5651 | ||
5652 | /* | 5652 | /* |
5653 | * Requeue all tagged commands for this target | 5653 | * Requeue all tagged commands for this target |
5654 | * currently in our posession so they can be | 5654 | * currently in our possession so they can be |
5655 | * converted to untagged commands. | 5655 | * converted to untagged commands. |
5656 | */ | 5656 | */ |
5657 | ahd_search_qinfifo(ahd, SCB_GET_TARGET(ahd, scb), | 5657 | ahd_search_qinfifo(ahd, SCB_GET_TARGET(ahd, scb), |
@@ -6245,7 +6245,7 @@ ahd_shutdown(void *arg) | |||
6245 | /* | 6245 | /* |
6246 | * Reset the controller and record some information about it | 6246 | * Reset the controller and record some information about it |
6247 | * that is only available just after a reset. If "reinit" is | 6247 | * that is only available just after a reset. If "reinit" is |
6248 | * non-zero, this reset occured after initial configuration | 6248 | * non-zero, this reset occurred after initial configuration |
6249 | * and the caller requests that the chip be fully reinitialized | 6249 | * and the caller requests that the chip be fully reinitialized |
6250 | * to a runable state. Chip interrupts are *not* enabled after | 6250 | * to a runable state. Chip interrupts are *not* enabled after |
6251 | * a reinitialization. The caller must enable interrupts via | 6251 | * a reinitialization. The caller must enable interrupts via |
@@ -6495,7 +6495,7 @@ ahd_init_scbdata(struct ahd_softc *ahd) | |||
6495 | } | 6495 | } |
6496 | 6496 | ||
6497 | /* | 6497 | /* |
6498 | * Note that we were successfull | 6498 | * Note that we were successful |
6499 | */ | 6499 | */ |
6500 | return (0); | 6500 | return (0); |
6501 | 6501 | ||
@@ -7079,7 +7079,7 @@ ahd_init(struct ahd_softc *ahd) | |||
7079 | return (ENOMEM); | 7079 | return (ENOMEM); |
7080 | 7080 | ||
7081 | /* | 7081 | /* |
7082 | * Verify that the compiler hasn't over-agressively | 7082 | * Verify that the compiler hasn't over-aggressively |
7083 | * padded important structures. | 7083 | * padded important structures. |
7084 | */ | 7084 | */ |
7085 | if (sizeof(struct hardware_scb) != 64) | 7085 | if (sizeof(struct hardware_scb) != 64) |
@@ -10087,7 +10087,7 @@ ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, | |||
10087 | return (error); | 10087 | return (error); |
10088 | 10088 | ||
10089 | /* | 10089 | /* |
10090 | * Write the data. If we don't get throught the loop at | 10090 | * Write the data. If we don't get through the loop at |
10091 | * least once, the arguments were invalid. | 10091 | * least once, the arguments were invalid. |
10092 | */ | 10092 | */ |
10093 | retval = EINVAL; | 10093 | retval = EINVAL; |