diff options
author | Alan Cox <alan@redhat.com> | 2007-03-27 01:43:40 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 14:16:00 -0400 |
commit | 3b4ba5910b150c5db019642899d7b6ba9bec27b4 (patch) | |
tree | ea661a594a09c44d80d15037adbf1a1e58706b0d /drivers/ata/pata_netcell.c | |
parent | 3be40d7665e733c2b53bac38fcb148433718f555 (diff) |
pata_netcell: re-remove all the crud
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_netcell.c')
-rw-r--r-- | drivers/ata/pata_netcell.c | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/drivers/ata/pata_netcell.c b/drivers/ata/pata_netcell.c index 38f99b38a5ea..dbba5b77d79c 100644 --- a/drivers/ata/pata_netcell.c +++ b/drivers/ata/pata_netcell.c | |||
@@ -16,33 +16,7 @@ | |||
16 | #include <linux/ata.h> | 16 | #include <linux/ata.h> |
17 | 17 | ||
18 | #define DRV_NAME "pata_netcell" | 18 | #define DRV_NAME "pata_netcell" |
19 | #define DRV_VERSION "0.1.6" | 19 | #define DRV_VERSION "0.1.7" |
20 | |||
21 | /** | ||
22 | * netcell_probe_init - check for 40/80 pin | ||
23 | * @ap: Port | ||
24 | * | ||
25 | * Cables are handled by the RAID controller. Report 80 pin. | ||
26 | */ | ||
27 | |||
28 | static int netcell_pre_reset(struct ata_port *ap) | ||
29 | { | ||
30 | ap->cbl = ATA_CBL_PATA80; | ||
31 | return ata_std_prereset(ap); | ||
32 | } | ||
33 | |||
34 | /** | ||
35 | * netcell_probe_reset - Probe specified port on PATA host controller | ||
36 | * @ap: Port to probe | ||
37 | * | ||
38 | * LOCKING: | ||
39 | * None (inherited from caller). | ||
40 | */ | ||
41 | |||
42 | static void netcell_error_handler(struct ata_port *ap) | ||
43 | { | ||
44 | return ata_bmdma_drive_eh(ap, netcell_pre_reset, ata_std_softreset, NULL, ata_std_postreset); | ||
45 | } | ||
46 | 20 | ||
47 | /* No PIO or DMA methods needed for this device */ | 21 | /* No PIO or DMA methods needed for this device */ |
48 | 22 | ||
@@ -81,8 +55,9 @@ static const struct ata_port_operations netcell_ops = { | |||
81 | 55 | ||
82 | .freeze = ata_bmdma_freeze, | 56 | .freeze = ata_bmdma_freeze, |
83 | .thaw = ata_bmdma_thaw, | 57 | .thaw = ata_bmdma_thaw, |
84 | .error_handler = netcell_error_handler, | 58 | .error_handler = ata_bmdma_error_handler, |
85 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | 59 | .post_internal_cmd = ata_bmdma_post_internal_cmd, |
60 | .cable_detect = ata_cable_80wire, | ||
86 | 61 | ||
87 | /* BMDMA handling is PCI ATA format, use helpers */ | 62 | /* BMDMA handling is PCI ATA format, use helpers */ |
88 | .bmdma_setup = ata_bmdma_setup, | 63 | .bmdma_setup = ata_bmdma_setup, |