On Sunday 13 August 2006 15:03, Denis Vlasenko wrote: > On Sunday 13 August 2006 15:02, Denis Vlasenko wrote: > > Basically, patches deinline some functions, mainly those > > which perform port I/O. > > ahd_suspend/resume are not used. #ifdef them out. I forgot to attach the file. :( -- vda
diff -urpN -U4 linux-2.6.17.8.aic2/drivers/scsi/aic7xxx/aic79xx_core.c linux-2.6.17.8.aic3/drivers/scsi/aic7xxx/aic79xx_core.c --- linux-2.6.17.8.aic2/drivers/scsi/aic7xxx/aic79xx_core.c 2006-08-13 12:01:38.000000000 +0200 +++ linux-2.6.17.8.aic3/drivers/scsi/aic7xxx/aic79xx_core.c 2006-08-13 12:01:42.000000000 +0200 @@ -7681,8 +7681,9 @@ ahd_pause_and_flushwork(struct ahd_softc ahd->flags &= ~AHD_ALL_INTERRUPTS; } +#ifdef UNUSED int ahd_suspend(struct ahd_softc *ahd) { @@ -7704,16 +7705,17 @@ ahd_resume(struct ahd_softc *ahd) ahd_intr_enable(ahd, TRUE); ahd_restart(ahd); return (0); } +#endif /************************** Busy Target Table *********************************/ /* * Set SCBPTR to the SCB that contains the busy * table entry for TCL. Return the offset into * the SCB that contains the entry for TCL. * saved_scbid is dereferenced and set to the - * scbid that should be restored once manipualtion + * scbid that should be restored once manipulation * of the TCL entry is complete. */ static u_int ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl)