android_kernel_xiaomi_sm8350/drivers/scsi/aic7xxx
Denis Vlasenko 7b75b990e3 [SCSI] aic7xxx: fix byte I/O order in ahd_inw
Comment says "Read high byte first as some registers increment..."
but code doesn't guarantee that, I think:
	return ((ahd_inb(ahd, port+1) << 8) | ahd_inb(ahd, port));
Compiler can reorder it.

Make the order explicit.

Signed-off-by: Denis Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>

Fixed rejections and added aic7xxx code
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-10-01 15:03:38 -05:00
..
aicasm kbuild: hardcode value of YACC&LEX for aic7-triple-x 2006-08-01 11:32:46 +02:00
.gitignore
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_core.c
aic7xxx_inline.h [SCSI] aic7xxx: fix byte I/O order in ahd_inw 2006-10-01 15:03:38 -05:00
aic7xxx_osm_pci.c [SCSI] pci_module_init conversion in scsi subsystem 2006-09-26 11:35:32 -07:00
aic7xxx_osm.c [SCSI] aic7xxx: pause sequencer before touching SBLKCTL 2006-09-23 17:48:11 -05:00
aic7xxx_osm.h
aic7xxx_pci.c
aic7xxx_pci.h
aic7xxx_proc.c
aic7xxx_reg_print.c_shipped
aic7xxx_reg.h_shipped
aic7xxx_seq.h_shipped
aic7xxx.h
aic7xxx.reg
aic7xxx.seq
aic79xx_core.c [SCSI] aic79xx: make ahd_done_with_status() static 2006-07-09 09:05:37 -05:00
aic79xx_inline.h [SCSI] aic7xxx: fix byte I/O order in ahd_inw 2006-10-01 15:03:38 -05:00
aic79xx_osm_pci.c [SCSI] pci_module_init conversion in scsi subsystem 2006-09-26 11:35:32 -07:00
aic79xx_osm.c [SCSI] aic7*: cleanup MODULE_PARM_DESC strings 2006-08-19 13:41:08 -07:00
aic79xx_osm.h [PATCH] FDPIC: Move roundup() into linux/kernel.h 2006-07-10 13:24:22 -07:00
aic79xx_pci.c
aic79xx_pci.h
aic79xx_proc.c
aic79xx_reg_print.c_shipped
aic79xx_reg.h_shipped
aic79xx_seq.h_shipped
aic79xx.h
aic79xx.reg
aic79xx.seq
aic7770_osm.c
aic7770.c
aiclib.c
aiclib.h
cam.h
Kconfig.aic7xxx
Kconfig.aic79xx
Makefile
queue.h
scsi_iu.h
scsi_message.h