commit | 01cc643ae3c7de35b63989b7b65e3ef3132e48e4 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Aug 20 22:42:56 2007 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Aug 20 22:42:56 2007 +0200 |
tree | 65f90e393855ff1a457680040df7b5d6b36e0d54 | |
parent | f7b0d2df2f6fd9abdf47b4a1965dcaa2870e35df [diff] |
pdc202xx_new: add missing ->dma_base check If ->dma_base is not set (== PCI BAR4 cannot be reserved) then DMA hooks shouldn't be initialized or bad things will happen. Also this host driver requires valid PCI BAR4 for normal operation so check it in ->init_chipset and fail initialization if not set. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>