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
..
2008-12-29 11:24:12 -06:00
2008-10-23 11:42:16 -05:00
2009-01-02 10:22:16 -06:00
2008-12-29 11:24:11 -06:00
2009-02-21 20:29:38 -06:00
2009-03-12 12:58:12 -05:00
2009-03-10 09:10:02 -05:00
2009-03-12 12:58:12 -05:00
2009-03-12 12:58:13 -05:00
2009-01-16 10:17:09 -05:00
2009-03-12 12:58:02 -05:00
2008-12-01 11:15:55 -06:00
2009-03-12 12:58:13 -05:00
2009-01-05 12:17:42 -06:00
2009-03-10 09:28:03 -05:00
2009-01-25 07:55:13 -06:00
2009-03-12 12:58:16 -05:00
2008-10-23 11:42:18 -05:00
2008-10-23 11:42:17 -05:00
2009-01-06 11:28:08 +01:00
2009-01-02 12:16:18 -06:00
2009-01-02 10:22:16 -06:00
2008-12-29 11:24:12 -06:00
2008-12-29 11:24:12 -06:00
2008-12-29 11:24:24 -06:00
2009-03-12 12:58:02 -05:00
2008-11-15 11:10:14 -06:00
2008-12-29 11:24:12 -06:00
2008-12-29 11:24:35 -06:00
2008-12-29 11:24:14 -06:00
2008-12-29 11:24:12 -06:00
2008-11-30 10:03:36 -08:00
2009-01-02 12:16:18 -06:00
2009-01-02 10:22:16 -06:00
2009-03-12 12:58:02 -05:00
2008-12-29 11:24:12 -06:00
2008-12-29 11:24:12 -06:00
2008-12-29 11:24:12 -06:00
2008-12-29 11:24:12 -06:00
2009-03-12 12:58:15 -05:00
2009-03-12 12:57:58 -05:00
2009-03-12 12:58:02 -05:00
2008-12-29 11:24:23 -06:00
2008-12-29 11:24:22 -06:00
2009-03-12 12:58:09 -05:00
2009-01-02 10:22:16 -06:00
2009-01-13 10:41:34 -06:00
2009-02-10 11:15:19 -05:00
2008-12-29 11:24:19 -06:00
2008-12-28 20:00:03 +01:00
2009-03-12 12:58:09 -05:00
2009-01-06 11:28:08 +01:00
2008-11-05 12:40:23 -05:00
2009-01-02 12:10:04 -06:00
2008-12-29 11:24:12 -06:00
2009-01-02 10:22:16 -06:00
2008-12-29 11:24:11 -06:00
2009-03-12 12:58:10 -05:00
2009-03-12 12:58:10 -05:00
2009-01-16 16:15:15 +11:00
2009-01-06 11:28:09 +01:00
2008-12-29 11:24:12 -06:00
2009-01-02 10:22:16 -06:00
2009-03-12 12:57:55 -05:00
2009-01-13 10:45:44 -06:00
2009-03-12 12:58:10 -05:00
2009-01-02 10:22:16 -06:00
2009-03-12 12:58:10 -05:00
2008-10-23 11:42:17 -05:00
2009-03-12 12:58:05 -05:00
2009-03-12 12:57:55 -05:00
2009-03-12 12:57:57 -05:00
2009-01-02 10:22:16 -06:00
2009-01-02 10:22:16 -06:00
2008-12-29 11:24:32 -06:00
2009-01-02 10:22:16 -06:00
2009-03-12 12:57:54 -05:00
2009-01-05 09:06:23 -06:00
2009-03-12 12:58:15 -05:00
2009-03-12 12:58:14 -05:00
2009-03-12 12:58:14 -05:00
2009-01-02 10:58:41 -06:00
2009-01-02 10:22:16 -06:00
2009-01-02 10:22:16 -06:00
2008-12-29 11:24:24 -06:00
2008-10-20 08:52:41 -07:00
2008-12-29 11:24:24 -06:00
2009-03-12 12:58:02 -05:00
2009-01-02 12:02:25 -06:00
2009-03-12 12:58:04 -05:00
2008-10-23 11:42:19 -05:00
2008-12-29 11:24:12 -06:00
2008-12-29 11:24:14 -06:00
2008-12-29 11:24:14 -06:00
2008-12-29 11:24:12 -06:00
2009-01-02 10:22:16 -06:00