linux/drivers/scsi/sym53c8xx_2
Tony Battersby 783fa7311b [SCSI] sym53c8xx: handle pci_iomap() failures
sym_init_device() doesn't check if pci_iomap() fails.  It also tries
to map device RAM without first checking FE_RAM.

1) Move some initialization from sym_init_device() to the top of
   sym2_probe().
2) Rename sym_init_device() to sym_iomap_device().
3) Call sym_iomap_device() after sym_check_supported() instead of
   before so that device->chip.features will be set.
4) Check FE_RAM in sym_iomap_device() before mapping RAM.
5) If sym_iomap_device() cannot map registers, then abort.
6) If sym_iomap_device() cannot map RAM, then fall back to not using
   RAM and continue.
7) Remove the check for FE_RAM in sym_attach() since dev->ram_base
   is now always set correctly.

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-03-12 12:58:16 -05:00
..
Makefile
sym53c8xx.h [SCSI] sym53c8xx: Remove tag_ctrl module parameter 2007-10-23 15:11:57 -04:00
sym_defs.h [SCSI] Version 2.2.3 2006-04-13 10:13:26 -05:00
sym_fw1.h Fix misspellings of "agressive". 2007-02-17 19:20:16 +01:00
sym_fw2.h Spelling fix: explicitly 2007-10-19 23:22:55 +02:00
sym_fw.c [SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb 2007-10-23 15:26:34 -04:00
sym_fw.h [SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb 2007-10-23 15:26:34 -04:00
sym_glue.c [SCSI] sym53c8xx: handle pci_iomap() failures 2009-03-12 12:58:16 -05:00
sym_glue.h [SCSI] sym53c8xx: Remove sym_xpt_async_sent_bdr 2007-10-23 15:26:56 -04:00
sym_hipd.c [SCSI] sym53c8xx: Keep transfer negotiations valid 2009-03-12 12:57:57 -05:00
sym_hipd.h [SCSI] sym53c8xx: Keep transfer negotiations valid 2009-03-12 12:57:57 -05:00
sym_malloc.c
sym_misc.h [SCSI] sym53c8xx: Fix bogus sym_que_entry re-implementation of container_of 2008-07-12 08:22:37 -05:00
sym_nvram.c [SCSI] sym53c8xx: Remove ->device_id 2007-10-23 15:11:10 -04:00
sym_nvram.h