diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-02-02 15:58:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-02-02 15:58:57 -0500 |
commit | 9135f1901ee6449dfe338adf6e40e9c2025b8150 (patch) | |
tree | 05e1ab38563a93cf0df8c05d21062b85b14f8491 /drivers/ide/pci/via82cxxx.c | |
parent | 124d3b7041f9a0ca7c43a6293e1cae4576c32fd5 (diff) | |
parent | d59823fa44f7d9babf586b3c705db314aa0f9822 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6: (95 commits)
ide-tape: remove idetape_config_t typedef
ide-tape: remove mtio.h related comments
ide-tape: make function name more accurate
ide-tape: remove unused sense packet commands.
ide-tape: use generic byteorder macros
ide-tape: remove EXPERIMENTAL driver status
ide-tape: use generic scsi commands
ide-tape: remove struct idetape_block_size_page_t
ide-tape: remove structs os_partition_t, os_dat_entry_t, os_dat_t
ide-tape: remove struct idetape_parameter_block_descriptor_t
ide-tape: remove struct idetape_medium_partition_page_t
ide-tape: remove struct idetape_data_compression_page_t
ide-tape: remove struct idetape_inquiry_result_t
ide-tape: remove struct idetape_capabilities_page_t
ide-tape: remove IDETAPE_DEBUG_BUGS
ide-tape: remove IDETAPE_DEBUG_INFO
ide-tape: dump gcw fields on error in idetape_identify_device()
ide-tape: remove struct idetape_mode_parameter_header_t
ide-tape: remove struct idetape_request_sense_result_t
ide-tape: remove dead code
...
Diffstat (limited to 'drivers/ide/pci/via82cxxx.c')
-rw-r--r-- | drivers/ide/pci/via82cxxx.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index 24cb9047fb41..f3f79f805813 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
@@ -26,15 +26,11 @@ | |||
26 | 26 | ||
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
29 | #include <linux/ioport.h> | ||
30 | #include <linux/blkdev.h> | ||
31 | #include <linux/pci.h> | 29 | #include <linux/pci.h> |
32 | #include <linux/init.h> | 30 | #include <linux/init.h> |
33 | #include <linux/ide.h> | 31 | #include <linux/ide.h> |
34 | #include <linux/dmi.h> | 32 | #include <linux/dmi.h> |
35 | 33 | ||
36 | #include <asm/io.h> | ||
37 | |||
38 | #ifdef CONFIG_PPC_CHRP | 34 | #ifdef CONFIG_PPC_CHRP |
39 | #include <asm/processor.h> | 35 | #include <asm/processor.h> |
40 | #endif | 36 | #endif |
@@ -424,11 +420,7 @@ static void __devinit init_hwif_via82cxxx(ide_hwif_t *hwif) | |||
424 | hwif->set_pio_mode = &via_set_pio_mode; | 420 | hwif->set_pio_mode = &via_set_pio_mode; |
425 | hwif->set_dma_mode = &via_set_drive; | 421 | hwif->set_dma_mode = &via_set_drive; |
426 | 422 | ||
427 | if (!hwif->dma_base) | 423 | hwif->cable_detect = via82cxxx_cable_detect; |
428 | return; | ||
429 | |||
430 | if (hwif->cbl != ATA_CBL_PATA40_SHORT) | ||
431 | hwif->cbl = via82cxxx_cable_detect(hwif); | ||
432 | } | 424 | } |
433 | 425 | ||
434 | static const struct ide_port_info via82cxxx_chipset __devinitdata = { | 426 | static const struct ide_port_info via82cxxx_chipset __devinitdata = { |